arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.15530cs.ARcs.DC
收藏

DUET:基于解耦混合Mamba-Transformer语言模型的预填和解码专用加速器

DUET: Disaggregated Hybrid Mamba-Transformer LLMs with Prefill and Decode-Specific Packages

University of Wisconsin–Madison(威斯康星大学麦迪逊分校);University of Ulsan(蔚山科学技术院)

Alish Kanani, Sangwan Lee, Han Lyu, Jiahao Lin, Jaehyun Park, Umit Y. Ogras

AI总结:

DUET通过解耦预填和解码阶段,利用专用加速器提升大语言模型性能,实现更快的首个token生成时间、更高的吞吐量和更低的token间时间。

摘要:

大型语言模型在计算受限的预填阶段后,进入内存带宽受限的解码阶段。混合Mamba-Transformer模型继承这种不对称性,同时添加状态空间模型(SSM)递归和元素级操作,这些操作与基于矩阵乘法的加速器映射不佳。这种不匹配导致性能瓶颈,表明单一架构无法满足所有需求。我们引入DUET,一种解耦加速器,将预填和解码阶段分配给专用包。预填包利用具有离包内存的脉冲阵列芯片片,实现高效的大型矩阵乘法和长序列SSM。解码包利用向量单元阵列,具有高带宽的包内内存,加速token-by-token SSM和向量-矩阵乘法。两种架构均可运行时配置,支持混合模型,包含混合的Mamba和注意力层。在Nemotron-H-56B、Zamba2-7B和Llama3-8B四种工作负载上的评估显示,DUET在B200 GPU上实现了4倍更快的首个token时间、1.4倍更高的吞吐量和1.5倍更低的token间时间。

英文摘要:

Large language models operate in distinct compute-bound prefill followed by memory bandwidth-bound decode phases. Hybrid Mamba-Transformer models inherit this asymmetry while adding state space model (SSM) recurrences and element-wise operations that map poorly to matmul-centric accelerators. This mismatch causes performance bottlenecks, showing that a homogeneous architecture cannot satisfy all requirements. We introduce DUET, a disaggregated accelerator that assigns prefill and decode phases to specialized packages. The Prefill package utilizes systolic array chiplets with off-package memory for efficient large matrix multiplications and long-sequence SSMs. The Decode package utilizes vector-unit arrays with high-bandwidth in-package memory to accelerate token-by-token SSM and vector-matrix multiplications. Both architectures are runtime-configurable to support hybrid models with mixed Mamba and attention layers. Evaluations on Nemotron-H-56B, Zamba2-7B, and Llama3-8B across four workloads show that DUET achieves 4x faster time to first token, 1.4x higher throughput, and 1.5x lower time between tokens over the B200 GPU.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑