According to 动察 Beating's monitoring, the Qwen team has open-sourced FlashQLA, a high-performance operator library for GDN (Gated Delta Network, used across the Qwen3-Next/3.5/3.6 series) targeting. On the H200, it was tested that the forward pass is 2-3 times faster than the FLA Triton kernel, and the backward pass is 2 times faster; compared to FlashInfer, in the TP8 scenario, the forward pass is up to 5.33 times faster.
The core of the speedup lies in leveraging the exponential decay nature of GDN gate values to perform in-core Auto Context Parallelism (AutoCP). The traditional approach requires computing a correction matrix M to concatenate the states of various sub-sequences, with the computational cost sometimes exceeding that of the state matrix itself. FlashQLA found that 60%-80% of the gate values on the attention heads do not stay at 1 permanently, requiring only a warm-up of 6-8 chunks to reduce the state error to below the noise level, thus skipping the computation of M directly. The system will automatically determine whether to enable CP based on batch size, number of heads, and sequence length, without manual configuration.
At the operator level, FlashQLA does not fuse the entire computation flow into a single kernel or split it into stepwise independent kernels. Instead, it compromises by splitting it into two fused kernels and inserting CP preprocessing in between. Inside each kernel, TileLang is used to achieve warp-level specialization, with one producer warp group responsible for data movement and three consumer warp groups calculating different intermediate variables, overlapping memory access and computation through a ping-pong structure. The speedup is most significant in scenarios with multiple TP shards and fewer heads, which aligns perfectly with the typical configuration of large model multi-card deployment and edge agent inference.
