Measured where we can. Projected where we can’t.
The head-to-head against vLLM was measured on real hardware with dlm bench. The resident-layer figures come straight from the engine's budget math — reproduce them with dlm profile. The matrix's tok/s bands are projections from a throughput model, stated with their conditions — estimates, not measurements.
The numbers, and exactly when they hold.
Three measured figures, including a 22 GB model on a 4 GB card — each carries its hardware and settings inline, spin-free.
total decode at batch 16, Qwen2.5-0.5B bf16 · 4 GB GTX 1650 — 1.4–1.6× vLLM fp32 (269–318) on the same card, measured back to back
Qwen2.5-1.5B at --quant int4, all 28 layers resident (79–87 tok/s), vs bf16 streamed (21–27 tok/s, 27/28 resident) on the same 4 GB card — quantizing beats streaming
decode of Qwen3.6-35B-A3B, a 22 GB Q4_K_M GGUF, on the same 4 GB card with 16 GB of RAM — experts streamed from NVMe, answers matching the CPU's
Same card, same model, back to back.
Qwen2.5-0.5B-Instruct on a 4 GB GTX 1650: prompt 256 tokens, 128 generated, context 1024, greedy. dlm at commit 68bced0 against vLLM 0.33.0 in WSL2, measured 2026-11-11. Median of 3 runs; dlm's ranges span two clean runs.
| tok/s | dlm bf16 | vLLM fp16 | vLLM fp32 |
|---|---|---|---|
| Decode · batch 1 | 100–105 | 108 | 58–61 |
| Decode · batch 4 | 296–319 | 26 | 189–228 |
| Decode · batch 8 | 363–378 | 44–47 | 297–316 |
| Decode · batch 16 | 443–445 | 78–88 | 269–318 |
| Prefill | ~1,530–1,615 | ~450–540 | ~1,570–1,765 |
At batch 4–16, decode tok/s is the total over all sequences. Bold marks the best of each row.
- Batched decode leads: 1.4–1.6× vLLM fp32 at batch 4 and 16, +20–27% at batch 8. A day earlier, dlm stopped gaining after batch 4 at ~175 tok/s.
- Batch 1 is within 3–8% of vLLM fp16. With n-gram speculation (on by default on the GPU), repetitive text decodes at up to ~317 tok/s; the table is plain decoding.
- Prefill trails vLLM fp32 by 5–10% at 256 tokens; dlm's tiled attention gains more on long prompts.
- vLLM fp16 is held back on this card by cuBLAS, not by vLLM: an fp16 matmul with 2+ rows runs 10–25× slower than with one. Compare batched decode and prefill against fp32.
- dlm's int4 and GGUF paths weren't compared (vLLM has no Marlin kernels on Turing). They decode faster still: Q4_K_M reaches ~660 tok/s at batch 16.
Reproduce the dlm side (the vLLM side is bench/vllm_bench.py in the repo):
dlm bench --model-path models/Qwen2.5-0.5B-Instruct --context-length 1024 --prompt-len 256 --gen-len 128 --batch 1,4,8,16 --max-batch 16 --runs 3Models far bigger than the card, before and after.
Each row is a before/after pair measured back to back on the same 4 GB GTX 1650 with 16 GB of RAM, copied from the engine's CHANGELOG. The model doesn't fit in VRAM, so weights stream from RAM or NVMe every token.
| Change | Workload | Before tok/s | After tok/s |
|---|---|---|---|
| Streamed MoE, experts cached in RAM | TinyMixtral 4x248M int4 · batch 1 decode | 0.28 | 12.8 |
| Streamed MoE, experts cached in RAM | TinyMixtral 4x248M int4 · batch 4 decode | 1.0 | 40.3 |
| dlm pack | Qwen3-1.7B int4 · decode | 0.06–0.07 | 1.0–1.1 |
| dlm pack | Qwen3-1.7B int4 · prefill | 4–5 | 48–65 |
| Direct disk reads | Qwen3.6-35B-A3B Q4_K_M · decode | 0.66–1.09 | 0.96–2.92 |
| --speculative mtp | Qwen3.6-35B-A3B Q4_K_M · decode | 1.51–1.62 | 2.09–2.56 |
| Partial RAM cache hits | Qwen2.5-0.5B bf16, ⅓ cached · decode | 2.52–2.74 | 3.65–3.96 |
Qwen3.6-35B-A3B is a 22 GB GGUF; its experts don’t fit the RAM cache, so most misses read the SSD, and its ranges are wide because the drive slowed across rounds. Measured on one machine; other cards are untested.
VRAM × model → what stays resident.
Each cell is computed live from the budget formula: the share of layers that stay in VRAM, and the projected (not measured) tok/s band. Read down for a card, across for a model.
| Model ↓ / VRAM → | 4 GB | 8 GB | 12 GB | 16 GB | 24 GB |
|---|---|---|---|---|---|
7B 32 layers | 28% 9/32 · ~18–32 tok/s | 100% 32/32 · ~37–67 tok/s | 100% 32/32 · ~37–67 tok/s | 100% 32/32 · ~37–67 tok/s | 100% 32/32 · ~37–67 tok/s |
70B 80 layers | won’t fit | 9% 7/80 · ~5–9 tok/s | 21% 17/80 · ~6–11 tok/s | 34% 27/80 · ~8–14 tok/s | 59% 47/80 · ~10–18 tok/s |
405B 126 layers | won’t fit | won’t fit | 2% 2/126 · ~2–3 tok/s | 3% 4/126 · ~2–3 tok/s | 7% 9/126 · ~2–3 tok/s |
Change the card. Watch the plan change.
Same math, live. Pick a VRAM size and a model to see layers resident, the zone breakdown, and the estimated throughput — the exact figures the engine would compute.
Amber executes on the GPU while teal streams the next window in over PCIe — then they swap. DMA hides under compute.
Or run it against your real card — no GPU required, no weights loaded:
dlm profile --model-path /path/to/modelHow each number was produced.
Every figure on this page comes from the constants below, each carrying its conditions.
Both sides ran on one GTX 1650 with the card idle between workloads. Prefill = batch × 256 / t(1 token); decode = batch × 127 / (t(128) − t(1)), so vLLM's prefill includes its per-call Python overhead. vLLM ran with prefix caching off, max_num_seqs=16, gpu_memory_utilization=0.78.
Resident-layer counts are computed from the same LayersToLoad formula the engine runs — reproducible with `dlm profile`. The tok/s band is a separate throughput model (a compute ceiling scaled by how much streaming hides under compute) — an estimate, not a measurement.
Per-layer and pinned-zone sizes are Q4-class figures. Float or higher-precision checkpoints shift the budget and resident count accordingly.
KV cache is summed across all layers for the full context — its histories stay resident while weights stream. Longer context spends more of the budget on KV, fewer layers stay resident.
The tok/s band scales a compute-bound ceiling by how much streaming must hide under compute: fully resident approaches the ceiling, heavily streamed drops toward the PCIe floor. A cold cache or slower bus lands lower.
A model-independent safety cushion plus the pinned embeddings, final norm, and LM head come off the top before any layer is packed.