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
Requesting first-class support for serving NVFP4 DeepSeek-V4-Flash-0731 checkpoints (e.g. Rarri/DeepSeek-V4-Flash-0731-NVFP4) with FP4 KV cache (nvfp4 / nvfp4_ds_mla) and DSpark speculative decoding on SM121 (NVIDIA GB10 / DGX Spark, 2-node TP=2).
Today this combination does not work on vLLM main. We currently run it on a fork of jasl's branch (PR #41834) which serves the NVFP4 checkpoint but cannot do DSpark speculative decoding with it (draft loader fails with KeyError: 'layers.0.ffn.experts.routed_experts.w13_input_scale'). vLLM main v0.27.1 fails earlier at startup on SM121 with the DeepGEMM "Unknown SF transformation" error (see #51884).
🚀 The feature, motivation and pitch
Summary
Requesting first-class support for serving NVFP4 DeepSeek-V4-Flash-0731 checkpoints (e.g.
Rarri/DeepSeek-V4-Flash-0731-NVFP4) with FP4 KV cache (nvfp4/nvfp4_ds_mla) and DSpark speculative decoding on SM121 (NVIDIA GB10 / DGX Spark, 2-node TP=2).Today this combination does not work on vLLM main. We currently run it on a fork of jasl's branch (PR #41834) which serves the NVFP4 checkpoint but cannot do DSpark speculative decoding with it (draft loader fails with
KeyError: 'layers.0.ffn.experts.routed_experts.w13_input_scale'). vLLM main v0.27.1 fails earlier at startup on SM121 with the DeepGEMM "Unknown SF transformation" error (see #51884).Environment
Rarri/DeepSeek-V4-Flash-0731-NVFP4producer: dsv4-nvfp4-experts-mtp-fallbackquant_method: fp8,quant_algo: MIXED_PRECISION,moe_quant_algo: NVFP4,group_size: 16,format: e4m3deepseek-ai/DeepSeek-V4-Flash-0731codex/ds4-sm120-min-enable(PR [New Model][Nvidia] Add SM12x support for DeepSeek V4 Flash with essential fixes #41834), imagevllm-jasl-41834:latest— serves NVFP4 but no DSparkfp8,fp8_ds_mla,nvfp4,nvfp4_ds_mla--speculative-config '{"method":"dspark","num_speculative_tokens":5,"draft_sample_method":"probabilistic"}'--gpu-memory-utilization 0.85,--block-size 256,MTP_NUM_TOKENS=5,MAX_MODEL_LEN=131072,MAX_NUM_SEQS=4What we want
nvfp4/nvfp4_ds_mla).What fails today
On vLLM main (v0.27.1, official
vllm/vllm-openai:v0.27.1-aarch64-cu129)Startup fails on SM121 with the DeepGEMM scale-layout error:
This is the same class of failure as #51884 / #51758 (DeepGEMM SM120/121 regression). Full report: #51884.
On jasl's fork (PR #41834) — NVFP4 serves, but DSpark fails
The NVFP4 checkpoint loads and serves, but enabling DSpark fails during draft weight loading:
The draft loader expects a scale tensor that is absent from the NVFP4 draft params, so speculative decoding cannot be enabled for the NVFP4 target.
Related issues / PRs
deepseek_v4_fp8for the draft)Request
Please add/validate end-to-end support for NVFP4 DeepSeek-V4-Flash-0731 + FP4 KV cache + DSpark speculative decoding on SM121, including:
w13_input_scale/ NVFP4 scale tensors).nvfp4/nvfp4_ds_mlaKV cache path works with DSpark on SM121.Happy to test any branch / provide logs.