scripts/setup.sh — GENESIS_PIN bumped from bf667c7 (v7.54) to 917519b (v7.62.x release, 2026-04-29). New patches: PN8 (MTP draft online-quant propagation, backport of vllm#40849), PN11 (Quentin-M streaming tool-call IndexError fix vllm#41142), per-GPU profile auto-rec, k8v4 unlock on hybrid GDN via P4+P98. PN8 enabled on FP8 paths only: - tools-text.yml: -900 MiB at boot, Cliff 1 25K tool prefill closes, -7% code TPS. Net win — production-safe for tool-using agents. - fast-chat.yml: -800 MiB at boot, no cliff to test at 20K, -4.7% code TPS. Free VRAM is useful for tighter mem-util configs. PN8 not enabled on TQ3 paths (default 48K, long-vision, long-text) or dual configs: - default 48K: PN8 is no-op on TQ3 + 0.92 (plenty of headroom already) - long-vision: PN8 grows KV pool 230 MiB and lifts engine ceiling 192K → 198K, but does NOT close Cliff 1 — the 138 MiB allocate is an FFN intermediate-buffer activation peak (intermediate_size × max-num- batched-tokens), not a draft-model footprint - long-text: engine ceiling at 206K is gated by attention-block-size divisor, not KV; PN8 has nothing to give - dual.yml: deliberately Genesis-less by design; not worth restructuring Verify-full passes on default 48K + v7.62.x without PN8 (8/8). Verify- stress on tools-text + PN8 passes all checks including the 25K tool prefill that was the launch-tweet headline caveat. Cross-rig data shared with Sandermage: https://github.com/noonghunna/qwen36-27b-single-3090/issues/1#issuecomment-4343317153 Docs updated: cross-cutting CHANGELOG, per-model CHANGELOG, USE_CASES.md (Cliff 1 closure note on tools-text), FAQ.md (Cliff 1 entry + new PN8 entry). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
18 KiB
Qwen3.6-27B — Changelog
Dated history for Qwen3.6-27B configs in this repo. Combines the single-card and dual-card timelines (both were previously separate repos; consolidated here 2026-04-28).
2026-04-29 — Genesis v7.62.x + PN8 enabled on FP8 paths
Sandermage shipped Genesis v7.62.x (commit 917519b) on 2026-04-29 with PN8 (MTP draft online-quant propagation — backport of vllm#40849) targeting the FP8+MTP memory-headroom problem. We benched the patch across all 5 single-card composes that use Genesis:
| Compose | KV | mem-util | PN8 effect | TPS Δ | Verdict |
|---|---|---|---|---|---|
tools-text.yml (75K, fp8) |
fp8 | 0.97 | −900 MiB at boot · Cliff 1 closes ⭐ | −7% code | PN8 enabled |
fast-chat.yml (20K, fp8) |
fp8 | 0.95 | −800 MiB at boot | −4.7% code | PN8 enabled |
docker-compose.yml (48K, TQ3) |
TQ3 | 0.92 | no-op (already plenty of headroom) | −3% / −5% | PN8 not enabled |
long-vision.yml (192K, TQ3) |
TQ3 | 0.98 | KV pool +230 MiB, engine ceiling 192K → 198K, but Cliff 1 still fires | −5% | PN8 not enabled (commented in env, opt-in) |
long-text.yml (205K, TQ3) |
TQ3 | 0.98 | no effect (engine ceiling capped by block-size divisor at 206K) | not benched | PN8 not enabled |
Why split-decision: the Cliff 1 OOM that ampersandru hit on long-vision.yml is an FFN intermediate-buffer activation peak (138 MiB allocate at intermediate_size=17408 × max-num-batched-tokens=4128), not a draft-model footprint. PN8's quant-config propagation doesn't reach that buffer on TQ3 paths. On FP8 paths the draft head's own footprint shrinks meaningfully — that's where the win is.
Cross-rig data + analysis posted to Sandermage: single-3090 #1 comment 4343317153.
Other v7.62.x items relevant to us (not yet benched here):
- PN11 (Quentin-M, vllm#41142 streaming tool-call IndexError fix) — applies cleanly via the auto-detected REC; planned to enable in tools-text + fast-chat next pass.
- TurboQuant k8v4 unlocked on hybrid GDN via P4 + P98 — Sandermage's A5000 measurement +1.9%; we'll bench on dual.
- Per-GPU recommendation system (
vllm/_genesis/gpu_profile.py) — boot log now lists[REC]/[OFF]per patch on this card. Nice ergonomics.
2026-04-28 (post-launch) — llama.cpp Q3_K_XL + Docker compose + stress-test findings + VRAM diagram
- First measured TPS for UD-Q3_K_XL on this stack: 21.22 narr / 20.79 code @ 262K context + vision (single 3090, q4_0 KV). VRAM 20.17 GB / 24 GB at boot. Lower than memory's 28.5 baseline (Q4_K_M, 2026-04-23 on llama.cpp commit
9ab47e7d8) — investigating mainline regression vs current0d0764dfd. ngram-mod path measured at 22.04 / 26.11 (+25% on code, draftless via--spec-type ngram-mod). - llama.cpp Docker compose at
models/qwen3.6-27b/llama-cpp/compose/:docker-compose.yml— single slot, 262K ctx, q4_0 KV, vision via mmproj. Usesghcr.io/ggml-org/llama.cpp:server-cuda.docker-compose.concurrent.yml— 4 parallel slots, 192K ctx pool, vision. Multi-tenant variant.
- All three llama.cpp configs pass verify-full + verify-stress on this stack. Crucial finding: llama.cpp R1 (Q4_K_M @ 262K + q4_0 KV), Q3_K_XL @ 262K + vision, and Q4_K_M + ngram-mod @ 32K all clear the 90K needle ladder + 25K tool-prefill checks. No Cliff 1, no Cliff 2 — the prefill OOMs that bite vLLM single-card 192K configs don't fire in llama.cpp on this model. Trade is the ~2-3× lower TPS (21 vs 51-55 vLLM). Reframes our launch positioning around "vLLM dual = max throughput, llama.cpp single = max robustness." Single feature gap: llama.cpp doesn't peel
<think>intoreasoning_content(parser issue, not model). Tool calling, streaming, vision, output quality all clean on--jinja. models/qwen3.6-27b/README.md— added "VRAM allocation across configs" section with embeddeddocs/img/vram-budget-dual.svg. Per-card stacked bars across 7 configs (3 single, 4 dual) showing weights / KV / vision / DFlash draft / activations / free headroom on the 24 GB budget. Visualizes the TP=2 unlock concretely.models/qwen3.6-27b/llama-cpp/README.md— quant table updated. UD-Q3_K_XL marked ⭐ as our default with citation to Benjamin Marie's Kaitchup Q3.6-27B GGUF eval — independent H100-validated pick of Q3_K_XL as the optimal accuracy/efficiency/footprint balance, complementary to our 3090 speed measurements.
2026-04-28 — Split verify-full.sh → verify-full.sh (fast) + verify-stress.sh (boundary)
Recent additions to verify-full.sh (#8 tool-prefill OOM, #9 cascade detection, #10 MTP AL) made the script slow — the longctx needle ladder (#7) alone could run 5+ min, and the full 10-check suite was approaching 10 min. Awkward for "is the stack functional" iteration during dev work.
Split into two scripts:
-
verify-full.sh— fast functional smoke, 8 checks, ~1-2 min. Contains: server reachability, Genesis patches applied, basic completion (Paris), tool calling, streaming, thinking mode, output quality / cascade detection, MTP acceptance length. Run after every config change to confirm the stack still serves cleanly. -
verify-stress.sh— boundary-case stress test, 2 checks, ~5-10 min. Contains: long-context needle ladder (4 depths up to 90K tokens) + tool-response prefill OOM (~25K-token mock tool message). Run before publishing or when investigating prefill-OOM regressions specifically.
Same env-var conventions (URL, MODEL, CONTAINER, SKIP_LONGCTX, SKIP_TOOL_PREFILL, PREFILL_TARGET_CHARS). Both pass on the new club-3090 default + dual.yml + dual-turbo.
2026-04-28 — Dual-card re-bench on club-3090 substrate (revised TPS numbers)
The published dual-card TPS numbers were measured pre-v714 formalization (April 24-25 timeframe), on a different vLLM nightly + Genesis tree. Re-benched all 4 dual composes on the club-3090 unified substrate (dev205 + Genesis v7.51-stable + Marlin pad fork mounted) to reconcile.
Also: caught a stale mount path in dual-turbo.yml — predecessor mounted patch_tolist_cudagraph.py from ../patches/genesis/ (where it lived in the old qwen36-dual-3090 layout); club-3090 has it at ../patches/ (top-level). Fixed before measurement; container booted clean. All other composes already had correct paths.
Measured numbers (3 warmup + 5 measured per prompt arm, narr 1000 tok + code 800 tok):
| Compose | Narr TPS (CV) | Code TPS (CV) | TTFT | MTP/DFlash AL | VRAM/card | Was claimed | Δ% |
|---|---|---|---|---|---|---|---|
| dual.yml | 69.05 (2.3%) | 88.58 (3.4%) | 145ms | 3.38-3.48 | 23.6 GB | 71/89 | -3% / -1% |
| dual-turbo.yml (now TQ3) | 53.65 (2.7%) | 72.93 (2.7%) | 113ms | 3.41-3.42 | 24.1 GB | 58/69 (k8v4) | -8% / +6% |
| dual-dflash.yml | 81.94 (4.3%) | 124.93 (5.8%) | 138ms | 4.10-4.35 | 23.6 GB | 78/128 | +5% / -2% |
| dual-dflash-noviz.yml | 78.19 (2.5%) | 126.99 (2.2%) | 143ms | 4.24-4.37 | 23.8 GB | 77/124 | +2% / +2% |
Net: most numbers within run-to-run variance. The dual.yml fp8 path is essentially unchanged. dual-turbo's TQ3 swap (from k8v4) cost ~8% narrative but recovered ~6% code — net trade for ~9× the KV pool capacity.
All 4 composes pass verify-full.sh functional checks (skipped longctx ladder on the DFlash variants for time; fp8 + MTP variants pass full 10/10 including the 90K-token needle). Updated all docs (README compose table, USE_CASES.md, dual.yml header, dual-turbo.yml header) with the measured numbers.
2026-04-28 — Add long-vision + long-text composes (R3' / R3''' from formal v714 round)
Previously the 192K and 205K opt-in tiers were documented as "edit max-model-len + mem-util in docker-compose.yml" — fragile for reproducibility against published bench numbers. Promoted both to dedicated compose files:
docker-compose.long-vision.yml— TQ3 + Genesis P65 + MTP n=3 + 192K + 0.98 mem-util + vision tower active. Matches R3' bench row (50.93 narr / 67.69 code TPS, AL 3.40-3.58 80-86% accept). Container name:vllm-qwen36-27b-long-vision. Same prefill caveats as edit-the-default did.docker-compose.long-text.yml— Same config +--language-model-only+ max-model-len 205K. Matches R3''' (50.11 narr / 65.84 code TPS). Container name:vllm-qwen36-27b-long-text.
Trade-off: 2 more compose files (now 11 vs 9). Net: every published bench row from the v714 formalization round (R2, R3, R3', R3''', R4, R6, R7) now boots cleanly with one -f flag — no error-prone editing for users who want to reproduce. R1 (eager) and R5 (longctx) stay deleted (obsolete, not niche).
Header references updated: model README compose table, USE_CASES.md frontier-context section, default's variant matrix, vllm/README.md "Pick a compose" code block.
2026-04-28 — Repo migration to club-3090
Configs migrated from the predecessor repos (qwen36-27b-single-3090, qwen36-dual-3090) into this repo's models/qwen3.6-27b/vllm/compose/ directory. File renames:
| Old path | New path |
|---|---|
qwen36-27b-single-3090/compose/docker-compose.yml |
models/qwen3.6-27b/vllm/compose/docker-compose.yml |
qwen36-27b-single-3090/compose/docker-compose.fast-chat.yml |
models/qwen3.6-27b/vllm/compose/docker-compose.fast-chat.yml |
qwen36-27b-single-3090/compose/docker-compose.tools-text.yml |
models/qwen3.6-27b/vllm/compose/docker-compose.tools-text.yml |
qwen36-27b-single-3090/compose/docker-compose.no-genesis-mtp.yml |
models/qwen3.6-27b/vllm/compose/docker-compose.no-genesis-mtp.yml |
qwen36-27b-single-3090/compose/docker-compose.minimal.yml |
models/qwen3.6-27b/vllm/compose/docker-compose.minimal.yml |
qwen36-dual-3090/compose/docker-compose.yml |
models/qwen3.6-27b/vllm/compose/docker-compose.dual.yml |
qwen36-dual-3090/compose/docker-compose.turbo.yml |
models/qwen3.6-27b/vllm/compose/docker-compose.dual-turbo.yml |
qwen36-dual-3090/compose/docker-compose.dflash.yml |
models/qwen3.6-27b/vllm/compose/docker-compose.dual-dflash.yml |
qwen36-dual-3090/compose/docker-compose.dflash-noviz.yml |
models/qwen3.6-27b/vllm/compose/docker-compose.dual-dflash-noviz.yml |
qwen36-27b-single-3090/patches/patch_tolist_cudagraph.py |
models/qwen3.6-27b/vllm/patches/patch_tolist_cudagraph.py |
Functional content identical — only paths changed. Anyone with scripts referencing the old paths needs to update; the old repos still serve the old paths read-only.
2026-04-28 — Compose rename: v7.14 is the zero-arg vLLM default (single-card)
Breaking change at the time (mitigated by being on a small-audience repo).
docker-compose.v714.yml→docker-compose.yml. Runningdocker compose up -d(with no-fflag) now boots the production-safe TQ3 + Genesis v7.14 + MTP n=3 + 48K + 0.92 config.- The previous zero-arg default (fp8 + MTP n=3 + 20K) →
docker-compose.fast-chat.yml. Pick this one when you only need ≤20K context and want the maximum-TPS chat path (~5-7% faster than the new default). docker-compose.longctx-experimental.yml→ deleted. Superseded by the default's opt-in 128K + 0.95 tier.
2026-04-28 — Prefill-OOM tests + safe v714 default
Triggered by ampersandru's production OOM report (noonghunna/qwen36-27b-single-3090#1) — a Hermes-class agent fetching ~25K tokens of news as a tool reply at 192K context crashed the engine.
Discovered two distinct activation-memory cliffs on this hardware:
- Cliff 1 — TurboQuant attention scratch + tool-response prefill, fires on ≥25K-token tool messages at high
--gpu-memory-utilization. OOM site: TurboQuant forward (dequant scratch + mid_o/output buffers), ~138 MiB allocate. - Cliff 2 — DeltaNet/GLA recurrent state buffer, fires on any single prompt above ~50-60K tokens regardless of mem-util. OOM site:
fla.ops.chunk.chunk_gated_delta_rule_fwd_h.h.new_empty(...). NT grows linearly with prompt length; chunked-prefill doesn't help.
Shipped:
verify-full.shextended from 7 → 10 checks: #8 tool-response prefill OOM, #9 output quality / cascade detection, #10 MTP acceptance length threshold.verify-full.sh #7long-context needle ladder treats engine HTTP 400 (oversize ctx rejection) as a clean "skipped at this depth" rather than a failure.- vLLM single-card default lowered to 48K + 0.92 — below both cliffs. All 10 checks pass.
- README/docs document the full opt-in matrix (64K → 205K) with safe single-prompt + tool-prefill envelopes per tier.
- Three-layer defense documented: vLLM
--max-model-lenHTTP 400 rejection + agent-framework truncation + system-prompt limits.
TPS unchanged at the new default: 51 narr / 68 code TPS (CV ~2.3%). Hardware-bound.
2026-04-28 — Inherited prefill-OOM tests on dual-card
The dual-card stack adopted the new verify-full.sh checks for safety even though TP=2 + fp8 KV (the dual-card default) gives much wider safety margins than single-card TQ3 KV — the cliffs are not active failure modes on dual hardware.
All compose variants pinned to vllm/vllm-openai:nightly-07351e0883470724dd5a7e9730ed10e01fc99d08 (= vLLM dev205+g07351e088). Previously some tracked :nightly and drifted with upstream.
2026-04-27 — Full-matrix re-bench + substrate unification (single-card)
Discovered and fixed four real compose drift bugs during a complete re-bench cycle:
- Image split: composes had drifted across two different vLLM image pins. All six unified to
vllm/vllm-openai:nightly-07351e0883470724dd5a7e9730ed10e01fc99d08. eager.ymlconfig drift: shipped withgpu-memory-utilization=0.92andmax-model-len=131072while @ampersandru's actual measurement was0.97+125000. As-shipped failed to boot. Compose deleted entirely.v714.ymlmount path:patch_tolist_cudagraph.pywas mounted from a wrong path. Fixed.- Bench harness regression:
scripts/bench.shhad silently dropped the code-prompt arm. Restored. - Genesis exoneration: A/B between default + Genesis vs no-Genesis confirmed Genesis is performance-neutral on the fp8+MTP path. Cross-rig confirmed by u/sudeposutemizligi on TP=2 + dev45 + no Genesis (55 narrative / 68 code, same hardware class).
2026-04-27 — Removed: docker-compose.eager.yml (single-card)
Originally proposed by @ampersandru as a 125K path that bypasses the cudagraph bug class via --enforce-eager. Re-bench cycle measured 25.5 narr / 32.3 code — strictly dominated by longctx-experimental.yml at the same 125K context (38/50 TPS). Compose removed.
2026-04-27 — Patch hardening (single-card)
patches/patch_tolist_cudagraph.pywas silently failing on (a) any non-docker setup (hardcodeddist-packagespath) and (b) any vLLM nightly past the one we initially tested against. Fixed: patcher auto-discovers vLLM viaimport vllmand uses single-line regex anchors. Bug reported by @3dluvr in single-3090 #1.
2026-04-25 — Genesis v7.14 (Sandermage upstream)
Genesis v7.14 shipped with the P65 patch root-causing vllm#40880 — the silent tool-call cascade bug under MTP × TurboQuant × cudagraph. P65 forces cudagraph_mode=PIECEWISE for spec-decode → eager continuation runs the correct branch.
This shipped as a workaround. The proper fix is a custom multi-query Triton kernel (P67) that handles K+1 query against compressed cached KV under cudagraph capture — designed-but-not-implemented as of v7.14.
The dual-card Turbo variant (docker-compose.dual-turbo.yml) loads Genesis v7.14 with P64/P65/P66/P68/P69 enabled via env vars. ~25% per-stream TPS regression vs fp8 default but 4.59× concurrency at full 262K vs fp8's 2.36× — aggregate throughput exceeds fp8 above ~3 concurrent streams.
We adjusted two consumer-Ampere knobs vs Sandermage's A5000-class defaults: gpu-memory-utilization 0.92 → 0.85 and max-num-batched-tokens 8192 → 4128. Without these, deep-prefill (60K+) requests OOM on 24 GB cards.
2026-04-22 — DFlash N=5 + Qwen3.6-27B (Luce z-lab fork)
Luce z-lab's DFlash spec-decode draft model for Qwen3.6-27B clears verify-full.sh on dual-3090. Single-stream 78 / 128 TPS narr/code — substantially faster than MTP n=3's 71 / 89.
Two DFlash variants ship in the dual-card path:
docker-compose.dual-dflash.yml— vision + DFlash N=5 + 185K contextdocker-compose.dual-dflash-noviz.yml— text-only + DFlash N=5 + 200K context
Required workaround: vllm#40334 (DFlash combine_hidden_states dtype mismatch) is open. Compose sets --dtype bfloat16 to match the draft's training dtype.
2026-04-15 — Marlin pad-sub-tile-n (PR #40361 — our patch)
Filed vllm#40361 — fixes a crash in vLLM's Marlin INT4 kernel where output features < 64 cause GPTQ_MARLIN_MIN_THREAD_N (64) > out_features on TP=2.
Status: OPEN, MERGEABLE, awaiting maintainer review. Until it lands, dual-card composes volume-mount our patched fork at /opt/ai/vllm-src/.
2026-04-08 — Initial dual-card release
vLLM-based dual-3090 recipe shipping at TP=2 with fp8 KV + MTP n=3, full feature parity with the single-card project plus the Marlin pad workaround. Was its own repo at the time; now lives here.
Earlier — Initial single-card release
Initial single-card release shipped a docker-compose.longctx-experimental.yml at 125K with cudagraph_mode=NONE as the long-context option. v7.14 superseded this; deprecated and removed during 2026-04-27 cleanup.