hygon-dtk26.10
Prerequisites
- Architecture: x86_64
- Chip models: Hygon BW1000
- Host driver: 6.4.2-V2.1.0
- Container toolkit (optional) : dcu-container-toolkit >= 1.3.0
Image contents
Built on
harbor.baai.ac.cn/flagos-base/flagos-base-hygon-dtk26.10:2.3.0 open_in_newPython
3.12
Major Python packages
apex==1.7.0+dtk2610.torch2130.2610221147.gfa848dflag_gems==5.4.0flagcx==0.14.1+dtk2610flagtree==0.7.1a1+hcu3.6flash_attn==2.8.4+dtk2610.torch2130.2610211904.g0f1a5anumpy==1.26.4torch==2.13.0+dtk2610.2610261432.gefb4e1torchaudio==2.11.0+dtk2610.torch2130.2610221109.g1da530torchvision==0.28.0+dtk2610.torch2130.2610212003.gac691btriton==3.7.0+dtk2610.torch2120.2611032029.g56f888
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.
Choosing a FlagTree version
To use a FlagTree version other than the one above, pass -e FLAGTREE_VERSION=<version> to docker run, or run compiler flagtree <version> in a running container: the wheel is installed into /opt/flagtree before the application starts, so no rebuild is needed. Write the full 0.7.0+<backend>3.6 form to pin one build.
Choosing a FlagGems version
Pass -e FLAGGEMS_VERSION=<version> to docker run to install that FlagGems release before the application starts — no rebuild. -e FLAGGEMS_VERSION=latest takes the newest build on the daily line instead, which leads the next release; it is the newest on that line, not the newest compared to what the image already carries. The wheel is about 13 MB and is fetched once per container. An in-container install keeps the rest of the stack as built, and a request that cannot be met stops the container rather than starting on a different FlagGems.
Launch
With the container toolkit (optional):
docker run --rm -it \
-e DCU_VISIBLE_DEVICES=all \
harbor.baai.ac.cn/flagos-runtime/flagos-runtime-hygon-dtk26.10:2.3.0 bash
Without a toolkit — plain docker / podman:
docker run --rm -it \
--device /dev/kfd \
--device /dev/mkfd \
--device /dev/dri \
--group-add video \
-v /opt/hyhal:/opt/hyhal \
--security-opt seccomp=unconfined \
harbor.baai.ac.cn/flagos-runtime/flagos-runtime-hygon-dtk26.10:2.3.0 bash
Verify
Inside the container, confirm the accelerator is visible:
hy-smi
Changelog
2.3.0
2026-11-19 15:54:12
- Rebuilt on the current base image, which no longer lets
vendor.shoverwrite a caller’sPYTHONPATH(#1882).
2026-11-19 13:32:42
- Adds
amdsmi==7.0.2to this backend’s runtime dependencies, so torch’s cuda monitoring calls work.hy-smiexposes no Python API and the driver’s amdsmi tree at/opt/hyhal/share/smiis a host mount the image never installs, so the import was missing entirely.
2026-11-16 13:29:04
- FlagTree moves to
0.7.1a1+hcu3.6, which is the first ref whose hcu kernels emit the i64numRecordsinllvm.amdgcn.make.buffer.rsrcthat this base image’s clang-18 (the5f9d5eaillvm build) parses. Under0.7.0+hcu3.6every kernel failed to compile withIntrinsic has incorrect argument type. - The wheel is built on the
hcu-dtk2610builder, which now stages the188a510LLVM tree that ref names, thelibdushmem_device_gfx936.bcbitcode itshcu.pycopies into/opt/dtk/dushmem/lib/, andlibzstd-devthat tree’s CMake exports require.
2026-11-10 09:27:16
Rebuild to ship the current in-image helper script: the compiler script’s pip installs now honour a pip cache mounted at PIP_CACHE_DIR instead of re-downloading the wheel every time (#1709).
2026-11-04 11:53:19
- Vendor triton moves to
3.7.0+dtk2610.torch2120.2611032029.g56f888: itsnvidiadriver no longer claims the device, sohcuis the only active driver and Triton is no longer disabled at startup. Under the previoustorch2130build bothamd/nvidiaprobing and the DTK CUDA stub left two drivers active, so every serve fell back to the V1 model runner. - The wheel declares no
torchrequirement, so it installs without dragging a second torch into the DEPS step.
2026-11-01 02:02:26
- First release of this backend’s runtime image: python 3.12 with the DTK 26.10 torch closure (torch 2.13.0, torchvision 0.28.0, torchaudio 2.11.0, apex 1.7.0, flash_attn 2.8.4, numpy 1.26.4), FlagTree 0.7.0+hcu3.6 and FlagGems 5.4.0, above the 26.10 base image.
- flagcx==0.14.1+dtk2610 is now a runtime dependency: FlagTree resolves libflagcx.so to the package’s copy instead of the one triton/_C bundles.
Last updated 20 Nov 2026, 07:14 +0800.