On this page
mthreads-musa5.2.0
Prerequisites
- Architecture: x86_64
- Chip models: MThreads MTT S5000
- Host driver: 5.2.0-server
- Container toolkit (optional) : KUAE Cloud Native Toolkits (MT Container Toolkit) >= 2.1.0
Image contents
Base image
ubuntu:22.04
System packages
Explicitly installed; the version is the one baked into this image:
build-essential— 12.9ubuntu3ca-certificates— 20260601~22.04.1cmake— 3.22.1curl— 7.81.0g++— 11.2.0gcc— 11.2.0git— 2.34.1libelf1— 0.186libgfortran5— 12.3.0libnuma-dev— 2.0.14libopenmpi-dev— 4.1.2libpython3-dev— 3.10.6openmpi-bin— 4.1.2unzip— 6.0vim— 8.2.3995
SDK components
- MUSA Toolkits 5.2.0
- MCCL 2.4.0
- muDNN 3.4.0
Environment
MUSA_HOME=/usr/local/musaPATH=/usr/local/musa/bin:${PATH}LD_LIBRARY_PATH=/usr/local/musa/lib
Launch
With the container toolkit (optional):
docker run --rm -it \
--runtime mthreads \
--env MTHREADS_VISIBLE_DEVICES=all \
harbor.baai.ac.cn/flagos-base/flagos-base-mthreads-musa5.2.0:2.1.2 bash
Without a toolkit — plain docker / podman:
docker run --rm -it \
--device /dev/mtgpu.0 \
--device /dev/dri \
-v /usr/bin/mthreads-gmi:/usr/bin/mthreads-gmi:ro \
harbor.baai.ac.cn/flagos-base/flagos-base-mthreads-musa5.2.0:2.1.2 bash
Verify
Inside the container, confirm the accelerator is visible:
mthreads-gmi
Last updated: 2026-08-14 21:51:46 · 521f2968843d
Last updated 15 Aug 2026, 09:57 +0800.