Cost-Efficient VM Selection for Cloud-Based LLM Inference with KV Cache Offloading

  • Kim, Ki Hyun
  • Kim, Jin Woo
  • Chung, Hyun Sun
  • Cha, Myung Hoon
  • Kim, Hong Yeon
  • ... Kim, Young Jae
Citations

WEB OF SCIENCE

0
Citations

SCOPUS

0

초록

LLM inference is essential for applications like text summarization, translation, and data analysis, but the high cost of GPU instances from Cloud Service Providers (CSPs) like AWS is a major burden. This paper proposes INFERSAVE, a cost-efficient VM selection framework for cloud-based LLM inference. INFERSAVE optimizes KV cache offloading based on Service Level Objectives (SLOs) and workload characteristics, estimating GPU memory needs, and recommending cost-effective VM instances. Additionally, the Compute Time Calibration Function (CTCF) improves instance selection accuracy by adjusting for discrepancies between theoretical and actual GPU performance. Experiments on AWS GPU instances show that selecting lower-cost instances without KV cache offloading improves cost efficiency by up to 73.7% for online workloads, while KV cache offloading saves up to 20.19% for offline workloads.

키워드

Cloud ComputingLLM InferenceService Level Objective (SLO) ManagementKV Cache Offloading
제목
Cost-Efficient VM Selection for Cloud-Based LLM Inference with KV Cache Offloading
저자
Kim, Ki HyunKim, Jin WooChung, Hyun SunCha, Myung HoonKim, Hong YeonKim, Young Jae
DOI
10.1109/CLOUD67622.2025.00027
발행일
2025
유형
Proceedings Paper
저널명
IEEE International Conference on Cloud Computing, CLOUD
페이지
175 ~ 185