Skip to content
Performance

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.

Headline numbers

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.

443tok/s

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

3–4×faster

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

2.5–2.9tok/s

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

Measured against vLLM

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/sdlm bf16vLLM fp16vLLM fp32
Decode · batch 1100–10510858–61
Decode · batch 4296–31926189–228
Decode · batch 8363–37844–47297–316
Decode · batch 16443–44578–88269–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 3
Measured: streaming in 0.5.0

Models 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.

ChangeWorkloadBefore tok/sAfter tok/s
Streamed MoE, experts cached in RAMTinyMixtral 4x248M int4 · batch 1 decode0.2812.8
Streamed MoE, experts cached in RAMTinyMixtral 4x248M int4 · batch 4 decode1.040.3
dlm packQwen3-1.7B int4 · decode0.06–0.071.0–1.1
dlm packQwen3-1.7B int4 · prefill4–548–65
Direct disk readsQwen3.6-35B-A3B Q4_K_M · decode0.66–1.090.96–2.92
--speculative mtpQwen3.6-35B-A3B Q4_K_M · decode1.51–1.622.09–2.56
Partial RAM cache hitsQwen2.5-0.5B bf16, ⅓ cached · decode2.52–2.743.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.

Compatibility matrix

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 GB8 GB12 GB16 GB24 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
Profile your own setup

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.

GPU VRAM
Model
27/80
layers resident · 34% in VRAM
~8–14 tok/s
est. · PCIe 4.0 · warm cache
VRAM budget16.0 GB
Pinned 0.9KV 2.8Resident 10.8 GBFree 0.0
Streaming zone · double buffer53 layers stream through

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/model
Methodology

How each number was produced.

Every figure on this page comes from the constants below, each carrying its conditions.

vs vLLMdlm bench · vllm_bench.py

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.

SourceBudget formula + throughput model

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.

WeightsInt4 (Q4), ~0.5 bytes/param

Per-layer and pinned-zone sizes are Q4-class figures. Float or higher-precision checkpoints shift the budget and resident count accordingly.

Context8,192 tokens

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.

Throughput bandPCIe 4.0 ×16 · warm NVMe

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.

Fixed costs1.5 GB safety + pinned zone

A model-independent safety cushion plus the pinned embeddings, final norm, and LM head come off the top before any layer is packed.