Technology

CacheGen

A streaming KV-cache compression and transmission system from researchers at the University of Chicago that treats the KV-cache as a **bitstream** rather than a tensor. CacheGen applies layer-wise quantization (with per-layer bit budgets) and a custom entropy coder (arithmetic coding with cross-channel context modeling) to shrink KV-cache transmission size by 3-10x for the network shipment between prefill and decode workers in disaggregated serving.

8 connections1 post

Definition

What it is

A streaming KV-cache compression and transmission system from researchers at the University of Chicago that treats the KV-cache as a bitstream rather than a tensor. CacheGen applies layer-wise quantization (with per-layer bit budgets) and a custom entropy coder (arithmetic coding with cross-channel context modeling) to shrink KV-cache transmission size by 3-10x for the network shipment between prefill and decode workers in disaggregated serving.

Why it exists

Prefill-decode disaggregation requires shipping the full KV-cache from the prefill worker to the decode worker once prefill completes. For long contexts on large models, that's tens of GB per request — fast on NVLink (within a node), painful on InfiniBand (across nodes), and a non-starter on standard 100GbE. CacheGen's compression makes cross-node disaggregated serving practical on commodity Ethernet.

Primary use cases

Disaggregated LLM serving over commodity networks, edge-to-cloud agentic workflows where the KV-cache is precomputed at the edge and streamed to a cloud decoder, hierarchical KV-cache storage in object stores (S3, MinIO) where transmission cost dominates.

Connections8

Outbound6
Inbound2

Featured in