amd-rocm7.2.4
Prerequisites
- Architecture: x86_64
- Chip models: AMD Radeon PRO W7900
- Host driver: 6.16.13
- Container toolkit (optional) : amd-container-toolkit >= 1.3.0
Image contents
Base image
ubuntu:24.04
System packages
Explicitly installed; the version is the one baked into this image:
amd-smi-lib— 26.2.2.70204amdgpu-core— 7.2.07020400build-essential— 12.10ubuntu1ca-certificates— 20260816ubuntu0.24.04.1cmake— 3.28.3curl— 8.5.0g++— 13.2.0gcc— 13.2.0git— 2.43.0gnupg— 2.4.4hip-dev— 7.2.53211.70204hipblas-dev— 3.2.0.70204hipblaslt-dev— 1.2.2.70204hipcc— 1.1.1.70204hipcub-dev— 4.2.0.70204hipfft-dev— 1.0.22.70204hiprand-dev— 3.1.0.70204hipsolver-dev— 3.2.0.70204hipsparse-dev— 4.2.0.70204hipsparselt-dev— 0.2.6.70204hsa-amd-aqlprofile— 1.0.0.70204hsa-rocr-dev— 1.18.0.70204libdw1libelf1libgfortran5— 14.2.0libnuma1— 2.0.18libpciaccess0— 0.17miopen-hip-dev— 3.5.1.70204pciutils— 3.10.0rccl-dev— 2.27.7.70204rocblas-dev— 5.2.0.70204rocfft-dev— 1.0.36.70204rocm-cmake— 0.14.0.70204rocm-device-libs— 1.0.0.70204rocm-llvm— 22.0.0.26084.70204rocm-smi-lib— 7.8.0.70204rocm-utils— 7.2.4.70204rocminfo— 1.0.0.70204rocprofiler-register— 0.6.0.70204rocrand-dev— 4.2.0.70204rocsolver-dev— 3.32.0.70204rocsparse-dev— 4.2.0.70204rocthrust-dev— 4.2.0.70204roctracer— 4.1.70204.70204rocwmma-dev— 2.2.0.70204unzip— 6.0vim— 9.1.0016
SDK components
- ROCm 7.2.4 (x86_64)
Environment
ROCM_PATH=/opt/rocmPATH=/opt/rocm/bin:$PATHLD_LIBRARY_PATH=/opt/rocm/lib
Launch
With the container toolkit (optional):
docker run --rm -it \
--runtime amd \
--device /dev/kfd \
--device /dev/dri \
harbor.baai.ac.cn/flagos-base/flagos-base-amd-rocm7.2.4:2.3.0 bash
Without a toolkit — plain docker / podman:
docker run --rm -it \
--device /dev/kfd \
--device /dev/dri \
--group-add video \
--security-opt seccomp=unconfined \
harbor.baai.ac.cn/flagos-base/flagos-base-amd-rocm7.2.4:2.3.0 bash
Verify
Inside the container, confirm the accelerator is visible:
rocm-smi
Last updated: 2026-10-31 19:30:38 · f96d3762740e
Changelog
2.3.0
2026-10-31 12:10:39
Drop the HIP_VISIBLE_DEVICES=all ENV. HIP 7.2 accepts device ordinals or GPU-UUIDs and nothing else, so this value — the NVIDIA-style spelling — parsed to an empty device list: hipGetDeviceCount() and therefore torch.cuda.device_count() returned 0, while rocm-smi inside the same container listed every GPU. The variable being unset means all devices, which is what the ENV was trying to say, so the image now defaults to the full device set and a single-GPU pin uses -e HIP_VISIBLE_DEVICES=<n>.
2026-10-27 07:58:45
- First delivery: ROCm 7.2.4 for gfx1100 (RDNA3, Radeon PRO W7900) on
ubuntu:24.04 — the runtime set plus the
-devpackages the compiler stack links against. - ROCm comes from
repo.radeon.comrather than a filestore tarball, so the image takes the point releases that repository serves at build time. A pin holds radeon’srocm-cmake,hipccandrocminfoahead of the older builds Ubuntu universe also carries. The DKMS kernel driver is not installed — the host provides the device. hipsolver-dev,hipfft-devandmiopen-hip-devare installed although torch and vLLM link none of them: torch’s own headers include theirs underUSE_ROCM, so an extension build — the flagcx torch wheel among them — fails without them.
Last updated 31 Oct 2026, 20:20 +0800.