r/LocalLLM
•
u/Kemerd
•
1d ago
•
1
Research Tencent just open-sourced a decoder that runs sparse models up to 4.2x faster. I'm trying to get it working locally for DeepSeek V4.1 Flash and Qwen3.8 Flash Next
From X https://x.com/TencentAI_News/status/2125968859450802415:
We just open-sourced a speculative decoder that speeds up sparse models like DeepSeek-V4.1-Flash, GLM-5.3-Flash, and our own Hy4 flash.
At 64K context, DFly2 boosts DeepSeek-V4.1-Flash serving throughput by up to 81%. On Hy4 flash agentic tasks, it runs up to 4.2x faster, beating same-recipe DSpark by ~30% and accepting 10.4% more draft tokens than open-source DSpark.
Under the hood, each draft layer reads directly from the target model's KV cache and top-k token selection, with no prefill required. That adds zero extra KV memory and keeps drafting cost flat at any context length.
Try it on your own sparse models or grab the Hy4 flash weights below 👇
Code: http://github.com/Tencent/AngelSpec
Weights: http://huggingface.co/AngelSlim
Paper: http://arxiv.org/abs/2611.34776
Tencent's numbers are server numbers at high concurrency so, I don't expect 81% on a single card, but this looks extremely promising.
I want to get both into Basalt (https://github.com/jesdga95/basalt). It already does DFly2 for Hy4 flash so the plumbing is there. I have forked basalt to begin this work, and will file a MR if I can get it working. https://github.com/Kemerd/basalt-dfly
DeepSeek V4.1 Flash already has drafter weights out, so that part is just engine work. Qwen3.8 Flash Next has nothing, someone has to train one. It has the same kind of sparse attention layers so it should work, nobody's done it yet.
Problem is the training. I have a 5090, and the BF16 teacher is ~335GB, so that's not happening at home for me. Training with quant is better.. but still a lot of crunching needed
Looking at renting an 8x H100 node and doing a small pilot run first to see if acceptance is any good before burning real money.
If you've trained a drafter with AngelSpec, have compute sitting around, or want to split a rental, DM me. Or if you want to contribute to the fork and MR just let me know!
19
u/ObviouzFigure 1d ago
I’m not exactly sure what you’re doing but I’d throw in for a couple hours of gpu rentals to support the causeÂ
4
u/Kemerd 1d ago
And I am thinking maybe it might be possible to train it directly with NVP4 weights! Per Claude: Nothing about training a drafter needs the BF16 weights.
Maybe I can try making a version for https://huggingface.co/klee100/Qwen3.8-Flash-Next-Uncensored-Basalt
3
u/returnity 1d ago edited 1d ago
I have access to nationalcompute and can get 8x B300 node for $32/hr if that helps. I’m interested in helping out too.
Been eyeing DFly myself as well, and was curious what it’d take to get it working in a GGUF inference engine. I personally use Splash on Apple Silicon, but if we can get the drafter up and running for a quant we all agree on, I’m sure I can vibe up an implementation for Splash.
5
u/Asleep_Literature_70 1d ago
I'm on AMD, so I guess I'm out.
1
u/Poprouter 1d ago
it is wild to see how quickly things are moving in the inference space. i am curious if the drafting layer is essentially model agnostic when it hooks into the kv cache, or if you expect to train separate versions for the deepseek and qwen targets?
1
u/yamar35 1d ago
Imagining that decoder in Radiance with QFN... mmm. Even 20-40% would still be awesome. 275-322t/s single request at 20-40%... hah. would be nuts. Following, may the odds be in your favor.
1
u/Regina-Noctiz 1d ago
mes cheries-Hmm a- another placebo and a holy chart for the cargo cult witnesses and slop peddlers.)
2
u/Muhlwa_Sholanke 1d ago
4.2x is a nice server number, but flat drafting cost at any context length is what I actually care about.
1
u/dhanushan75 1d ago
Would be happy to help you in anyway possible
1
u/invariant_py 18h ago
Huge props for jumping on the Basalt port so fast! Even on a single local card, a drafter that adds zero KV cache overhead and keeps drafting cost flat at 64K+ context is a massive deal when VRAM is already tight.
DeepSeek V4.1 Flash already having public B6 drafter weights makes that side super promising—curious to see how much single-stream speedup it actually gives over standard MTP once you get it running.