ERNIE 5.5 Flash在SGLang达到报告所称的1074 tokens/s
报告作者为SGLang添加了ERNIE 5.5 Flash的端到端低延迟解码支持。在四块SM100 GPU、批大小为1、输入55K tokens和输出1K tokens的条件下,最终的attention TP4和MoE TP4配置在模拟平均DSpark接受长度5.5时达到报告所称的1074 tokens/s。当DSpark块大小为7、模拟接受长度为7.2时,解码速度约为1310 tokens/s。此次工作包括低延迟GEMM、张量并行、DSpark投机解码、计算通信融合、多流执行、PDL、MegaLLMoE、注意力数据流重构和One-Pass mHC。报告中的结果是在优化项逐步合并过程中记录的,并非通过受控的独立比较得出;启用DSpark后的测量还依赖模拟接受长度。
该报告记录了一系列低延迟推理优化,并表示包括低延迟GEMM、MegaLLMoE融合算子和One-Pass mHC在内的核心内核已在HALOps仓库中开源。
On this page
- The Bottlenecks of Low-Latency Decoding
- A Low-Latency Foundation: Parallelism, Hardware Utilization, Operator Fusion and Kernel Overlap
- Attention Dataflow Restructuring: Keeping Sparse Operations off the Critical Path
- MegaLLMoE: A Low-Latency MoE Megakernel
- One-Pass mHC: Breaking the Serial Dependency with Bilinear Expansion
- DSpark Speculative Decoding: Multiple Tokens per Forward Pass
- Performance Data and Reproduction
- Acknowledgments
We have added low-latency decoding support for ERNIE 5.5 Flash to SGLang and optimized it end to end. On four SM100 GPUs, BS=1, 55K input tokens and 1K output tokens, we introduced low-latency GEMM and tensor parallelism, integrated DSpark speculative decoding, iteratively tuned compute-communication fusion, multi-stream execution and PDL, and completed optimizations including MegaLLMoE, attention dataflow restructuring and One-Pass mHC. With the final configuration of attention TP4 and MoE TP4, decoding reaches 1074 tokens/s at a simulated mean DSpark acceptance length of 5.5, and about 1310 tokens/s with DSpark block size 7 at a simulated acceptance length of 7.2.
#ERNIE 5.5 Flash#SGLang#HALOps#DSpark#MegaLLMoE#One-Pass mHC#NVIDIA Blackwell