HybridGen: Efficient LLM Generative Inference via CPU-GPU Hybrid Computing

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Lin, Mao, Wang, Xi, Cox, Guilherme, Li, Dong, Jeon, Hyeran
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866918457383059456
author Lin, Mao
Wang, Xi
Cox, Guilherme
Li, Dong
Jeon, Hyeran
author_facet Lin, Mao
Wang, Xi
Cox, Guilherme
Li, Dong
Jeon, Hyeran
contents As modern LLMs support thousands to millions of tokens, KV caches grow to hundreds of gigabytes, stressing memory capacity and bandwidth. Existing solutions, such as KV cache pruning and offloading, alleviate these but underutilize hardware by relying solely on either GPU or CPU for attention computing, and considering yet limited CPU local memory for KV cache storage. We propose HybridGen, an efficient hybrid attention framework for long-context LLM inference. HybridGen enables CPU-GPU collaborative attention on systems with expanded tiered memory (e.g., CXL memory), addressing three key challenges: (1) multi-dimensional attention dependencies, (2) intensifying CPU-GPU load imbalance with longer sequences, and (3) NUMA penalty of tiered memories. HybridGen tackles these by introducing attention logit parallelism, a feedback-driven scheduler, and semantic-aware KV cache mapping. Experiments with three LLM models with eleven different sizes on three GPU platforms with a CXL-expanded memory show that HybridGen outperforms six state-of-the-art KV cache management methods by 1.41x--3.2x on average while maintaining superior accuracy.
format Preprint
id arxiv_https___arxiv_org_abs_2604_18529
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle HybridGen: Efficient LLM Generative Inference via CPU-GPU Hybrid Computing
Lin, Mao
Wang, Xi
Cox, Guilherme
Li, Dong
Jeon, Hyeran
Performance
Distributed, Parallel, and Cluster Computing
As modern LLMs support thousands to millions of tokens, KV caches grow to hundreds of gigabytes, stressing memory capacity and bandwidth. Existing solutions, such as KV cache pruning and offloading, alleviate these but underutilize hardware by relying solely on either GPU or CPU for attention computing, and considering yet limited CPU local memory for KV cache storage. We propose HybridGen, an efficient hybrid attention framework for long-context LLM inference. HybridGen enables CPU-GPU collaborative attention on systems with expanded tiered memory (e.g., CXL memory), addressing three key challenges: (1) multi-dimensional attention dependencies, (2) intensifying CPU-GPU load imbalance with longer sequences, and (3) NUMA penalty of tiered memories. HybridGen tackles these by introducing attention logit parallelism, a feedback-driven scheduler, and semantic-aware KV cache mapping. Experiments with three LLM models with eleven different sizes on three GPU platforms with a CXL-expanded memory show that HybridGen outperforms six state-of-the-art KV cache management methods by 1.41x--3.2x on average while maintaining superior accuracy.
title HybridGen: Efficient LLM Generative Inference via CPU-GPU Hybrid Computing
topic Performance
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2604.18529