Qwen3.8-27B on vLLM with FlashInfer un-gated on Turing (SM75) — Portainer stack 105 on trogdor
  • Python 55.8%
  • Shell 34%
  • Dockerfile 10.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chris Moriarty 6cef3f8990 Also answer to the shared name trogdor, for Open WebUI's presets
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-30 09:54:09 -05:00
experiments README: production is arm R; check set passes; L2's CPU reference deferred 2026-11-01 01:29:22 -04:00
docker-compose.turing4.yml Run on the two RTX A6000s: the A6000 settings become docker-compose.yml 2026-11-28 19:40:02 -05:00
docker-compose.yml Also answer to the shared name trogdor, for Open WebUI's presets 2026-11-30 09:54:09 -05:00
Dockerfile stack 126: vLLM 0.33.0 + MTP k=4 (speculative decoding on full CUDA graphs) 2026-11-04 00:17:54 -05:00
EXPERIMENTS.md EXPERIMENTS.md: run 174 against run 173 on the fp8 settings 2026-11-06 05:22:47 -05:00
README.md README: the redeployed stack was checked 2026-11-29 21:18:30 -05:00
warmup.py feat: warmup sidecar re-warms on every fresh engine boot (survives reboots/redeploys) 2026-08-15 16:44:35 -04:00

qwen38-vllm-flashinfer

Qwen3.8-27B served by vLLM with FlashInfer un-gated on Turing (SM75). Since 2026-11-01 it runs the 8-bit W8A16 weights with an fp16 KV cache and the native 262,144 window (arm R, "Production: arm R" below); before that, the 4-bit W4A16 AWQ. This is Portainer stack 126 (formerly 105) on trogdor, the daily-driver LLM endpoint on :8090.

It began life as experiments/qwen38-vllm-flashinfer/ in the trog repo and moved here on 2026-10-17 with its history once trog was deprecated and this became the production deployment. The stock-image fallback (stack 103) still lives in trog at experiments/qwen38-vllm.

Files

  • EXPERIMENTS.md — start here. A plain-language history of every experiment on this stack, its results, the lessons, and what could be contributed upstream.
  • Dockerfile — vllm/vllm-openai with ONE comparison changed: the FlashInfer SM80 floor lowered to SM75. Built on trogdor, never pushed; the stack must keep PullImage OFF.
  • docker-compose.yml — the stack. The long comment at the top is the measured history (bench numbers, tuning pass, what was refuted). The warmup sidecar's script is inlined under configs: because Portainer git stacks check out only the compose file.
  • warmup.py — the readable copy of that inlined script.
  • experiments/fidelity/ — the 2026-10-31 weights / KV / YaRN fidelity test and its round 3 (depth on two long chunks, the kernel fallback, a CPU reference, the L2 diagnosis, the split by who wrote each token): scripts, results and run logs (see "Tried: fidelity levers" below).

Rebuild the image

Only when the base tag changes:

DOCKER_HOST=ssh://cmoriarty@trogdor docker build -t vllm-openai-turing-flashinfer:v0.33.0 - < Dockerfile

The Dockerfile has no COPY, so it builds from stdin with no context. The previous image (vllm-openai-turing-flashinfer:v0.32.0) stays on trogdor as the rollback: put that tag back in the compose and redeploy.

Then redeploy stack 126 from Portainer (git-connected to this repo, refs/heads/main).

Production: vLLM 0.33.0 + MTP k=4 (2026-11-04)

Arm R's weights, cache and window, plus speculative decoding with the checkpoint's own multi-token-prediction head: 4 draft tokens per step, verified on full CUDA graphs (vLLM 0.33.0's #60532 is what makes that work below SM90). The gate patch is unchanged. The owner's call, 2026-11-04: "Lets deploy to production!", after the 2026-11-03 bench night in the ~/repos/vLLM folder (plan.md there has the full log).

Measured in scratch boots on these flags against the same image with MTP off:

MTP off (0.33.0) MTP k=4 arm R on 0.32 (Nov 1)
decode short / @20k 45.5 / 43.7 t/s 74.9 / 75.2 t/s 45.3 / 43.5
conc-2 / 4 / 6 aggregate 70.5 / 130.5 / 165.7 111.5 / 170.1 / 201.5 70.8 / 130.5 / 165.3
code-edit decode 45.1 130.3 44.9
cold 17.7k prefill / cached turn 9.9 s / 0.20 s 10.1 s / 0.18 s 9.7 s / 0.17 s
draft tokens accepted per round, prose / code – 1.95 / 3.94 –
KV pool 352,856 ~290,000 352,856

Fidelity: a temperature-0 6x5 multimodal soak (120 turns, base vs k=4, each run cold and from cache) had 0 errors, 0 degenerate turns, identical tool calls, and prose that differs only at near-tie tokens at the same rate the base differs from itself. Code edits and tool calls are byte-identical to MTP-off output. k=3 (78.5 t/s @20k, 184 conc-6, 116 code) was the better single-stream arm; k=4 was chosen for Braid's six code-heavy sessions.

Costs: the KV pin drops 1 GiB to --kv-cache-memory 4831838208 (4.50 GiB; the drafter and the FULL graph capture ran out of memory at arm R's pin), so the pool is 261,899 tokens (arm R had 352,856). The window is --max-model-len 258048: at 262,144 the max-seq-len check wants 4.50 GiB for one request with k=4 and the pin gives 4.49. The pin cannot go lower than about 4.43 GiB with this window; a 4.00 GiB try on 2026-11-04 refused to boot ("estimated maximum model length is 230928") and cost about 15 minutes of downtime through nine restarts. A Braid agent gets about 237k tokens, and cached turns in a six-session soak run about 0.3 s slower (cache replay hit 76% against 99.8% without MTP). Rollback: revert the commits and git-redeploy; the v0.32.0 image stays on trogdor. The lever for a bigger pool is fp8 KV (about 2x, KLD cost 0.054 at depth measured 2026-10-31), not yet taken.

The prefill chunk is --max-num-batched-tokens 4096 (was 8192). The first production boot compiled fresh, which holds about 0.8 GiB more than the cached scratch boots that had passed the same soak, and it died in the check set's six-session soak: a CUDA out-of-memory on GPU 3 during two concurrent 18.7k prefills with screenshots, an 80 MiB activation (8192 x 5120 fp16) with 67 MiB free. Halving the chunk halves those transients. The fresh-compile boot after an image bump is the risky one: run rcheck.sh on the live stack after every bump.

Check set on the live stack (~/exp1004/rcheck.sh on trogdor). The first boot (prod-mtp4-1104, 8192-token chunks) passed everything up to the soak, then died in it as above. The deployed configuration (prod-mtp4-c4096-1104, 4096-token chunks, a fresh-compile boot of 536 s, so the worst case) passed all of it:

check MTP k=4, chunk 4096 (deployed) MTP k=4, chunk 8192 (first boot) arm R (2026-11-01)
decode short / @20k 73.0 / 71.0 t/s (re-run 74.3 / 73.5) 70.3 / 74.7 45.3 / 43.5
conc-2 / 4 / 6 aggregate 109 / 165 / 195 107 / 173 / 200 71 / 131 / 165
code-edit decode 127 (re-run 130) 127 45
cold 17.7k prefill 11.1 s (re-run 11.1) 9.9 s 9.7 s
cached turn, identical prompt replayed 0.62 s (re-run 0.61) 0.18 s 0.17 s
cached turn, new ask appended 0.54 s – –
18 images in one request HTTP 200, 15,912 prompt tokens, answers "18" same same
fcheck core (tools, reasoning split, late system message, image, Anthropic endpoint) PASS PASS PASS
needle at ~206k tokens found, 207 s found, 203 s found, 195 s
6x5 multimodal soak 30/30, 0 errors, later turns 0.58 / 1.11 s median / max, prefix hits 0.796 engine died 30/30, 0.37 / 0.89 s
VRAM peak per card 15,598 / 16,384 MiB 15,936 (then OOM) 15,936
engine error lines 0 24 (the OOM) 0

So the 4096-token chunk costs about 12% on a cold long prefill and makes a full-prompt replay slower (the whole-prompt cache hit now takes ~0.6 s instead of 0.18 s), but an appended turn, which is what agents send, is unchanged at ~0.55 s under MTP (the soak's later turns were 0.52 to 0.64 s at the 8192 chunk too). Upstream has a fix for the memory growth that forced this (#62560, merged 2026-11-02, sampler warmup after graph capture, +1.77 GB -> +0.11 GB), not in 0.33.0; when a release carries it, the chunk can go back to 8192 and the pin can rise.

Prefill threshold (2026-11-05)

--long-prefill-token-threshold 1024 --long-prefill-token-threshold-adaptive keeps running streams moving while a cold prompt prefills. Measured with five streams running and a cold 20k prompt injected mid-run:

no cap threshold 2048 threshold 1024 (deployed)
gap between chunks for running streams, p50 / p99 2,082 / 2,255 ms 1,073 / 1,154 ms 579 / 614 ms
same, two streams running not measured not measured 545 / 580 ms
first token on the cold prompt 11.7 s 11.9 s 12.6 s (11.8 s at two streams)
conc-6 aggregate 202.7 t/s 200.9 t/s 196.6 t/s

Decode and a lone cold prefill are unchanged, since the cap does not apply to a request alone. It does not change the model's arithmetic, so no KLD arm was run. The full check set passed on a scratch boot (b8-stock-1104) and on the live stack (prod-window-b-1104, 2026-11-05 03:04, cached boot 106 s): decode 74.5 / 74.7 t/s, conc-2/4/6 106 / 163 / 197, code 130, cold 11.0 s, cached 0.17 s, 18 images OK, fcheck core PASS, 206k needle PASS (207.5 s), soak 30/30, 0 engine error lines, VRAM peak 14,722 MiB, stream gap 588 / 622 ms (552 / 592 ms with two streams). Chunk 8192 stays out: with #62560 cherry-picked it survives the soak but runs out of memory in the 206k needle. Everything else window B tried is in that plan.md.

Probabilistic drafts and temperature 0.6 (2026-11-05)

"draft_sample_method":"probabilistic" in --speculative-config, and --override-generation-config '{"temperature":0.6}'. By default the drafter proposes its most likely token while the target samples, so many drafts are rejected at any temperature above 0. Sampling the drafts too fixes most of that. xbench and specprobe run at temperature 0 and never showed this: Braid sends vLLM no sampling settings, so it was running the checkpoint's temperature 1.0.

Braid's sampling, t/s (accepted per round) greedy drafts, temp 1.0 probabilistic, temp 1.0 probabilistic, temp 0.6 (deployed)
reasoning, one stream 58.0 (1.31) 71.0 (1.80) 68.5 (1.72)
prose, one stream 67.0 (1.67) 73.9 (1.90) 74.1 (1.96)
code, one stream 114.9 (3.53) 115.0 (3.47) 118.4 (3.64)
six streams, aggregate 192.1 217.4 255.8

The six-stream figures are single runs of one test, and it is noisy: at 0.6 it read 246.1, 255.8 and, on the live stack, 212.6 t/s. A controlled sweep with the same requests, 0.6 and 1.0 alternating in one boot, reads 220-238 and 224-232 t/s, so expect about 230 against 192 (one greedy reading). The sweep shows no clear gain from temperature at any stream count from 1 to 6. The gain belongs to probabilistic drafts. Temperature 0.6 is Qwen's recommended setting for thinking and what Braid already sends tabbyAPI, so it is a quality choice. It makes output less varied (distinct 8-token openings fall by about 6 times), so Braid runs after this are not comparable to earlier ones.

Output is distributed like MTP off: 0 of 32 token positions above the noise band at each temperature (4 prompts, 1,500 samples each, first 8 tokens, thinking off). That does not cover long reasoning. Temperature 0 is not hurt: 74.2 t/s, conc-6 203.9, code 129.0. The full check set passed on a scratch boot (f1-prob06, trogdor:~/exp1004) in the worst memory state, a fresh compile: 18 images, tool calls, 206k needle, soak 30/30 with 0 preemptions, 0 engine errors, VRAM peak 15,638 MiB. The temperature flag changes vLLM's compile cache key, so the first boot after adding it takes about 10 minutes. Rollback: drop draft_sample_method and the override line, then git-redeploy.

Live stack (prod-window-d-1105, 2026-11-05 12:31, fresh-compile boot 544 s): at Braid's sampling, reasoning 71.8 t/s (1.83 accepted), prose 73.2 (1.88), code 117.3 (3.57), six streams 212.6. Temperature 0 on a re-run: decode 74.7 / 71.3 t/s, conc-2/4/6 104.4 / 164.2 / 197.0, code 129.5, cold 11.0 s. 18 images, fcheck core, 206k needle in 204.7 s, soak 30/30 with 0 preemptions, later turns 0.55 / 0.85 s median / max, prefix hits 0.796, VRAM peak 15,632 MiB, 0 engine errors. The first xbench read 53.6 t/s short and 12.9 s cold because it ran while the warmup container sent its own 24k request (17:17:58-17:18:16 UTC); after a fresh boot, wait for warmup to finish before benchmarking.

fp8 KV cache and the full window (2026-11-06)

--kv-cache-dtype fp8 and --max-model-len 262144 (commit 4ae41e8), so Braid agents can run longer before compacting: the pool goes from 261,899 to 496,770 tokens at the same 4.50 GiB pin, enough for two agents at Braid's new 245,760 limit. Live check prod-fp8-1106 (fresh-compile boot 597 s, measured after warmup): 18 images, fcheck core, 206k needle in 227.3 s, 245,699-token needle found in 293.1 s, soak 30/30 with 0 preemptions, later turns 0.60 / 1.45 s median / max, VRAM peak 15,652 MiB, 0 engine errors. At Braid's sampling: reasoning 70.7 t/s, prose 71.7, code 118.5, six streams 228.0, acceptance unchanged. Temperature 0: 70.9 / 77.4 t/s, code 128.3, cold 11.2 s.

One cost to know about: the hybrid cache block grows from 816 to 1,616 tokens, because a block must hold one GDN state page and that state stays fp32. A cache hit that falls back to a block edge re-reads up to twice as many tokens, so xbench's cached @20k probe starts in 1.2 s against 0.6, and in each concurrency run one stream lags. xbench reports the slowest stream, so its conc-2/4/6 read 91.7 / 124.0 / 135.9 against 104.4 / 164.2 / 197.0, while the other streams decode as before. Appended turns, which agents send, start in 0.18 s as before. Fidelity was not re-measured on 0.33; on 0.32 without MTP the fp8 cache cost KLD 0.0017 at 4k and 0.075 at depth against fp16, 0.0011 on the model's own writing. Rollback: --kv-cache-dtype auto and --max-model-len 258048, then git-redeploy, and put Braid's profile back to window 258,048, reply reserve 32,000, context per agent 226,048.

Host update: NVIDIA driver 620 (2026-11-20)

No change to this stack. Trogdor itself was updated: NVIDIA driver 610.43.02 to 620.70.06, with Rocky 10.2 to 10.3, kernel 6.12.0-264.16.1, Docker 29.10.0 and NVIDIA Container Toolkit 1.20.2. The plan, both checks and the comparison are in homelab issue 8 (comments 9735, 9875 and 9876); trogdor is now updated only by hand, with this check before and after (homelab runbooks/update-trogdor.md). Both live checks used livecheck2.sh <label> 245760 on a freshly started engine after its warm-up, with Braid paused: prod-drv610 (08:53-09:14 New York time) and prod-drv620 (12:02-12:21). Every pass line held:

610 620
KV pool 496,770 496,770
18 images, fcheck core, soak 30/30, 0 preemptions, 0 engine errors passed passed
206k needle / 245,760 needle 229.1 / 300.8 s 229.2 / 303.9 s
Braid's sampling, one stream: reasoning / prose / code (t/s) 68.6 / 72.0 / 117.6 69.1 / 72.4 / 117.4
Six streams at Braid's sampling 235.5 232.9
Temperature 0: short / @20k / code (t/s) 71.5 / 74.1 / 128.7 71.2 / 82.3 / 128.4
Cold 18k prompt, first token 11.13 s 11.17 s
conc-2 / 4 / 6 (slowest-stream totals) 86.6 / 124.1 / 136.8 88.2 / 125.8 / 138.7
VRAM peak 14,796 MiB 14,796 MiB

The @20k reading of 82.3 is the highest so far; at temperature 0 the text can still flip at near-ties between runs, so it is not counted as a gain. The compile cache survived the driver change (Directly load AOT compilation; ready 2 min 16 s after the container started, warmup 16.1 s), and the PCIe IPC all-reduce loaded its tuning from the cache. P2P stayed OK between every pair of cards and NVLink at 25.781 GB/s. Under load cards 1 to 3 sit in software thermal slowdown at 86 to 89 °C (1,700 to 1,800 of 2,100 MHz) on either driver; the 620 run was 0.5 to 1.6 °C warmer, so heat did not flatter it.

Production: arm R (2026-11-01)

The owner switched stack 126 to arm R of the fidelity test: the 8-bit weights (lued/Qwen3.8-27B-INT8-W8A16-MTP), an fp16 KV cache and the native 262,144 window, with no YaRN. In their words: "it seems we should adopt "8-bit weights, 16-bit cache, no stretch", and start the braid test", then "16-bit cache, 400k pool". The reason is the corrected fidelity reading below. Ranked by KLD against the reference, the 8-bit weights are the faithful choice, and the CPU reference agrees with them. A Braid run on this arm decides whether it also serves Braid better. The change is commit 717db96 (compose only). To roll back, revert it (back to 35c8afe's flags) and git-redeploy.

The KV pin is --kv-cache-memory 5905580032 (5.50 GiB). vLLM's own fit at util 0.97 for this arm is 6,402,633,749 bytes (5.96 GiB, about 383k tokens), the rule the 4-bit pin followed. This pin sits 0.46 GiB under it, because a boot that compiles fresh holds about 0.8 GiB more than a cached one, and the image budget and the warmup need their activations on top. The first boot did compile fresh, so the peak below is the worst case. A cached boot has about 0.8 GiB more room.

The check set ran on the live stack right after the git redeploy (2026-11-01 01:09-01:28, ~/exp1004/rcheck.sh on trogdor, label armR-1101, CPU otherwise idle):

check arm R 4-bit P (2026-10-30 / 31)
boot healthy in 538 s (fresh compile) 110 s cached, 640 s fresh
KV pool 352,856 tokens (1.35× a 262,144 window) 991,688 (1.89× a 524,288 window)
decode short / @20k 45.3 / 43.5 t/s 66.8 / 63.3
conc-2 / 4 / 6 aggregate 70.8 / 130.5 / 165.3 103.7 / 172.0 / 208.4
cold 17.7k prefill / cached turn 9.7 s / 0.17 s 9.3 s / 0.16 s
code-edit decode 44.9 65.7
18 images in one request HTTP 200, 15,912 prompt tokens, answers "18" HTTP 200, 15,912
warmup sidecar 24,599 tokens in 14.1 s 24,599 in 13.3-13.8 s
fcheck core: tools, reasoning split, image, a system message that is not first PASS PASS
needle 206,160 tokens, found, 195 s 100k, found, 72 s
6×5 multimodal soak 30/30, 0 errors, prefix hits 0.796, later turns 0.37 / 0.89 s, 0 preemptions 30/30, 0.796, 0.37 / 0.92 s
VRAM peak per card 15,936 MiB of 16,384 15,440-15,472 after the speed suite
engine errors 0 0

CORS stays closed (preflight 400), and max_tokens above the window is refused with a 400 that names max_model_len=262144. fcheck's active_conversations FAIL is the expected 404: that endpoint is fastllm's, not vLLM's. The costs are as expected: decode 32% slower, a pool of about a third of the 4-bit's, and a 262,144 window, so a Braid agent gets at most about 241k (it was 400k). The pool fits one full-window request plus room for the rest. When long sessions crowd it, vLLM preempts rather than fails. The soak saw no preemptions.

Tried: fidelity levers (2026-10-31): measured; arm R adopted 2026-11-01

The owner asked whether the weights or the KV cache could be made more faithful, perhaps at the cost of some context. Three levers had never been measured on this stack: the 4-bit weights (philbert440 W4A16 AWQ, g128, asymmetric), the fp8 KV cache with no calibrated scales, and the static YaRN 2× stretch to 524,288. Every arm ran in a scratch container with this image (v0.32.0) and the production flags, changing only its lever (experiments/fidelity/fidrun.sh). Production's flags did not change. Whether to adopt anything is the owner's call.

arm weights KV cache window
P 4-bit (production) fp8 YaRN 2×, 524,288
A 4-bit fp8 native 262,144
B 4-bit fp16 native 262,144
C 8-bit fp8 native 262,144
R 8-bit fp16 native 262,144 (the intended reference)
P8 8-bit fp8 YaRN 2×, 524,288 (production with only the weights swapped)
RK R on ExllamaLinearKernel (VLLM_DISABLED_KERNELS=MarlinLinearKernel) fp16 native 262,144
P32, P8-32 P and P8 with --mamba-ssm-cache-dtype float32 (GDN recurrent state in fp32) fp8 YaRN 2×, 524,288

The 8-bit build is lued/Qwen3.8-27B-INT8-W8A16-MTP (compressed-tensors, INT8 symmetric, groups of 128, min-max scales; vision, lm_head, MTP and the GDN in_proj_a/b kept in bf16), 31.6 GB at /mnt/models/Qwen3.8-27B-INT8-W8A16-MTP, sizes and sha256 checked against the HF API. Its tokenizer gives the same token ids as production's patched one; its tokenizer.json already has no truncation rule.

Method. Teacher-forced top-20 prompt logprobs from /v1/completions: prompt as token ids, max_tokens 1, prompt_logprobs 20, one request at a time. vLLM 0.32 skips reading the prefix cache for such requests, so every position is computed. The text is new-model-trials' in-domain set from the DeepSeek KLD test (Braid agent transcripts, a TypeScript app's source and tests, our own README prose): 7 chunks of 4,096 tokens, with the second half of each scored (14,336 positions). Then one 100,000-token chunk of another Braid transcript, with its last 8,192 positions scored. The scores are KLD over the reference's top-20 renormalized on both sides (vkld_cmp.py; on synthetic data it lands within 7% of the exact full-vocabulary KL), top-1 agreement, and the perplexity of the actual text. The text stays private on trogdor; results/kld-manifest.json holds its hashes. Scoring is deterministic: P re-scored on another boot at another KV pin (P2) and R re-scored on the same server (R2) both reproduce exactly (KLD 0, 100% top-1), so every nonzero number below is a real difference. The long chunk is ONE sample: treat the depth columns as a lead, not a result.

arm KLD vs R, 7×4k (top-1) KLD vs R, last 8k of 100k (top-1) PPL 7×4k PPL last 8k of 100k KLD vs P, 7×4k / last 8k
P 0.0407 (93.3%) 0.351 (88.9%) 2.867 2.395 — (P2: 0 / 0)
A 0.0400 (93.3%) 0.320 (89.5%) 2.869 2.643 0.0045 / 0.147
B 0.0400 (93.3%) 0.318 (89.6%) 2.868 2.750 0.0045 / 0.144
C 0.0017 (98.8%) 0.075 (96.4%) 2.908 3.946 —
R — (R2: 0 / 0) — 2.894 3.924 —
P8 0.0069 (97.5%) 0.215 (92.4%) 2.897 3.519 0.037 / 0.246
RK 0.0003 (99.5%) 0.020 (98.5%) 2.889 3.917 —
P32 = P = P 2.867 2.395 0 / 0 (bit-identical)
P8-32 = P8 = P8 2.897 3.519 0 / 0 vs P8 (bit-identical)
arm decode short / @20k (t/s) conc-2 / 4 / 6 aggregate cold 18k (2nd context) cached turn: warm / @20k KV pool (tokens) VRAM per card, boot → after speed (MiB) max context
P 66.8 / 63.3 104 / 174 / 202 9.2 s (10.2 s) 0.43 / 0.47 s 991,688 13,750 → 15,440 524,288
A (KLD only) 971,740 14,546 at a first boot 262,144
B 67.3 / 63.5 97 / 177 / 209 9.2 s (10.3 s) 0.42 / 0.46 s 495,844 13,710 → 14,338 262,144
C 45.0 / 43.5 72 / 131 / 164 10.0 s (11.0 s) 0.47 / 0.51 s 778,899 15,010 → 15,696 262,144
R 45.2 / 43.4 72 / 132 / 166 9.8 s (11.0 s) 0.46 / 0.50 s 397,444 15,010 → 15,698 262,144
P8 44.9 / 43.3 71 / 130 / 164 9.9 s (11.0 s) 0.46 / 0.46 s 788,738 15,010 → 15,638 524,288
RK 45.9 (one short decode)

The 4-bit pools use production's --kv-cache-memory 8290319872; the 8-bit pools are vLLM's own fit at --gpu-memory-utilization 0.97 (6.15-6.19 GiB of KV per card, since the 8-bit weights take 7.2 GiB per card against 4.42). Production's pin sits within 8.4 MB of the same 0.97 fit.

What it says. Corrected 2026-11-01: the first reading ranked the arms by perplexity, and round 3 showed that to be the wrong yardstick. The CPU reference scores L1 next to the 8-bit arms and well above the 4-bit ones. The arms differ almost only on tool output, where every arm, the reference included, often bets on a wrong token (round 3, "C" and "Where the arms differ", below). A lower PPL on this text is drift from the original model, not fidelity, so the arms are ranked here by KLD against R.

  1. The 8-bit weights are the faithful choice. Against R, the 8-bit arms are 6-24× closer than the 4-bit arms at 4k (C 0.0017 and P8 0.0069, against 0.0400-0.0407), and 1.5-4.7× closer at depth (C 0.075 and P8 0.215, against 0.318-0.351). Their PPL at depth is 33-49% higher (C 3.946 vs A 2.643, R 3.924 vs B 2.750, P8 3.519 vs P 2.395), and the first reading took that for an 8-bit fault. Decode is 32% slower on the 8-bit (45 against 66 t/s). Four checks of the 8-bit checkpoint, run while it looked broken, all came back clean:

    • The same base: the embeddings, lm_head, every GDN A_log / dt_bias / conv1d / norm, and the MTP head are bit-identical across the two checkpoints. The tensors that differ are exactly the ones AWQ smoothing rescales in the 4-bit (the norms in front of quantized layers, and the in_proj_a/b that read them).
    • No fp16 scale underflow: only 0.01% of the 8-bit scales fall below fp16's smallest normal, none are flushed to zero, and the 4-bit has a similar count (scales.py).
    • Not the Marlin INT8 kernel: RK, on ExllamaLinearKernel, reproduces R (KLD 0.0003 / 0.020, PPL 2.889 / 3.917).
    • No fp16 recurrent state: there never was one. Both checkpoints declare "mamba_ssm_dtype": "float32". vLLM 0.32's Qwen3_5ForConditionalGenerationConfig copies that into the cache config under auto, so every arm, production included, keeps the GDN recurrent state in fp32. --mamba-ssm-cache-dtype float32 (P32, P8-32) changes nothing: the logits, pools and attention block size (1,568) are bit-identical to P's and P8's.

    The Braid check on P8 was skipped by the owner's rule (P8's long-chunk PPL above P's +5%), and that rule rested on the PPL reading.

  2. An fp16 KV cache adds a little fidelity, costs no speed, and halves the pool. With 8-bit weights, the fp8 cache alone (C against R) costs KLD 0.0017 at 4k and 0.075 at depth. With 4-bit weights, B against A gives 0.0013 and 0.054 (top-1 98.9% / 96.8%). That is small next to the weights' own drift (B 0.318 and A 0.320 against R at depth). B's speeds match P's. The pool falls from 971,740 to 495,844 at the same pin.

  3. YaRN 2× adds drift at depth. With 8-bit weights, P8 against C (only YaRN differs) moves KLD vs R from 0.0017 to 0.0069 at 4k and from 0.075 to 0.215 at depth. With 4-bit weights, P against A moves it from 0.0400 to 0.0407 and from 0.320 to 0.351 (P vs A directly: 0.0045 at 4k, 0.147 at depth). The confound: R runs native, so any YaRN arm differs from it by construction. This measures how far the stretch moves the model from its native behaviour inside 262,144 tokens, not whether that hurts. P's lower PPL at depth (2.395 against A's 2.643) was the same misreading as the 8-bit's.

Measurement notes:

  • The production pin leaves no room for KLD scoring. The prompt-logprobs all-gather of a 1,024-row logits slice is 486 MiB, and a boot that compiles fresh holds ~0.8 GiB more than a cached one, so A and B ran out of memory at the production pin. KLD boots ran 1 GiB lower (4-bit) or at a fixed 4.25 GiB (8-bit: R and P8 need ~4.1 GiB just to fit one full-window request). The pin does not change the logits (P vs P2).
  • Cached-turn TTFT is 0.42-0.47 s here, against 0.16 s in the 2026-10-30 rows, and this is a bench artifact. xbench's warm probe diverges about 11 tokens before the end of its cold prompt. Whether it reuses the final 16-token checkpoint depends on the cold prompt's length mod 16, which the label length shifts: 6-8 today (falls back to an earlier checkpoint), 12-14 on 10-30. The @20k probe always takes the fallback and reads 0.46-0.52 s on both days, and the image cap does not change the encoder budget (16,384 tokens either way). Confirmed on P32, which runs production's config including 999 images: the same boot gives 0.427 s with a mod-6 label and 0.162 s with 10-30's alignment (mod 12).
  • P8's informational /v1/messages check hit its 60-token cap mid-thought (HTTP 200); it is not an API failure. fcheck core, the image check and a mid-conversation system message all pass on P8.

Production after the test: stack 126 was git-redeployed at 35c8afe (999 images per prompt, nothing else changed) on 2026-10-31 at 20:23. It was stopped again at 20:30 for the P32 / P8-32 arms (it was idle), then git-redeployed at main at 20:42. Both boots were healthy in 110 s with the KV pool unchanged at 991,688. An 18-image request (Braid run 163's failure case) answers HTTP 200 with 15,912 prompt tokens. The warmup sidecar fired (24,599 tokens in 13.3 s, decode check 57 t/s). The stack was left serving as the workhorse.

Harness: experiments/fidelity/ (fidrun.sh boots one arm, fidarm.sh runs KLD and speed, vkld.py / vkld_cmp.py score and compare, scales.py / samebase*.py are the 8-bit checks); raw dumps and the private text are on trogdor in ~/exp1004/fid/.

Round 3 (2026-10-31 evening): a second long chunk, the kernel fallback, a CPU reference

Outside research into the 8-bit gap suggested three tests, and the owner approved them. Production's flags did not change.

  • A: score the same final 8k of two 100k chunks after more and more context (8,192, 24,576, 57,344 and 91,808 tokens before it), on P and P8 (vdepth2.py). L1 is round 1's long chunk. L2 is the last 100,000 of 104,698 tokens of two other Braid run-163 step transcripts that no other KLD text uses (build_long2.py; hashes in results/kld-manifest.json). The 100k prompt also keeps its last 50,000 positions.
  • B: PK = P with VLLM_DISABLED_KERNELS=MarlinLinearKernel. Turing Marlin accumulates in fp16 for fp16 activations; the fallback kernel should accumulate in fp32.
  • C: an independent reference with f32 accumulation: unsloth's plain Q8_0 GGUF of the same model through llama.cpp b12004 on the CPU, one 99,840-token window per chunk.

A: P8's PPL stays above P's at every depth, and on L2 production's own config falls apart (results/depth2-P-P8.md):

chunk context before the scored 8k PPL P PPL P8 KLD / top-1, P8 vs P
L1 8,192 2.108 2.782 0.185 / 91.3%
L1 24,576 2.222 2.801 0.203 / 91.3%
L1 57,344 1.673 1.813 0.092 / 93.9%
L1 91,808 2.395 3.519 0.246 / 89.7%
L1 last 50k of the 100k prompt 1.874 2.277 0.148 / 93.5%
L2 8,192 3.432 4.471 0.421 / 84.7%
L2 24,576 32.89 99.52 0.782 / 74.0%
L2 57,344 234.4 883.6 1.212 / 62.2%
L2 91,808 88.73 710.2 1.278 / 61.9%
L2 last 50k of the 100k prompt 16.60 46.26 0.711 / 76.2%

L1 at 91,808 is round 1's long chunk, and fresh boots reproduce its PPLs exactly.

  1. P8's PPL is above P's in every window of both chunks, but not in step with depth: on L1 by 32% after 8k of context, 8% after 57k and 47% after 92k (1% on the 4k set). Read with the correction above, this is not P8 being worse: the CPU reference sides with P8 (C, below).
  2. On L2, more context makes P's predictions far worse. The loss sits in the window's first five 1k blocks and its seventh: NLL 9.6, 8.2, 7.9, 8.1, 4.4 and 4.2 after 57k of context, against 1.4, 1.9, 1.4, 1.8, 1.8 and 0.4 after 8k. The sixth and eighth blocks do not change (d2look.py). The six that rise are 43-100% tool output; the two that do not are 20% and 27% ("Where the arms differ", below). It is not a numerical collapse: no logprob is NaN, inf or clamped, the top 20 keep 0.99 of the probability mass, and the top-1 is no single repeated token (the most common is : at 6%, as after 8k). That is unlike vLLM #54308, below.
  3. Most of that stretch repeats earlier text verbatim, and the model fails to copy it (d2copy.py). After 57k of context, 95-100% of the positions in the window's first four 1k blocks have their preceding 8 tokens earlier in the prompt with the same next token, all from one block 41,360 tokens back. Both are the output of a file read: the later read shows a file that an earlier read had shown. P scores those positions at an NLL of 7.55 (top-1 right on 37% of them), P8 at 9.53. The loss is already there after 24k of context, before that block is in reach (NLL 5.8 on the first 1k block, against 1.4 after 8k).
  4. Production's generation fails the same way (d2gen.py, run on stack 126 after the redeploy). Greedy decoding from 16 tokens into the repeat reproduces 0-3 of 256 tokens with 57k of context.
  5. Long-range copying works in general (copytest.py, copymid.py, also on stack 126). A 1,024-token passage at the start of the prompt comes back 256/256 from 16k, 32k, 57k and 90k tokens later (9-14/256 without the passage; 255/256 and 116/256 by position at 0 and 4k). Placed mid-context at L2's own distance (after 16k of filler, with 41,360 tokens from the passage's start to the cue), L1's passage with L2 around it and L2's repeated block with L1 around it both come back 256/256. So the failure needs L2's own text around the block. Distance, position and the block's content are not enough on their own. In these tests the repeat was not inside a tool's output, as it is in L2.

The L2 diagnosis round: no flag here brings L2 back. The coordinator asked for it after A: L2's four windows only, each arm changing one thing from P, with a 40-minute cap (fid4.sh, results/depth2-L2diag.md):

arm change from P PPL after 8k / 24k / 57k / 92k of context PPL, last 50k KLD vs P after 57k (top-1)
P (production) 3.43 / 32.9 / 234 / 88.7 16.60
A2 no YaRN (native 262,144) 3.60 / 31.7 / 222 / 110 19.06 1.110 (66.3%)
B2 no YaRN, fp16 KV cache 3.68 / 34.0 / 239 / 124 20.01 1.110 (66.0%)
PC --max-num-batched-tokens 32768 (a quarter of the prefill chunk boundaries) 3.50 / 31.6 / 235 / 89.5 16.55 0.235 (89.0%)
PE --enforce-eager skipped: 99 s of the cap were left, after PC's fresh compile took 17.5 min

The loss does not come from YaRN, the fp8 KV cache or the prefill chunk boundaries. No logprob was NaN, inf or clamped in any arm. The only engine warning after startup was the one-time Triton JIT of _topk_log_softmax_kernel (the prompt-logprobs path). PC is not bit-identical to P, since the chunk boundaries move, but its PPLs stay within 4% of P's. PC ran with KV pinned at 4.72 GiB (a pool of 605,775 tokens), with no memory trouble. What no flag here changes: the model itself on this text, FlashInfer attention on SM75 (this repo's patch), and vLLM's Triton GDN kernels. C separates the model from vLLM.

B: no result. With Marlin disabled, vLLM picked TritonW4A16LinearKernel. Exllama takes only the symmetric uint4b8 / uint8b128 types, so AWQ's zero points rule it out. Startup took 34 minutes to reach KV-cache sizing, through the first forward passes on the Triton kernel. The server reported healthy after 2,197 s. The first request (fidrun's ~18k-token prime) then ran past the executor's timeout ("RPC call to sample_tokens timed out") and killed the engine (logs/PK.engine-excerpt.log). That is past the 30-minute cap, so PK has no numbers and was not retried. The Triton path is not a production option on Turing. Whether a Marlin fp32-accumulation patch would help stays untested. C, which accumulates in f32 throughout, is the only stand-in, and it agrees with the 8-bit arms, so the gap B was meant to explain is not a fault.

C: the CPU reference sides with the 8-bit arms (testC_cmp.py, results/testC-cmp.md). The Q8_0 file (29,047,086,048 B, sha256 checked against the HF API) tokenizes both texts exactly as vLLM does: 0 of 100,000 positions differ on either chunk (results/tokcmp.json). Its perplexity runs one 99,840-token window per chunk and scores tokens 49,921-99,839 (testC.sh). It runs with native RoPE (the GGUF has no rope-scaling keys) and f32 activations, and one window takes 3 h 1 min on 40 CPU threads. The vLLM columns cover tokens 50,000-99,839 of the same 100k requests, so their L2 values differ slightly from the "last 50k" rows above (all 50,000 positions).

chunk llama.cpp Q8_0, CPU, native P P8 A2 B2 PC
L1 2.367 ± 0.032 1.874 2.276
L2 deferred (see below) 16.72 46.67 19.21 20.16 16.68

On L1 the reference sits 4% above P8 and 26% above P. A quantized copy that predicts the text better than the model it was made from has drifted from it, and this is the correction above. P and P8 run YaRN while the reference runs native. On L1's last 8k the native twins score higher (C 3.946 against P8 3.519, A 2.643 against P 2.395), so part of each gap here is the stretch.

L2's reference was deferred at the owner's call. Its window had run 52 minutes of about 3 hours when it was stopped on 2026-11-01 at 01:04 (logs/testC.run.log, rc 137), so the CPU and GPUs could go to the switch to arm R and a Braid run. testC.sh, the Q8_0 file and L1's result are kept, so L2 can be re-run alone. Until then it is open whether the original model also breaks down on L2. L1's evidence points that way ("Where the arms differ").

Where the arms differ: tool output, not the model's own writing (rolesplit.py, logs/rolesplit.log). Both long texts are Braid transcripts, so each token can be classed by the section it sits in: the model's own writing (its reasoning, replies and tool-call arguments), a tool's output, or Braid's prompt. L1's last 8k is 62% the model's writing, 22% tool output and 15% prompt (tokens 50,000-99,839: 81%, 14%, 4%). L2's last 8k is 31%, 68% and 0% (tokens 50,000-99,839: 48%, 49%, 3%). On L1's last 8k, from the round-1 dumps:

arm PPL: model's writing / tool output / prompt KLD vs R: model's writing / tool output confidently wrong: model's writing / tool output
R 1.657 / 113.6 / 1.252 — 0.04% / 17.5%
C 1.659 / 116.2 / 1.253 0.0011 / 0.347 0.02% / 17.6%
P8 1.655 / 68.5 / 1.253 0.0071 / 0.975 0.00% / 15.5%
B 1.639 / 22.5 / 1.248 0.0229 / 1.400 0.02% / 10.3%
A 1.640 / 18.6 / 1.249 0.0231 / 1.410 0.04% / 10.1%
P 1.637 / 11.8 / 1.247 0.0256 / 1.544 0.02% / 8.0%

"Confidently wrong" means the arm puts more than half its probability on its top choice and less than e^-10 on the actual token.

  1. On the model's own writing, every arm agrees. PPL spans 1.637-1.659 across the six arms, and almost no token is confidently wrong. KLD vs R is small and keeps the corrected order: C 0.0011, P8 0.0071, then the 4-bit arms at 0.023-0.026. This is the text Braid gets back from the model.

  2. The PPL gap, and most of the KLD, sit on tool output. There every arm often bets on one token and misses: 17.5% of tool-output tokens for R and C, 15.5% for P8, 10% for A and B, 8% for P. Half of L1's tool output in the last 8k repeats earlier text (the 8 tokens before it occurred earlier, with the same next token), and that half is the worst. R scores it at PPL 365 and P at 20, while repeated text in the model's own writing scores 1.08-1.12 on every arm. In the worst cases the top choice is a word from the model's own commentary on the test, not from the tool's text: expected right after a URL's port digit, successful inside an element id, agent inside a screenshot's file name (copylook.py, a private look at the text). One possible reason, untested: chat models are trained on their own turns, with tool output masked out of the loss, so inside tool output this one falls back on predicting its own kind of text. Why the 4-bit arms do it less is not known.

  3. The CPU reference does it too. Its one number for L1's tokens 49,921-99,839 (2.367) is above P8's 2.276. If it matched P8 everywhere but tool output, its tool-output PPL would be 53 (P8 41, P 13). Had it scored tool output as easily as its own writing, its total would be about 1.39. Every vLLM arm scores the model's own writing within 3% of the others. Unless the reference scores it far worse than all of them, the original model, run in f32 on the CPU, misses on tool output at least as often as the 8-bit vLLM arms. The misses are then not a Turing, fp16 or vLLM artifact.

  4. L2 is the same thing, with more tool output (tokens 50,000-99,839):

    arm PPL all model's writing tool output confidently wrong, tool output
    P 16.72 1.879 171.7 18.5%
    P8 46.67 1.985 1,315 27.5%
    A2 19.21 1.881 228.2 20.1%
    B2 20.16 1.878 252.4 20.3%
    PC 16.68 1.878 170.8 18.8%

    In L2's last 8k, the blocks whose loss grows with context are its tool output. The first four 1k blocks are 94-100% a file read's output, and the fifth and seventh are 43% and 61% tool output. The sixth and eighth are mostly the model's reasoning (79% and 70%), and they do not move.

So the 4-bit's lower PPL comes from fewer misses on tool output, and the 8-bit's closeness to R includes sharing R's misses. P drifts from the original mostly where the original is worst. On what the model itself writes, every arm is close and the 8-bit arms are closest. Neither PPL nor KLD on this text says which weights serve Braid better. The skipped Braid check on P8 would.

Production risk: vLLM #54308 (open, not in 0.32). Its trigger matches stack 126: a GDN model with --dtype float16 and an fp32 SSM cache, AWQ weights, TP4, and the Triton (non-Blackwell) GDN path that Turing uses. The symptom is decode collapsing into one repeated token ("!!!!") after long context. fused_sigmoid_gating_delta_rule_update accumulates the readout in fp32 but allocates its output in fp16, so values above 65,504 become inf, and RMSNormGated turns them into NaN. The reporter finds the same pattern in the chunked prefill kernels (chunk_o, chunk_delta_h, wy_fast) and in core_attn_out. It was reported on MI50 with vLLM 0.27.2rc1. The fix, PR #54146, is open, needs a rebase and patches only the decode kernel. The L2 failure above is not this bug as reported, since every logprob there is finite. If a long Braid session on stack 126 starts emitting "!!!!", this bug is the first suspect, and the fix has to come from upstream.

Where round 3 stands (L2's reference deferred). Ranked by KLD against R, the 8-bit weights are the faithful choice, the fp16 cache adds a little and YaRN adds drift at depth. The CPU reference agrees with the 8-bit arms on L1. The PPL gaps first read as an 8-bit fault come from tool output, and so does production's breakdown on L2. There every arm misses often (on L1 the original model does too) and the 4-bit misses least. On the model's own writing all arms are close. No flag tried changes L2. If L2's reference, when re-run, also scores far above 3, L2's breakdown is the model's own, and the attention-path and eager arms planned for it are moot. Which weights serve Braid better is still open, and a Braid run settles it. On 2026-11-01 the owner adopted arm R for production and started that run ("Production: arm R", above).

Production after round 3: stack 126 was stopped at 21:03 for A and B and git-redeployed at main (5c092af) at 22:12. It was stopped again at 22:30 for the diagnosis round and redeployed at main at 23:10. Both boots were healthy in 187-203 s, against 110 s earlier in the day, because C was holding 40 CPU threads. The KV pool was 991,688 both times, the 18-image request answers HTTP 200 (15,912 prompt tokens), and the warmup sidecar fired (24,599 tokens in 13.8 s, decode check 45-49 t/s). The lock was removed at 23:14:59. Production's flags did not change.

Tried: DFlash2 speculative decoding (2026-10-18) — REJECTED

Drafter z-lab/Qwen3.8-27B-DFlash2 (1.92B block-diffusion drafter, 7 drafts per round, kept at /mnt/models/Qwen3.8-27B-DFlash2) on this repo's v0.31.0 image with the production flags plus --speculative-config '{"method":"dflash","model":"/models/Qwen3.8-27B-DFlash2","num_speculative_tokens":7}', PIECEWISE cudagraphs, prefix caching OFF (raw acceptance), V2 model runner (DFlash2 is V2-only; on V1 the same checkpoint silently degrades to DFlash1). Same-night baseline on the same image and cache volume, xbench suite (trogdor:~/exp1004).

baseline DFlash2 (FlashInfer drafter, k=7)
decode short ctx 67.3 t/s 18.8 t/s
decode @20k ctx 63.8 t/s 18.2 t/s
conc-2 aggregate 103.4 t/s 16.6 t/s
conc-4 aggregate 170.4 t/s 18.8 t/s
cold 18k prefill 10.5 s 10.6 s
code-edit decode 66.1 t/s 15.5 t/s
accepted draft tokens per round — 0.00 (0 of 28175 drafted, 4025 rounds over the whole xbench)
KV pool 991,688 tok 528,750 tok (pin cut to 7.0e9)
engine stable OOM-crashed on a 21k-token tool-call prefill

Every pre-registered kill criterion fired. Mechanism, in order of weight:

  1. Memory. The drafter adds 1.44 GiB per card (weights 4.61 → 6.05 GiB). The production --kv-cache-memory 8290319872 OOMs at allocation; at 7.0e9 the pool is 528,750 tokens (−47%: smaller pin, plus the drafter's sliding-window layers turn the 4 KV-cache groups into 15 with padding waste), and the engine still OOM-crashed (80 MiB request inside the drafter's hidden-state projection, fc) during the 21k-token tool-call prefill. ~6.5e9 would be needed for headroom, i.e. a ~55% pool cut.
  2. Per-step cost on Turing. FlashInfer reports no uniform-batch cudagraph support on SM75 (can_use_trtllm_attention is false), so the 8-query verify step runs piecewise and the drafter runs eager (DFlash refuses piecewise graphs for the draft). With nothing accepted a step costs ~3.5x a plain decode step (18.2 vs 63.8 t/s at 20k), so break-even needs ≥2.5 accepted draft tokens per round; the model card's own acceptance (3.1-4.5 on an H200, bf16) would make it a modest win at best.
  3. Zero acceptance, structural. 0 accepted at every draft position on every request, and still 0 of 35,028 drafted over 5,004 rounds with the drafter moved to TRITON_ATTN + fp16 draft KV — so neither the FlashInfer non-causal path nor fp8 draft KV is the cause. The target itself stays correct (tool calls intact, greedy text diverges from the baseline only at near-ties). Controls: MTP k=2 on the identical V2 verify/rejection path accepts normally (1.3-2.0 per round); FlashInfer top_k, which the DFlash2 candidate selector uses, matches torch.topk on this GPU; the drafter's weights fit fp16 (max |w| 20.9, no overflow). Upstream users who see the same boot warning ("no KV cache group could be identified as the draft model's", vllm #57032 / #61443) on Ampere/Ada/Orin get 20-90% acceptance, so this is Turing-specific. Remaining suspects: fp16 activations in the bf16-trained drafter (SM75 has no bf16), the DFlash2 Triton kernels (grouped conv, selector walk) on SM75, inductor codegen on SM75. Splitting them needs a bf16-capable card (nzxt's A4500) running the same drafter against the same target.
  4. Not run, on purpose: the prefix-caching-ON arm and the soak. Acceptance is zero before any cache hit, so the #58894 collapse question is moot here. #55601 (merged 2026-10-07) and #61455 (merged 2026-10-17, explicit draft-layer tags) land after v0.31.0 and fix cache-hit behaviour, not a zero baseline. No vllm/vllm-openai:v0.32.0 image on Docker Hub as of 2026-10-18 (tag exists; nightlies only).

Side results worth keeping: MTP k=2 on the V2 runner (PIECEWISE, prefix caching off, KV 7.0e9 → 780,986 tokens) is no longer the 3x loss measured on V1 in September: 20k prose 60-65 t/s (baseline 62), code edit 78 (66), tool call 95 (72), thinking 64 (62), short prose 52 (66), acceptance 1.3-2.0 per round. Not xbenched (no conc-2/4), so not adopted; it deserves its own measured pass with the production KV pin. ngram/ngram_gpu are not supported on the V2 runner (V1 is removed in 0.32).

Re-test DFlash2 only when a bf16-capable card shows this drafter accepting against this target (then the fault is Turing numerics/kernels and a vLLM fix is needed), on a release carrying #55601 + #61455, with the KV pin lowered to ~6.5e9. Harness and raw numbers: trogdor:~/exp1004 (drun.sh, arm.sh, specprobe.py, results/*1018*, results/spec_dflash-*.json, logs/*.engine.log).

The A6000 pair, 2026-11-29

docker-compose.yml now holds the best setup found for the two RTX A6000s in the bake-off of 2026-11-29. The figures below are from vLLM 0.34.0, two cards, a 262,144-token window, six requests allowed at once: one stream, six streams at once, and the time to the first token on a cold prompt of about 16,000 tokens.

Setup One stream Six streams Cold 16k prompt
Day-one settings: 8-bit KV cache, float16, NCCL 74 tokens/s 293 6.7 s
The same with vLLM's own all-reduce 75 323 7.1 s
This file: 16-bit KV cache, bfloat16, vLLM's own all-reduce, 4 drafts (middle of three runs) 69 338 7.9 s
3 drafts 73 349 8.8 s
5 drafts 65 290 8.9 s
Bigger prefill chunks (8192) 69 332 8.8 s
vLLM nightly of 2026-11-29 73 337 7.7 s
Nightly with --prefix-match-unit 64 70 331 7.9 s
DFlash2 draft model, 7 drafts (27% of drafts accepted) 78 333 8.0 s
Full 16-bit weights (Qwen3.8-27B-BF16) 52 241 to 254 6.9 s

Apart from five drafts and the full weights, everything is within the noise of the chosen setup. Nothing tried shortens the time to read a long prompt.

Quality was judged with the pelican test (/Users/cmoriarty/repos/pelican-bench), scored by eye (Claude's scores here). Vision was on in every try.

Try Setup Time Score
1 Day-one settings; cut off at an old 20-minute limit 20 min 84
2 This file 14 min 82
3 Full 16-bit weights, bigger prefill chunks 38 min 80
4 This file with the authors' sampling (temperature 1.0, top-p 0.95, top-k 20) 17.5 min 30

Try 4's game had no keyboard or pointer handler, so it could not be played. One try cannot blame the temperature, but it gives no reason to move from 0.6.

The stack itself (Portainer stack 126) was redeployed from this file on 2026-11-29 and checked: healthy after about 4 minutes, 64 to 72 tokens/s for one stream and 329 to 335 across six, a 262,144-token window reported by the server, a KV cache of 749,543 tokens, a real screenshot read correctly, and the warm-up helper ran.