Recipes

v100-skinny: NVFP4/FP8 Qwen3.8-27B serving on four used Tesla V100s

From README links · today

Research & KnowledgeSoftware & DevOps

Old Volta GPUs serve a modern quantized 27B model at 5090-class decode speed.

What they did

They took Qwen3.8-27B's published mixed NVFP4/FP8 checkpoint and made it run unchanged on four Tesla V100-SXM2-16GB cards from 2017, which have no native FP4 or FP8 support. Instead of requantizing FP8 layers down to FP4 (as v1.0 did) or keeping a persistent FP16 weight copy, they hand-wrote two kernels around Volta's mma.sync.m8n8k4 instruction: QPN2 for the NVFP4 regions (W4A16) and QPN8 for the FP8 regions (W8A16). They lowered ModelOpt's mixed-path gate to SM70 so the checkpoint's protected FP8 modules execute directly, with a boot gate that verifies the QPN2/QPN8 route census and zero reference fallbacks on every start. They kept FP16 activations and an FP16 KV cache, deliberately overriding the checkpoint's FP8-KV declaration because on SM70 it forced scalar paged attention at +4.82 ms/round. They then tuned speculative decoding: greedy MTP drafting with local-argmax reduction (worth 10-25 acceptance points), a decode-partition pin that recovered 0.7-2.6 ms/round, and a GDN speculative-state contract that removed 21 device syncs per step. Finally they benchmarked it against a single RTX 5090 running NInfer on AIME 2026 Problem 1 across five seeds, and shipped it as an OpenAI-compatible endpoint on 1Cat-vLLM.

How it went

Decode came out at 219.1 ± 5.9 tok/s versus 214.7 ± 9.2 tok/s for the RTX 5090 — 1.02x, intervals overlapping, which they explicitly call parity rather than a win. Both engines got 5/5 correct on the AIME problem. The mechanism is an exact cancellation: their round is 35% longer (26.9 vs 19.9 ms) but commits 38% more tokens per round (5.89 vs 4.27) because k=7 verification is cheap enough on QPN. The result is a working OpenAI-compatible Qwen3.8 endpoint, not a kernel demo, with zero fallback calls across 512/512 protected FP8 module instances on four ranks.

Worth knowing

This is a same-lab system comparison on the same base model, not a same-weight causal A/B — the two engines use different published NVFP4 artifacts. Prefill is roughly 4x slower than the 5090. The A$600 figure covers only the used accelerators, not the server or the rest of the build. The NVFP4 M 9-16 band still runs the first-generation QPN kernel; MT=2 ships for FP8 only. The GDN speculative-state timings were measured on the previous model generation and are not quoted. Single-stream only (--max-num-seqs 1), and the setup assumes NUMA pinning and locked application clocks.

Wiring

Four Tesla V100-SXM2-16GB in TP4, served through 1Cat-vLLM with an OpenAI-compatible API. The checkpoint is Qwen3.8-27B's published mixed NVFP4/FP8 artifact (RadixArk), loaded without requantization. Dispatch order: NVFP4 regions go to QPN2 (W4A16, packed routes, 71% of read roofline at M=8), FP8 regions go to QPN8 (W8A16, packed routes for M<=96, transient prefill reconstruction above that, MT=2 two-tile dispatch default-on for M 9-16). The checkpoint's lm_head routes to QPN2. A boot gate checks the route census and asserts zero reference fallbacks before serving. Activations and KV cache are FP16, overriding the checkpoint's FP8-KV declaration. Speculative decoding uses MTP with greedy drafting and local-argmax reduction at k=7. Serving config: GMU 0.88, decode partition pinned, --max-num-seqs 1, NUMA-pinned to socket 0, application clocks locked.

Try it yourself

Read the v100-skinny README and the QPN2/QPN8 kernel sources in this repo. I have four Tesla V100-SXM2-16GB cards and want to serve Qwen3.8-27B's published mixed NVFP4/FP8 checkpoint unchanged. First, map out the boot gate: which modules route to QPN2 vs QPN8, and how the SM70 mixed-path gate is lowered. Then walk me through the serving config (TP4, GMU 0.88, FP16 KV, pinned decode partition, MT=2, greedy MTP with local-argmax reduction) and tell me which of these settings are correctness-critical versus performance tuning. Finally, reproduce the AIME 2026 Problem 1 benchmark across seeds 1001-5005 at temperature 0.6, top-p 0.95, top-k 20, presence penalty 1.0, reasoning_effort medium, and report decode tok/s, tokens committed per round, and round latency. Flag anything in my environment that would silently fall back to Marlin.

Source

Tools in this stack

Run this stack

Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.

npx runchr install runchr/stack-v100-skinny-and-vllm
No CLI?curl -s https://api.runchr.com/api/recipes/runchr/stack-v100-skinny-and-vllm/manifest

This stack has no prompt yet. You get the tools and the wiring, not the prompt.

The manifest is also at api.runchr.com/api/recipes/runchr/stack-v100-skinny-and-vllm/manifest.