On this page
kunlunxin-xre5.37.1
Prerequisites
- Architecture: x86_64
- Chip models: Kunlunxin P800
- Host driver: 5.37.1
- Container toolkit (optional) : xpu_container >= 1.0.13
Image contents
Built on
harbor.baai.ac.cn/flagos-base/flagos-base-kunlunxin-xre5.37.1:2.1.2 open_in_newPython
3.10
Major Python packages
apex==0.1benchflow==1.0.0colorama==0.4.6flag_gems==5.3.4flagtree==0.6.1+xpu3.6flash_attn==2.4.2+7e2dd4dhydrax==0.1.0hyperparameter==0.5.6numpy==2.2.6psutil==6.1.0regex==2026.4.4torch==2.9.0+cu129torch_plugin==0.1.0torch_xray==2.0.4torchaudio==2.9.0+cu129torchvision==0.24.0+cu129triton==3.0.0+a48aedefxformers==0.0.29+1e7a8ec.d20260114xmlir==1.0.0.1
Switch compiler
This image includes both FlagTree (default) and Triton. To switch, run compiler triton inside the container. Use compiler flagtree to switch back, or compiler to check the active compiler.
Launch
With the container toolkit (optional):
docker run --rm -it \
--runtime xpu \
-e CXPU_VISIBLE_DEVICES=0 \
harbor.baai.ac.cn/flagos-runtime/flagos-runtime-kunlunxin-xre5.37.1:2.1.2 bash
Without a toolkit — plain docker / podman:
docker run --rm -it \
--device /dev/xpu0 \
--device /dev/xpuctrl \
harbor.baai.ac.cn/flagos-runtime/flagos-runtime-kunlunxin-xre5.37.1:2.1.2 bash
Verify
Inside the container, confirm the accelerator is visible:
xpu-smi
Last updated 15 Aug 2026, 12:51 +0800.