Faster LLM Inference using DBMS-Inspired Preemption and Cache Replacement Policies

Kyoungmin Kim, Jiacheng Li, Kijae Hong, Anastasia Ailamaki
11/12/2024
cs.PFcs.AI

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

Abstract

LLMs are increasingly used world-wide from daily tasks to agentic systems and data analytics, requiring significant GPU resources. LLM inference systems, however, are slow compared to database systems, and inference performance and mechanism have been often regarded as a black box, limiting the expansion of the use of LLMs inside databases and other performance-critical applications.

Show full abstract

This paper first analyzes the LLM inference performance and focuses on a data management issue inside LLM inference. We find that inference systems lack an adequate resource cost model and optimization strategy to schedule requests with their intermediate results in a cache reside in GPU memory when executing multiple concurrent inference requests. We adapt classic database techniques by building cost models for concurrent inference requests and a new cache replacement policy tailored for LLM inference, which can substantially save GPU costs.

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!

Similar Papers

Cite this paper

@article{kim2024faster,
  title  = {Faster LLM Inference using DBMS-Inspired Preemption and Cache Replacement Policies},
  author = {Kyoungmin Kim and Jiacheng Li and Kijae Hong and Anastasia Ailamaki},
  year   = {2024},
  eprint = {2411.07447},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.07447v4}
}

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/2411.07447.svg)](https://codeofpaper.com/paper/2411.07447)

Discussion