Activation Sequence Caching: High-Throughput and Memory-Efficient Generative Inference with a Single GPU
Generative artificial intelligence is widely used for various tasks such as language translation and art creation. Generative inference employs the key and value tensors to encode relational information among the tokens in the input and output sequences. Most of the existing generative inference frameworks use KV caching (KVC), which caches the key and value tensors (i.e., the KV cache) to avoid recomputing the key and value tensors for each of the processed tokens. Despite the widespread use of KVC, in-depth characterization of KVC with tensor offloading, which enables generative inference with a single GPU, remains yet to be explored.
Authors
- Youngsam Shin (ORCID: https://orcid.org/0009-0000-6978-5780)
- Sowoong Kim
- Yeongon Cho (ORCID: https://orcid.org/0009-0002-1242-6343)
- Woongki Baek (ORCID: https://orcid.org/0000-0002-1877-7307)
- Eunyeong Sim
Institutions
- Samsung (South Korea) (KR)
- Ulsan National Institute of Science and Technology (KR)
Publication Details
- Published
- 2024-10-11
- DOI
- https://doi.org/10.1145/3656019.3676945
- Citations
- 1
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.35