Skip to main content
Miles runs on AMD Instinct GPUs (MI300, MI325, MI350, MI355X) with ROCm. The launch scripts are the same as on NVIDIA — only the container and a few env vars differ.

Container images

Or build from the repo:
The base ROCm image bundles the patches needed for virtual memory management on MI300X — thanks to Yang Wang for that work.

Launch the container

Inside, install Miles editable:

Download model + data

Convert weights (CPU + Gloo)

We force CPU-only conversion on AMD to bypass some ROCm-specific issues. A GPU-based ROCm converter is in development.
If you see miles cannot be found, re-run pip install -e . --no-deps in the repo.

Launch

The standard scripts/run-qwen3-4B.sh works as-is. The image already sets the ROCm-specific env vars you’d otherwise need: