Salvato in:
Dettagli Bibliografici
Autori principali: Dong, Harry, Johnson, Tyler, Cho, Minsik, Soroush, Emad
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:https://arxiv.org/abs/2411.07942
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909386439393280
author Dong, Harry
Johnson, Tyler
Cho, Minsik
Soroush, Emad
author_facet Dong, Harry
Johnson, Tyler
Cho, Minsik
Soroush, Emad
contents Tensor parallelism provides an effective way to increase server large language model (LLM) inference efficiency despite adding an additional communication cost. However, as server LLMs continue to scale in size, they will need to be distributed across more devices, magnifying the communication cost. One way to approach this problem is with quantization, but current methods for LLMs tend to avoid quantizing the features that tensor parallelism needs to communicate. Taking advantage of consistent outliers in communicated features, we introduce a quantization method that reduces communicated values on average from 16 bits to 4.2 bits while preserving nearly all of the original performance. For instance, our method maintains around 98.0% and 99.5% of Gemma 2 27B's and Llama 2 13B's original performance, respectively, averaged across all tasks we evaluated on.
format Preprint
id arxiv_https___arxiv_org_abs_2411_07942
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Low-bit Communication for Tensor Parallel LLM Inference
Dong, Harry
Johnson, Tyler
Cho, Minsik
Soroush, Emad
Artificial Intelligence
Machine Learning
Tensor parallelism provides an effective way to increase server large language model (LLM) inference efficiency despite adding an additional communication cost. However, as server LLMs continue to scale in size, they will need to be distributed across more devices, magnifying the communication cost. One way to approach this problem is with quantization, but current methods for LLMs tend to avoid quantizing the features that tensor parallelism needs to communicate. Taking advantage of consistent outliers in communicated features, we introduce a quantization method that reduces communicated values on average from 16 bits to 4.2 bits while preserving nearly all of the original performance. For instance, our method maintains around 98.0% and 99.5% of Gemma 2 27B's and Llama 2 13B's original performance, respectively, averaged across all tasks we evaluated on.
title Towards Low-bit Communication for Tensor Parallel LLM Inference
topic Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2411.07942