We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.CL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Computation and Language

Title: Efficient LLM Inference with Kcache

Abstract: Large Language Models(LLMs) have had a profound impact on AI applications, particularly in the domains of long-text comprehension and generation. KV Cache technology is one of the most widely used techniques in the industry. It ensures efficient sequence generation by caching previously computed KV states. However, it also introduces significant memory overhead. We discovered that KV Cache is not necessary and proposed a novel KCache technique to alleviate the memory bottleneck issue during the LLMs inference process. KCache can be used directly for inference without any training process, Our evaluations show that KCache improves the throughput of popular LLMs by 40% with the baseline, while keeping accuracy.
Comments: Technical Report, 8 pages
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2404.18057 [cs.CL]
  (or arXiv:2404.18057v1 [cs.CL] for this version)

Submission history

From: Qiaozhi He [view email]
[v1] Sun, 28 Apr 2024 03:11:42 GMT (251kb,D)

Link back to: arXiv, form interface, contact.