FlashQLA:面向Gated DeltaNet的高效上下文并行框架
FlashQLA: Efficient Context Parallelism for Gated DeltaNet
FlashQLA是面向Gated DeltaNet的上下文并行执行框架,通过decay-aware预处理降低边界状态开销,并以Dual CP跨GPU扩展序列并行。单GPU上前向加速1.7倍至3.1倍、反向最高4.4倍;8 GPU、上下文长度达1M tokens时,Dual CP相对FLA KCP前向加速最高4.8倍,前向加反向合计加速4.4倍。
arXiv:2611.32039v1 Announce Type: new Abstract: Gated DeltaNet (GDN) achieves linear computational complexity through recurrent state updates, but sequential dependencies between chunks limit parallelism, particularly for long-context workloads with small batch sizes or limited head-level parallelism per GPU. We present FlashQLA, a context-parallel execution framework for GDN that exposes additional sequence-level parallelism while reducing boundary-state preprocessing overhead. FlashQLA reduces boundary-state preprocessing overhead through decay-aware preparation and extends sequence parallelism across GPUs with Dual CP, which shares summary computation across parallelism levels. Workload-adaptive Auto CP and CP-aware kernel co-design further improve execution efficiency. FlashQLA achieves $1.7\times$-$3.1\times$ forward speedup and up to $4.4\times$ backward speedup over Flash Linear Attention (FLA) on a single GPU. On eight GPUs with context lengths up to 1M tokens, Dual CP achieves up to $4.8\times$ forward speedup and $4.4\times$ speedup for combined forward and backward execution over FLA KCP.
来源:arXiv (AI + Vision + Imaging) · arxiv.org