基于序列意识的分割启发式方法以缓解FlashAttention-3在低头数解码中的SM不足
Sequence-Aware Split Heuristic to Mitigate SM Underutilization in FlashAttention-3 Low-Head-Count Decoding
AI总结:
本文提出一种序列感知的分割策略,通过在低头数情况下实现序列级并行,提升硬件利用率,从而在元数据启用的推理路径中提高解码内核效率约21-24%。
摘要:
标准的FlashAttention-3启发式方法在低头数解码配置中存在GPU占用瓶颈,因为它仅根据序列长度禁用序列分割,导致Hopper GPU的流式多处理器未被充分利用。我们提出的序列感知分割策略通过在低头数情况下实现序列级并行,提高了硬件利用率,从而在元数据启用的推理路径中实现了解码内核效率的约21至24%的提升,且未观察到退化现象。
英文摘要:
The standard FlashAttention-3 heuristic exhibits a GPU occupancy bottleneck in low-head-count decoding configurations because it disables sequence splitting based on sequence length alone, underutilizing the Streaming Multiprocessors of Hopper GPUs. Our proposed sequence-aware split policy mitigates this by allowing sequence-level parallelism in low-head-count regimes, improving hardware utilization to deliver roughly a 21 to 24% improvement in decoder kernel efficiency on metadata-enabled inference paths, with no observed regressions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。