Video summary

Qwen4 on 8GB GPU? INSANE Results | PolyStrata

Main summary

Key takeaways

Technology

Summary

The video tests whether Qwen4-35B-A3B can run usefully on an 8GB RTX 5060, using the community engine PolyStrata rather than llama.cpp.

The presenter attributes the model’s ability to fit to its mixture-of-experts design: although it has 35 billion parameters, roughly 3 billion are active per token, while other experts remain in system RAM. The video also highlights Qwen4’s Engram lookup table and attention design as features that help limit GPU memory use, especially with long prompts.

Setup and Performance

PolyStrata’s setup script checks the GPU, RAM, and CPU, presents model-size options, then downloads and launches the selected model. The presenter says it supports Qwen4’s Engram table, draft head, and tool calling.

With the 3-bit model, which reportedly needs about 24GB of system RAM, the RTX 5060 achieved:

  • About 93 tokens per second on a short prompt.
  • About 85 tokens per second while generating after a 32,000-token prompt. Prompt processing was reported at over 1,400 tokens per second.
  • Around 86 tokens per second in PolyStrata’s ordinary-chat benchmark.
  • In a six-turn agent benchmark, cached conversation text reduced rereading. Later turns began responding in about three seconds and generated at roughly 93 tokens per second.

The presenter compares the short-prompt result with about 70 tokens per second on an RTX 3090 from a previous video, but notes that this is not a direct comparison because the engine, quantization, and draft-head settings differed.

Practical Tests

  1. Multi-file bug hunt: Qwen4 identified four bugs across three files, returned fixes, and passed all eight hidden tests. The 3-bit run took about 20 seconds.
  2. Long-document analysis: It processed a warehouse log of more than 45,000 tokens and correctly calculated 1,645 units, accounting for a price-change date, similar product codes, out-of-order timestamps, and returned shipments.
  3. Game generation: From one prompt, it produced a single-file HTML game with no libraries or images. The presenter tested its playable controls, asteroid splitting, scoring, waves, game-over screen, and restart behavior.

RAM Guidance and Model Choices

The video stresses that system RAM is a major factor in speed, not just GPU VRAM. With only 16GB of RAM, the 3-bit model ran at about 16 tokens per second because the system had to fetch model data from the SSD. Switching to the 2-bit IQ2_XS model, intended for a 16GB PC, raised generation speed to about 56–74 tokens per second. It also passed the bug hunt’s hidden tests and returned the correct warehouse-log answer.

The presenter recommends the following for an 8GB GPU:

  • 32GB RAM or more: Use the 3-bit Q3_K_XL model for stronger quality.
  • 16GB RAM: Use the 2-bit IQ2_XS model rather than trying to run the larger file.
  • Disable vision if it is not needed, choose a context size appropriate to the task, close memory-heavy applications, and keep the model on a fast NVMe SSD.

Source

The tests were conducted on an RTX 5060 with PolyStrata and reported by a single presenter from the NetworkCoder channel.

Rate this summary

Your feedback will help improve summaries.

Improve this summary

Reprocess with a stronger model when the summary feels incomplete or inaccurate.

Pro

Translate summary in another language

Pro

Ask questions to this video

Chat for follow-up questions, clarifications, and source-backed answers.

Coming soon

Share this summary

Original video