Skip to content
← Blog
Nov 23, 20265 min

A 22 GB model on a 4 GB card: Qwen3.6-35B in dlm 0.5.0

Qwen3.6-35B-A3B in Q4_K_M is a 22 GB file. The test machine has a GTX 1650 with 4 GB of VRAM and 16 GB of system RAM, so the model fits in neither. With dlm 0.5.0 it runs there anyway: it reasons in <think>, answers “The capital of France is Paris.”, and decodes at 2.5–2.9 tokens a second.

That isn’t fast. It is a 35B model answering correctly on a card that costs less than its download takes in disk space. Here is what made it work.

Why a MoE model, not a dense one

A dense model reads every weight for every token, so streaming one that is five times the card means moving most of it over PCIe each step. A Mixture-of-Experts model doesn’t. Qwen3.6-35B-A3B has 35B parameters but activates about 3B per token: each layer’s router picks a few experts, and the rest sit idle. dlm keeps the parts every token touches (attention, routers, the shared expert) close to the GPU and fetches only the experts a token picks.

That idea already worked in 0.4. What it lacked was the plumbing to make expert misses cheap.

Making expert misses cheap

Reading the disk directly

With 22 GB of experts and 16 GB of RAM, most misses still go to the SSD, so how dlm reads the file matters. It used to copy weights out of a memory map, which faults pages in one at a time. In 0.5.0 a layer or expert arrives in one positioned, unbuffered read (O_DIRECT on Linux, FILE_FLAG_NO_BUFFERING on Windows). Random expert slices of this file came in at 1,344 MB/s that way, against 461 MB/s from the map.

Letting the model draft for itself

Qwen3.6 ships a multi-token-prediction head, a small extra layer trained to guess the next token. With --speculative mtp it proposes tokens and the full model checks them in one pass, so an accepted guess costs no extra trip through the experts. The hard part was rollback: three of every four layers are linear attention, whose recurrent state can’t be cut back past a rejected token. dlm checkpoints that state (about 60 MB) before each round and replays the accepted tokens when a guess misses. Greedy output stays exactly what plain decoding gives.

The numbers

Qwen3.6-35B-A3B Q4_K_M, GTX 1650Decode tok/s
Plain decoding1.51–1.62
--speculative mtp, gamma 1 (74% accepted)2.09–2.56
--speculative mtp, gamma 2 (57% accepted)2.23–2.51

Ranges are back-to-back rounds on one machine; the SSD slowed across rounds, which is why they are wide. Scores match the CPU’s within 0.09 nats a token.

Only a GTX 1650 has run this. Linear-attention models keep a recurrent state, so the prefix cache stays off for them, and the model’s XML tool calls are refused for now. Vision input is not supported for Qwen3.6.

Try it

$dlm search qwen3.6-35b --gguf
$dlm serve --model-path models/Qwen_Qwen3.6-35B-A3B-Q4_K_M.gguf --speculative mtp

The model support page lists what loads, and the changelog has every other 0.5.0 change. See Model support and the Changelog.