Verified, then logged.
Mon 30 Nov 2026 · 01:58 KST / 16:58 UTC한국어 | ENSearch /

01 / AI · Analysis

DFly2 lifts Hy4-flash decoding speed 3.41× in tests

In the same agent tests, Hy4-flash with DFly2 averaged 1.67× the end-to-end speed of Hy4-flash alone.

Tencent said on 26 Nov 2026 that it had released the weights, training code and technical report for DFly2, an auxiliary model for generating responses. Tencent lists the release contents in its AngelSpec repository, and the Hy4-flash weights for DFly2 are available on Hugging Face.

With DFly2 attached, Hy4-flash averaged 3.41× the decoding speed and 1.67× the end-to-end speed of Hy4-flash alone in AngelSlim’s published agent tests. Decoding measures response generation, while the end-to-end measure also includes input processing.

The tests ran on NVIDIA H20 GPUs with one request at a time, selecting the highest-probability token at each step. Tokens are the units into which the model splits text. The model card gives no date for support in vLLM, a tool for running models.

Speed including input processing

DFly2 builds no separate cache during prefill, the stage when the model first reads the input. AngelSlim said this design leaves prefill speed unchanged. In AngelSlim’s AgentLongBench test, Hy4-flash with DFly2 reached 4.55× the decoding speed and 1.35× the end-to-end speed of Hy4-flash alone.

During response generation, DFly2 uses speculative decoding, in which an auxiliary model proposes candidate tokens and the main model checks them. DFly2 and DSpark were trained on the same data with the same settings.

In AngelSlim’s agent comparison, DFly2 averaged 4.11 accepted tokens per step and DSpark averaged 3.16. Both averages count the token added by the main model when the test selects the highest-probability token at each step.

How DFly2 reuses the main model’s cache

A key-value cache stores intermediate results from tokens the model has already read so it can reuse them when generating new tokens. In the comparison, DFlash kept its own cache for the full context, while DSpark’s cache held only the most recent 512 tokens.

Each DFly2 layer reads the keys and values stored by the corresponding Hy4-flash layer at positions that Hy4-flash has already selected. Those positions can lie anywhere in the context. Each DFly2 layer reads up to 2,048 positions per step, regardless of context length.

Hy4-flash uses 17.2 KiB of cache space per token. AngelSlim calculated that a three-layer auxiliary model with its own full-context cache would add 3.4 KiB per token. With DFly2 and its shared cache, AngelSlim said the same cache capacity could hold 1.19× as many requests at 32K tokens.

Deployment requirements for Hy4-flash

The DFly2 weights released for Hy4-flash use generation blocks that contain an anchor token and five candidate tokens. DFly2 shares Hy4-flash’s input layer, which converts tokens into vectors, and its output layer, which scores possible next tokens. The DFly2 repository omits the weights for those shared layers.

DFly2 runs alongside Hy4-flash in deployment. The DFly2 weights carry the Apache-2.0 licence, and the Hy4-flash weights carry a separate licence. AngelSlim said it would add deployment instructions to the model card once vLLM supports the DFly2 weights.