Caution
This release is an early-access software technology preview. Running production workloads is not recommended.
ROCm(tm) AMD Infinity Context (AIC) is a disaggregated KV-cache inference stack for large language models on AMD GPUs. It combines an LLM serving framework (vLLM) with a KV-cache block manager (LMCache) to offload KV tensors across a tiered memory hierarchy: GPU VRAM, CPU DRAM, local NVMe and RDMA-based filesystems.
It focuses on enabling a low-latency, shared level of KV cache that can be accessed by O(1000) GPUs, so long contexts can be served at scale without recomputation.
This repository builds these components into one stack and tests them together under workloads that reflect real-world use.
| Component | Source | Ref |
|---|---|---|
| Base OS | rocm/dev-ubuntu-26.04:10.2.0-full |
Ubuntu 26.04, ROCm 10.2, Python 3.14 |
| PyTorch | ROCm/pytorch (source build) |
2.15 (abecaa8) |
| Triton | ROCm/triton (source build) |
release/internal/3.8.x (669b31ac, vLLM v0.34.0 validated) |
| vLLM | github.com/vllm-project/vllm (source build) |
v0.34.0 + 3 AMD patches |
| AITER | ROCm/aiter (source build) |
v0.1.29.post1 |
| FlashAttention | Dao-AILab/flash-attention (source build) |
0e60e394 |
| LMCache | LMCache/LMCache (upstream) |
v0.5.8 + 6 AMD patches |
| NIXL | ai-dynamo/nixl (upstream) |
v1.5.2 + nixl-rocm-ais-mt.patch |
| HSA Snoop | sbates130272/hsa-snoop (source build) |
aba6a306 |
aic-vllm runs OpenTelemetry 1.40.0, below the 1.45.1 that vLLM v0.34.0
declares: LMCache v0.5.8 caps it there, and the vLLM process loads the
LMCache client. The image build checks that vLLM's tracing exporters still
import; pip check in the image reports the conflict.
The vLLM --kv-transfer-config must carry "lmcache.mp.use_vmm_api": false
(the Makefile JSON does). Without it LMCache v0.5.8 asks vLLM for
fd-exported KV memory, which vLLM v0.34.0 refuses on ROCm at startup.
See docs/PIP_WHEELS.md for installation instructions and
compatibility notes. Wheels for CDNA GPUs are rebuilt nightly whenever main has
changed and published to the
nightly release.
- A ROCm host. Set
ROCM_ARCHto your GPU architecture (gfx950for MI350X, MI355X and MI350P), or a;-separated list for a multi-arch image. - Docker with BuildKit and the
docker composev2 plugin (2.24 or later);make ensure-composeinstalls the plugin if it is missing. - A Hugging Face token with access to the model you want to serve.
- Writable directories for the NVMe and NFS cache tiers (
NVME_DATA,NFS_DATA). - Python 3.10+ for the plotting tools.
make build ROCM_ARCH=gfx950
make up HF_TOKEN=hf_... NVME_DATA=/mnt/nvme VLLM_MODEL=Qwen/Qwen2.5-7B-Instructdocs/QUICK_START.md covers the full flow: build, serve, benchmark and plot. For Slurm clusters see docs/SLURM_SPUR.md.
See docs/METRICS_TELEMETRY.md for the full Prometheus scrape config, exporter details, NIXL telemetry, hsa-snoop, and NFS caveats.
docs/ENVIRONMENT.md is the reference for the variables:
each default, the file that owns it, and what it does. The tables there are
generated from code (make env-docs); make list-vars prints the values a
make run would use on this host.
See CONTRIBUTING.md and AGENTS.md for test commands and conventions, and docs/ARCHITECTURE.md for how the containers fit together.