The Pulse
Octave KV backend in vLLM fits 4.6 times more tokens than fp16 on Radeon GPUs
Octave KV stores key-value cache data in compressed formats for long-context AI serving on AMD GPUs. Its developers report higher token capacity than fp16 in a Radeon test, with quality and speed results that depend on the workload.

A compressed cache for AMD GPUs held 2.07 million tokens where an fp16 cache held 446,000 in a test using four Radeon cards, according to a post on AMD’s ROCm blog. The cache, called Octave KV, is part of the vLLM serving framework and uses formats built around 3-bit representations to make more room for long-context AI requests.
The Dec. 4 post was written by Miguel Ángel Hidalgo Mora and Doug Lehr. The reported capacity comparison used 8 GB of KV cache per GPU and a Qwen3.8-27B model; the authors put the gain at 4.6 times.
Availability and design
The backend is part of vLLM under the name ROCM_OCTAVE. The associated pull request was merged on Oct. 26. INCloud Solutions has used the cache in production since Oct. 2 in an internal coding assistant, running it on three production servers with four RX 7900 XTX GPUs each.
A key-value, or KV, cache stores attention keys and values for tokens a request has processed. Octave KV compresses that data, with three cache formats that use different allocations of bits to keys and values.
The backend uses native HIP kernels for Radeon RX 7900 XTX and Instinct MI300X GPUs. For a head size of 256, the compact format uses 196 bytes for one token per KV head, compared with 1,024 bytes for an fp16 slot. The other formats use 216 and 248 bytes per slot.
How it works
The format rotates each vector before mapping its coordinates to codebook levels, using a Walsh-Hadamard transform. It does not require calibration or per-model tables, the authors say.
The kernels read the packed cache directly during prefill and decode. For multi-token prediction verification, query tokens from the same request share key and value reads; the backend also builds metadata on the device without host synchronization.
The native kernels target an attention shape with a head size of 256 and 64 rotary dimensions, including models in the Qwen3-Next and Qwen3.5, 3.6 and 3.8 families, according to vLLM’s design documentation. Models with other head sizes or full rotary embeddings are rejected, and features including sliding-window and encoder attention are not supported.
Results and limits
On a single MI300X, the authors report that the octave_k3v3 format held 7.01 million tokens, compared with 3.60 million for AITER’s fp8 cache. The capacity figures are the token counts reported by vLLM at startup.
The tests used an internal Qwen3.8-27B W4A16 checkpoint. The authors identify a public checkpoint with the same scheme and architecture for reproduction, though they say its KV token counts will differ slightly.
On the Radeon setup, octave_k3v3 scored 92.4 on GSM8K, compared with 91.8 for fp16 and 89.8 for the tested TurboQuant format. The authors put run-to-run noise at about plus or minus 1.2 points; the Radeon GSM8K runs did not use multi-token prediction.
For the compact format, next-token negative log-likelihood rose by 0.0015 nats over fp16 on a single 380,000-token document, the post reports. At that context length, the authors say per-layer decode was 4.6 times faster than TurboQuant and multi-token verification was 11 times faster.
End-to-end time to the first token for a 380,000-token prompt with multi-token prediction and a cold prefix was 297 seconds for the compact format, versus 371 seconds for fp16 and 621 seconds for TurboQuant, according to the pull request. On MI300X, per-layer decode at 128,000 tokens took 65 microseconds with octave_k3v3 versus 103 microseconds with AITER fp8, the blog reports.
Sources
- Original source · Blog post AMD ROCm Blogs “Octave KV: A Native 3-bit KV Cache for AMD GPUs in vLLM” rocm.blogs.amd.com
Other pages read
- vLLM “Octave KV: a 3-bit KV cache for ROCm” docs.vllm.ai
- vLLM project on GitHub github.com
Companies in this story
In the tracker
Related stories
- AMD's Ray 2.59 beta adds vLLM 0.29 support on ROCm 10.1
- Baidu's ERNIE 5.5 Flash Preview weights run on stock vLLM through a new plugin
- vLLM engineers report faster prefill and agent-tuned kernels
- AMD adds MXFP4 MoE kernel support for MI300 GPUs
- Hugging Face patches Transformers for vLLM and model issues