Open Source Published here Reported by AlphaSignal on

Tencent open-sourced the drafter behind Hy4 Flash — it borrows the target model's KV cache instead of keeping its own

Tencent's Hunyuan team open-sourced DFly2 on November 26, the speculative-decoding drafter that serves its Hy4 Flash model, released alongside AngelSpec v0.2.0, the training framework behind it. The trick is subtraction: instead of maintaining its own KV cache, DFly2 reads the target model's sparse cache and inherits the token positions the target's indexer already selected, so the drafter adds no second cache. Attention on a draft token touches at most 2,048 selected keys regardless of how long the context is. Reported numbers are up to 4.2 times peak generation speed on long-context and agentic work, roughly 30% faster than DSpark and 10.4% more accepted draft tokens. Weights ship for Hy4 Flash.

Why it matters

Speculative decoding usually costs you memory: the drafter is a second model with a second cache, and on long contexts that cache is what runs you out of GPU. A drafter that reads the target's cache and its selected positions removes that line item entirely, which is why the interesting number here is not the 4.2 times but the constant 2,048-key bound — drafting cost stops growing with context. Read 4.2 as a ceiling, since Tencent says so itself and the figure moves with batch size, acceptance rate and serving engine. The catch is coupling: this works because the drafter is welded to one sparse-attention design.

What to do

Pull the AngelSpec repo and run DFly2 against Hy4 Flash on your own long-context traffic, then check accepted tokens per draft step and KV pool occupancy rather than the headline multiple. If your target is a dense-attention model, stop there — the approach needs the target's sparse selections, so porting it is an architecture change, not a config flag. Confirm your serving stack can hand the drafter the target's cache before you plan around any of this.

Tags: Open Source Infrastructure Cost Optimization

More from November 29, 2026

All AI news