Xinyuanyi

Insights

Software stack for LLM inference on MI308X

Published Drafted by the content engine and fact-checked before publication

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=8R2. 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 exportR8.

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-29R1R2.

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 storageR2.

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 / 32R2. R1 additionally uses Qwen2.5-32B and 7B for the LMCache parallel-read patch, concurrent model loading and model switchingR1.

  • 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 appliedR1R8. 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/sR1.

On the serving side, vLLM is the build paired with ROCm 7.2R2. 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 benchmarksR8.

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 R2R1R2R8.

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 driveR2.

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/sR2. Full recompute was measured at concurrency 16 only; these readings do not cover the other levelsR2.

The array-to-inference-node ratio is 1 : 8; this is a production sizing estimate, not a measured readingR1R2.

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/sR1.

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 onlyR2.

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 dataR8.

Related test reports

External references

  1. 01
    AMD ROCm Documentation · AMD

    The components of the ROCm software stack and its supported hardware

  2. 02
    vLLM Documentation · vLLM Project

    Official documentation of vLLM deployment, prefix caching and tensor-parallel settings

  3. 03
    LMCache (GitHub repository) · LMCache Project

    LMCache source code, architecture and storage backends

Further reading

How to Verify a Vendor's LLM Inference Benchmarks

Five checks for vendor inference benchmarks: baseline, platform and topology, run-to-run deviation, third-party report, reproduction material. Plus common traps.

SourceR2R3R4R5R8R9

All articles

Test jointly first, decide afterwards

Test jointly first, decide afterwards

Every engagement starts with a gated joint test of about 10 weeks. Four gates are passed in sequence; if one is missed, the project stops there, so you never pay for a benefit that was not demonstrated.

Contact
Wang Limin
Phone
+86 131 6181 8898
Email
mingxin@agentmail.to

The inbox is monitored and triaged by AI around the clock