# Software stack for LLM inference on MI308X

> Measured stack for MI308X inference: ROCm 7.2, vLLM 0.20.1+rocm721 and LMCache built from upstream mainline, plus where the patch and test materials come from.

URL: https://vuke.top/en/insights/mi308x-inference-stack · Updated November 27, 2026

Published: 2026-11-27

**Question**: What software stack is needed to run LLM inference on AMD Instinct MI308X?

**Short answer**: The measured stack is ROCm 7.2, vLLM 0.20.1+rocm721 and LMCache built from upstream mainline source dated 2026-06-29, running on 8 × AMD Instinct MI308X with Qwen3-Coder-480B-FP8 at TP=8 [R2](https://vuke.top/en/evidence/R2). LMCache carries a parallel-read patch; the git patch with full before/after sources, the load client, orchestration scripts and raw data are in the test code export [R8](https://vuke.top/en/evidence/R8).

## Measured software stack and platform

R1 and R2 share one platform: 8 × AMD Instinct MI308X, 192 GB HBM each, gfx942; the host is 2 × AMD EPYC 9654 (384 threads) with about 1.5 TB RAM. The software stack is ROCm 7.2, vLLM 0.20.1+rocm721, and LMCache built from upstream mainline source dated 2026-06-29 [R1](https://vuke.top/en/evidence/R1) [R2](https://vuke.top/en/evidence/R2).

The device under test is an FX100 all-flash NVMe-oF array: 4-drive RAID0 (14 TB, XFS), RoCEv2, one 100 GbE port. Baselines are a single local NVMe drive (PCIe Gen4, 2 TB) and full recompute with no external storage [R2](https://vuke.top/en/evidence/R2).

The inference model is Qwen3-Coder-480B-FP8 (MoE, about 450 GB of weights), deployed as one 8-GPU instance at TP=8 under a long-context cold-recovery load, stepped across concurrency 8 / 16 / 32 [R2](https://vuke.top/en/evidence/R2). R1 additionally uses Qwen2.5-32B and 7B for the LMCache parallel-read patch, concurrent model loading and model switching [R1](https://vuke.top/en/evidence/R1).

- Accelerators: 8 × AMD Instinct MI308X (192 GB HBM each, gfx942)
- Host: 2 × AMD EPYC 9654 (384 threads), about 1.5 TB RAM
- Software: ROCm 7.2 · vLLM 0.20.1+rocm721 · LMCache (built from upstream mainline, 2026-06-29)
- Device under test: FX100 all-flash NVMe-oF array, 4-drive RAID0 (14 TB, XFS), RoCEv2, one 100 GbE port

## What needs source builds and patches

LMCache is not a packaged install: it is built from upstream mainline source dated 2026-06-29 with the parallel-read patch applied [R1](https://vuke.top/en/evidence/R1) [R8](https://vuke.top/en/evidence/R8). The patch has readings on one GPU, concurrency 16, cold read from disk, with Qwen2.5-32B: TTFT falls from 37.97 s to 9.30 s (4.1×) and read bandwidth rises from 0.98 GB/s to 5.23 GB/s [R1](https://vuke.top/en/evidence/R1).

On the serving side, vLLM is the build paired with ROCm 7.2 [R2](https://vuke.top/en/evidence/R2). Beyond the LMCache patch, the materials do not describe other components requiring source changes.

- LMCache: built from upstream mainline source dated 2026-06-29, with the parallel-read patch
- vLLM: the build paired with ROCm 7.2

## Where the patch and test materials come from

R8 is a code export and raw data package for third parties: the LMCache parallel-read patch as a git patch plus full before/after sources, the load client, orchestration scripts, forensic probe scripts and the raw result data from the KV cache benchmarks [R8](https://vuke.top/en/evidence/R8).

With these materials a third party can rerun the tests on the same platform configuration. That configuration and the baselines are stated in R1 and R2, and the raw reading table is in R2 [R1](https://vuke.top/en/evidence/R1) [R2](https://vuke.top/en/evidence/R2) [R8](https://vuke.top/en/evidence/R8).

## Readings on this stack

With Qwen3-Coder-480B-FP8 at TP=8 under a long-context cold-recovery load, against a single local NVMe drive, throughput is 56.6 vs 43.9 tok/s at concurrency 8 (+29%) and 74.9 vs 53.6 tok/s at concurrency 16 (+40%); TTFT p50 is 7.53 / 11.85 / 26.35 s across the three levels, against 10.17 / 17.31 / 35.73 s on the local drive [R2](https://vuke.top/en/evidence/R2).

Against full recompute with no external storage at concurrency 16, TTFT p50 falls from 149.48 s to 11.85 s and throughput rises from 4.1 tok/s to 74.9 tok/s [R2](https://vuke.top/en/evidence/R2). Full recompute was measured at concurrency 16 only; these readings do not cover the other levels [R2](https://vuke.top/en/evidence/R2).

The array-to-inference-node ratio is 1 : 8; this is a production sizing estimate, not a measured reading [R1](https://vuke.top/en/evidence/R1) [R2](https://vuke.top/en/evidence/R2).

## Related questions

### Does LMCache have to be patched?

The measured setup uses the build with the parallel-read patch applied. On one GPU, concurrency 16, cold read from disk with Qwen2.5-32B, TTFT falls from 37.97 s to 9.30 s and read bandwidth rises from 0.98 GB/s to 5.23 GB/s [R1](https://vuke.top/en/evidence/R1).

### Do these readings carry over to another model or concurrency?

They cannot be extrapolated. The R2 readings cover only Qwen3-Coder-480B-FP8 at TP=8 under a long-context cold-recovery load at concurrency 8 / 16 / 32, and full recompute was measured at concurrency 16 only [R2](https://vuke.top/en/evidence/R2).

### Where do the materials come from?

R8 is the code export and raw data package: the LMCache parallel-read patch as a git patch plus full before/after sources, the load client, orchestration scripts, forensic probe scripts and the raw benchmark data [R8](https://vuke.top/en/evidence/R8).

## Related test reports

- [R1](https://vuke.top/en/evidence/R1) · FX100 Comprehensive LLM Inference and Training Benchmark (8 × AMD MI308X) (8 × AMD Instinct MI308X · ROCm 7.2)
- [R2](https://vuke.top/en/evidence/R2) · FX100 KV Cache Benchmark (480B, TP8, Long Context) (8 × AMD Instinct MI308X · ROCm 7.2)
- [R8](https://vuke.top/en/evidence/R8) · FX100 KV Cache Test Code Export and Raw Benchmark Data (AMD Instinct MI308X · ROCm 7.2)

## External references

- [AMD ROCm Documentation](https://rocm.docs.amd.com/) · AMD. The components of the ROCm software stack and its supported hardware
- [vLLM Documentation](https://docs.vllm.ai/) · vLLM Project. Official documentation of vLLM deployment, prefix caching and tensor-parallel settings
- [LMCache (GitHub repository)](https://github.com/LMCache/LMCache) · LMCache Project. LMCache source code, architecture and storage backends
