Flash Communication: Reducing Tensor Parallelization Bottleneck for Fast Large Language Model Inference

Qingyuan Li, Bo Zhang, Liang Ye, Yifan Zhang, Wei Wu +3 more
12/6/2024
cs.AI

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

The ever-increasing sizes of large language models necessitate distributed solutions for fast inference that exploit multi-dimensional parallelism, where computational loads are split across various accelerators such as GPU clusters. However, this approach often introduces significant communication overhead, especially on devices with limited bandwidth. In this paper, we introduce Flash Communication, a novel low-bit compression technique designed to alleviate the tensor-parallelism communication bottleneck during inference. Our method substantially boosts intra-node communication speed by more than 3x and reduces the time-to-first-token by 2x, with nearly no sacrifice in model accuracy. Extensive experiments on various up-to-date LLMs demonstrate the effectiveness of our approach.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{li2024flash,
  title  = {Flash Communication: Reducing Tensor Parallelization Bottleneck for Fast Large Language Model Inference},
  author = {Qingyuan Li and Bo Zhang and Liang Ye and Yifan Zhang and Wei Wu and Yerui Sun and Lin Ma and Yuchen Xie},
  year   = {2024},
  eprint = {2412.04964},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.04964v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.04964.svg)](https://codeofpaper.com/paper/2412.04964)

Discussion