arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.09510cs.LGcs.AIcs.CL
收藏

张量并行大语言模型推断中的通信压缩

Communication Compression for Tensor Parallel LLM Inference

Recogni;Technical University of Munich(慕尼黑技术大学)

Jan Hansen-Palmus, Michael Truong Le, Oliver Hausdörfer, Alok Verma

AI总结:

本文提出通过压缩加速器间通信来减少张量并行大语言模型推断的延迟,实现TTFT减少2倍且性能损失可忽略。

摘要:

大语言模型(LLMs)推动了人工智能的前沿,但它们包含数十亿个参数和操作。为了加快推理延迟,LLMs通过各种模型并行策略部署在多个硬件加速器上。我们的论文探讨了其中一种策略——张量并行,并提出通过压缩加速器之间的通信来减少延迟。我们利用细粒度量化技术将选定的激活压缩了3.5至4.5倍。所提出的方法导致时间到第一个token(TTFT)减少约2倍,而模型性能下降可忽略不计。

英文摘要:

Large Language Models (LLMs) have pushed the frontier of artificial intelligence but are comprised of hundreds of billions of parameters and operations. For faster inference latency, LLMs are deployed on multiple hardware accelerators through various Model Parallelism strategies. Our paper looks into the details on one such strategy - Tensor Parallel - and proposes to reduce latency by compressing inter-accelerator communication. We leverage fine grained quantization techniques to compress selected activations by 3.5 - 4.5x. Our proposed method leads up to 2x reduction of time-to-first-token (TTFT) with negligible model performance degradation.

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

↑