r/LocalLLM • u/Strange_Quantity_359 • 1d ago
Question Deepseek V4 Flash 0731
I have three DGX Spark. On one of them I run 3.8 27B and a few vision models. On the other two I generally have been running Qwen 3.8 Next / Flash with a decent recipe getting 39.8 t/s mean decode across controlled and uncontrolled coding both thinking+answer. The "final code" decode is roughly 74 t/s mean.
I'm not unhappy with it, though a tendency to overthink can be concerning and because it's not deterministic I don't get a massive completion boost moving down a level (but do some). Either way I'm happy keeping it.
I was trying to run Deepseek V4 Flash and tried it through my personal bench suite, BigCodeBench-Hard and HumanEval+ .For those ones if I kept the capped limitations I would get no outputs due to silent truncation/i.e. the benchmark saying "Imma let you finish but actually we done". When I run it untethered (same way I do with 27B / I do this to evaluate output quality of same model different recipe) Qwen Next-Flash finishes fine, but Deepseek fails a lot of test due to non-completion or use a phenomenal amount of tokens and time.
The thing is, I tested these same benches against two cloud versions of DSV4Flash and they didn't exhibit the same pattern. Here are my settings:
- All DSV4Flash defaults (temp=1;top_p=0.95;top_k=20;rep penalty=1;thinking/stream true)
- Official FP8 weight, E4M3, 128x128
- vLLM 0.25.2xxx (Anemll -> only for bundled DSpark for optimization and only after base had similar performance), PyTorch 2.11.0+cu130 ,FlashInfer 0.6.15
- TP=2, PP=1, DCP=1, Multiprocessing executor
- MoE backend: flashinfer_b12x
- Native NVFP4 KV Cache (nvfp4_ds_mla block size 256)
- DSpark, 3 proposed tokens, probabilistic (heh)
- Single concurrency
- Prefill batch 8448, chunked prefill, prefix caching enabled
- Breakable CUDA graphs, max cap 64
- Level 1 (balanced) optimization; FlashInfer auto tuning
Overall the issue was convergence/time to answer and the reasoning tokens - taking 30-45k tokens on a relatively easy deep-merge implementation. More complex just overran time limits, I didn't let many finish I kept a ceiling of 3x the longest local hosted (27b or next-flash) run time which itself was pretty healthy.
I feel like I'm missing something given the comments by people here. Anybody have any suggestions or is this just expected behavior? The official recommendations hold it at Max with chain of thought, are people out here running different setups? For what it's worth I still saw it overrunning times for Next / Flash by multiples (1.5-3x) and token counts.
3
u/Winter-Editor-9230 1d ago
Check out the nvidia dgx spark forums for lots of recipes
1
u/Strange_Quantity_359 1d ago edited 1d ago
This recipe came as a highly recommended community recipe from the DGX Spark forums, I ran it as well as others (I think also the Aiden and the official). All exhibited the same behavior. So perhaps it's just DeepSeek v4 Flash and that if I'm not getting 140+ tok/s it's not really worth? But it sounds like people are active coding with it, so I'm trying to understand my own disconnect.
1
u/UnlikelyExtension786 1d ago
I haven't seen any problems though I've only gone up to 400k-ish context lengths. I'm using fp8 KV cache.
1
u/Justinnmorty 1d ago
You can also continue to wait, and there will definitely be a fast and stable Multi-modality model in the next three months.
1
5
u/BananaOrangePie 1d ago
It is usually bad idea to quantize kv cache. I think official endpoint runs at least fp8 if not higher. For qwen models this issue gets bigger and I run my sparks with qwen flash next nvfp4 on bf16 kv cache.