You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Recommended FP8 recipe for Blackwell (B200)? Per-tensor FP8_DEFAULT_CFG underperforms BF16 at prefill; NVFP4 much faster. Also: exported FP8 checkpoint has no KV q/k/v_scale #2015
Quantizing Mistral-24B with hf_ptq.py for B200/vLLM deployment. Per-tensor static FP8 (FP8_DEFAULT_CFG)
is net slower than BF16 in vLLM (prefill ~2× slower; decode faster), whereas NVFP4 (--qformat nvfp4) is
~2× faster than FP8 and beats BF16 on all metrics. Want to confirm the recommended recipe and understand two
export details.
Bench (vllm bench serve, random 300in / 64out, conc 64):
Config
req/s
TTFT P50 (ms)
TPOT P50 (ms)
BF16
44.4
547
13.7
per-tensor FP8 (+FP8 KV)
36.2
1010
7.1
per-tensor FP8 (+BF16 KV)
38.8
660
7.7
NVFP4
84.1
313
6.8
Long prompts (2048in/64out, conc 32): per-tensor FP8 15.6 req/s vs NVFP4 23.1 req/s.
vllm bench command: vllm bench serve --model <model-path> --host <host> --port <port> --dataset-name random --random-input-len 300 --random-output-len 64 --num-prompts 1000 --max-concurrency 64'
Note that I have issues on other models quantized in the same way and served through Tensorrt with the torch backend as well.
Expected behavior
I expect fp8 models to go faster than bf16, both with quantized and not quantized kv cache
Release follow-up: this open ModelOpt issue needs release relevance confirmed. Link its planned fix/validation, or confirm it is not a v0.46.0 blocker.
The existing numbers already suggest two effects are being mixed together.
Per-tensor FP8 + FP8 KV:
much worse TTFT;
better decode.
Per-tensor FP8 + BF16 KV:
TTFT recovers substantially;
decode remains better than BF16.
So I would benchmark this as a 2-D matrix:
model format
BF16;
FP8;
NVFP4.
KV format
BF16;
FP8 where supported.
For each:
prefill tok/s;
decode tok/s;
TTFT;
TPOT;
peak VRAM;
actual serving kernel/backend selected.
That would distinguish a poor FP8 weight recipe from a KV-cache implementation/path problem.
It would also be useful to document whether exported FP8 checkpoints are expected to contain explicit q/k/v_scale metadata or whether the target runtime derives those scales elsewhere.
"Hey @jenchen13, I'm analyzing the FP8 vs NVFP4 prefill bottleneck reported here. I'll set up a reproduction script using the FP8_DEFAULT_CFG recipe and share the TTFT/TPOT breakdown across different KV cache formats."
Activity
ChenhanYu commentedon Aug 2, 2026
Software Release Triage
release: ModelOpt v0.46.0
fingerprint: f284fea27c192d58ffb73369fbb1fa2aed7a646850b3708185c777962e1b4ac1
This open issue is in the ModelOpt release sweep. Owner: confirm release impact, linked fix/validation, or that it is non-blocking for this release.
ChenhanYu commentedon Aug 2, 2026
Software Release Triage
release: ModelOpt v0.46.0
fingerprint: fc256f2a3c81006507e2886789898ceecc96601886cfff92b6b686f92bfcc723
This open issue is in the ModelOpt release sweep. Owner: confirm release impact, linked fix/validation, or that it is non-blocking for this release.
ChenhanYu commentedon Aug 2, 2026
Software Release Triage
release: ModelOpt v0.46.0
fingerprint: aeb6c1bd4aa116d826f2a6ac8d03556075597403de0e4f5ab7f41abd9a2e0217
Release follow-up: this open ModelOpt issue needs release relevance confirmed. Link its planned fix/validation, or confirm it is not a v0.46.0 blocker.
kvnloo commentedon Sep 28, 2026
The existing numbers already suggest two effects are being mixed together.
Per-tensor FP8 + FP8 KV:
Per-tensor FP8 + BF16 KV:
So I would benchmark this as a 2-D matrix:
model format
KV format
For each:
That would distinguish a poor FP8 weight recipe from a KV-cache implementation/path problem.
It would also be useful to document whether exported FP8 checkpoints are expected to contain explicit
q/k/v_scalemetadata or whether the target runtime derives those scales elsewhere.pratiktech28 commentedon Oct 25, 2026
"Hey @jenchen13, I'm analyzing the FP8 vs NVFP4 prefill bottleneck reported here. I'll set up a reproduction script using the FP8_DEFAULT_CFG recipe and share the TTFT/TPOT breakdown across different KV cache formats."