OasisKV moves AI memory off the GPU and fetches only what the model needs next
A new paper describes a system that keeps most of a chat's memory off the GPU, and reports up to 2.29x the throughput of vLLM, a popular serving tool, in one setup.
The short version
- The KV cache, the model's running memory of a conversation, is now the main memory hog during text generation.
- OasisKV keeps only 2,048 KV tokens in HBM, the GPU's fast memory, and offloads the rest.
- Accuracy stays within 0.61 points of full attention on LongBench v2, AIME24-25 and GPQA-Diamond.
- Reported gains: 1.86x throughput over vLLM on AIME24, and up to 2.2x on synthetic multi-GPU tests.
- With prefill-decode disaggregation: 2.29x vLLM's throughput and 2.42x as many concurrent requests.
Why it matters
The limit on serving long documents and long reasoning chains is often memory, not raw computing power. If ideas like this spread into common serving tools, the same hardware could handle more users or longer inputs. That could eventually lower the cost of running long-context models, including on your own machines.
The memory squeeze behind long chats
As arxiv.org reported, the paper starts from a simple observation: serving large language models is increasingly limited by memory rather than computing power. When a model writes a reply, it keeps a running record of the text so far, called the KV cache (key-value cache). With long prompts and long step-by-step reasoning, that record becomes the biggest user of memory.
That record normally sits in HBM, high-bandwidth memory, the fast and costly memory attached to the GPU. When it fills up, the number of requests a server can handle at once shrinks, and so does overall throughput.
Keep a little close, fetch the rest
OasisKV pushes the cache out to other kinds of memory, and brings back only the pieces that matter. The authors rely on the fact that, at each step, the model pays close attention to only a small share of earlier text. They also use speculative decoding, a technique where the system guesses upcoming words ahead of time, to predict which earlier pieces will be important.
An asynchronous prefetch pipeline (fetching in the background while the GPU works) hides the delay of moving data from outside the GPU. It also caps how much data moves per step so it fits the available bandwidth.
What the authors measured
The team built OasisKV on vLLM, a widely used serving system. With only 2,048 KV tokens held in HBM, average accuracy stayed within 0.61 points of full attention on LongBench v2, a long-document test, and on AIME24-25 and GPQA-Diamond, which test long-form reasoning.
On AIME24, throughput rose 1.86x over vLLM. Synthetic long-context workloads on multiple GPUs showed up to 2.2x higher throughput.
The system also manages the cache across decode, prefill and remote-memory nodes. In a setup that splits those stages across machines, OasisKV reached 2.29x vLLM's throughput and supported 2.42x as many concurrent requests on the same host-memory budget.
Caveats
These are the authors' own results, and some come from synthetic workloads rather than real traffic. This is an updated version of the paper on arXiv. Whether the approach lands in everyday tools will depend on how easily others can adopt it.
What to watch
- Will serving tools such as vLLM adopt this kind of offloading and prefetching?
- Do the accuracy and speed results hold on real traffic rather than synthetic tests?
Try it
If you run models yourself, estimate how much GPU memory your longest prompts need for the KV cache compared with the model weights. That shows whether memory or compute is your real limit.
Sources and links
- Reportingarxiv.org: the article we sourced
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.
Listen to the AI Wire headlines
Listen to the AI WireListen to our daily AI shows every morning: on your commute, in the shower, wherever you are
Listen to the daily showsFirst reported by arxiv.org · Read the original. Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.
