arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.04925cs.DCcs.LG
收藏

TP感知的反量化

TP-Aware Dequantization

IBM T.J. Watson Research Center(IBM T.J.沃森研究中心)

Adnan Hoque, Mudhakar Srivatsa, Chih-Chieh Yang, Raghu Ganti

AI总结:

提出一种TP感知的反量化部署方案,通过保持数据局部性和利用TP先验知识减少通信,在多种TP设置下实现Llama-70B最高1.81倍、Granite-20B最高1.78倍的推理加速。

摘要:

本文提出了一种新方法,用于在大语言模型(LLMs)分布式部署期间降低模型推理延迟。我们的贡献是一种优化的推理部署方案,解决了当前最先进的反量化内核在与张量并行(TP)结合使用时的局限性。我们的方法保留了GPU内存访问模式中的数据局部性,并利用TP的先验知识来减少全局通信。我们展示了在A100和H100 NVIDIA DGX系统上,针对多种TP设置,Llama-70B相比现有方法最高可实现1.81倍加速,IBM WatsonX的Granite-20B MLP层问题规模最高可实现1.78倍加速。

英文摘要:

In this paper, we present a novel method that reduces model inference latency during distributed deployment of Large Language Models (LLMs). Our contribution is an optimized inference deployment scheme that address the current limitations of state-of-the-art quantization kernels when used in conjunction with Tensor Parallel (TP). Our method preserves data locality in GPU memory access patterns and exploits a priori knowledge of TP to reduce global communication. We demonstrate an up to 1.81x speedup over existing methods for Llama-70B and up to 1.78x speedup for IBM WatsonX's Granite-20B MLP layer problem sizes on A100 and H100 NVIDIA DGX Systems for a variety of TP settings.

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

↑