DeepSeek released DeepSeek-V4-Flash-0731 yesterday, a substantial update to the V4 Flash preview. The 0731 checkpoint delivers massive agentic benchmark gains — Terminal Bench 2.1 jumps from 61.8 → 82.7, DeepSWE from 7.3 → 54.4, Toolathlon-Verified from 49.7 → 70.3, Agents' Last Exam from 15.8 → 25.2 — and is broadly competitive with much larger models.
The current recipes/deepseek-v4-flash.yaml points at the preview checkpoint (deepseek-ai/DeepSeek-V4-Flash) and uses MTP speculative decoding with 2 draft tokens and FP8 KV cache. The 0731 release enables a significantly better configuration:
1. Update model reference → deepseek-ai/DeepSeek-V4-Flash-0731
The 0731 checkpoint has the same architecture as the DSpark preview but with improved weights. 167 GB, 48 safetensor shards, MIT license.
2. Switch speculative decoding from MTP → DSpark
The 0731 checkpoint ships with a built-in speculative decoding module (DSpark). The official vLLM serving command now uses:
--speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"greedy"}'
This is a departure from the current recipe's MTP-based approach and should yield substantially higher decode throughput.
3. Add NVFP4 KV cache support for full 1M context
The current recipe uses --kv-cache-dtype fp8 with max_model_len: 500000. The 0731 official recipe uses --attention-config '{"use_fp4_indexer_cache": true}' alongside FP8 KV, while tonyd2wild's DSpark recipe demonstrates nvfp4_ds_mla KV cache dtype achieving 1M calibrated context (pushed to 1.5M) on DGX Spark hardware with NVFP4 compression.
NVFP4 KV compression roughly halves the KV cache memory footprint per token, which is the critical enabler for hitting 1M context on the memory-constrained DGX Spark platform.
4. Additional considerations
- tonyd2wild's Patch 4 is required when swapping to 0731 weights with DSpark (vLLM's DSpark draft weight loader silently drops twelve shared-expert tensors on 0731, halving throughput without it).
Related artifacts:
Proposed action: Update recipes/deepseek-v4-flash.yaml to target the 0731 checkpoint, add DSpark spec decode, add NVFP4 KV cache support (or a separate NVFP4 variant recipe), and raise max_model_len to 1,000,000 (or higher, per the tonyd2wild findings). The existing FP8 / MTP recipe could be retained as a fallback for users without NVFP4 support.
DeepSeek released
DeepSeek-V4-Flash-0731yesterday, a substantial update to the V4 Flash preview. The 0731 checkpoint delivers massive agentic benchmark gains — Terminal Bench 2.1 jumps from 61.8 → 82.7, DeepSWE from 7.3 → 54.4, Toolathlon-Verified from 49.7 → 70.3, Agents' Last Exam from 15.8 → 25.2 — and is broadly competitive with much larger models.The current
recipes/deepseek-v4-flash.yamlpoints at the preview checkpoint (deepseek-ai/DeepSeek-V4-Flash) and uses MTP speculative decoding with 2 draft tokens and FP8 KV cache. The 0731 release enables a significantly better configuration:1. Update model reference →
deepseek-ai/DeepSeek-V4-Flash-0731The 0731 checkpoint has the same architecture as the DSpark preview but with improved weights. 167 GB, 48 safetensor shards, MIT license.
2. Switch speculative decoding from MTP → DSpark
The 0731 checkpoint ships with a built-in speculative decoding module (DSpark). The official vLLM serving command now uses:
--speculative-config '{"method":"dspark","num_speculative_tokens":7,"draft_sample_method":"greedy"}'This is a departure from the current recipe's MTP-based approach and should yield substantially higher decode throughput.
3. Add NVFP4 KV cache support for full 1M context
The current recipe uses
--kv-cache-dtype fp8withmax_model_len: 500000. The 0731 official recipe uses--attention-config '{"use_fp4_indexer_cache": true}'alongside FP8 KV, while tonyd2wild's DSpark recipe demonstratesnvfp4_ds_mlaKV cache dtype achieving 1M calibrated context (pushed to 1.5M) on DGX Spark hardware with NVFP4 compression.NVFP4 KV compression roughly halves the KV cache memory footprint per token, which is the critical enabler for hitting 1M context on the memory-constrained DGX Spark platform.
4. Additional considerations
Related artifacts:
Proposed action: Update
recipes/deepseek-v4-flash.yamlto target the 0731 checkpoint, add DSpark spec decode, add NVFP4 KV cache support (or a separate NVFP4 variant recipe), and raisemax_model_lento 1,000,000 (or higher, per the tonyd2wild findings). The existing FP8 / MTP recipe could be retained as a fallback for users without NVFP4 support.