On this page
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
Base image
ubuntu:24.04
System packages
Explicitly installed; the version is the one baked into this image:
build-essential— 12.10ubuntu1ca-certificates— 20260816ubuntu0.24.04.2cmake— 3.28.3curl— 8.5.0g++— 13.2.0gcc— 13.2.0git— 2.43.0libdrm-amdgpu1— 2.4.125libdw1libelf1libgfortran5— 14.2.0libgoogle-glog0v6t64— 0.6.0libibverbs1— 50.0libnuma1— 2.0.18libpciaccess0— 0.17libquadmath0— 14.2.0pciutils— 3.10.0unzip— 6.0vim— 9.1.0016
SDK components
- Hygon DTK 26.10
- Hygon DTK LLVM
- Hygon DTK AICC LLVM
Launch
With the container toolkit (optional):
docker run --rm -it \
-e DCU_VISIBLE_DEVICES=all \
harbor.baai.ac.cn/flagos-base/flagos-base-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-base/flagos-base-hygon-dtk26.10:2.3.0 bash
Verify
Inside the container, confirm the accelerator is visible:
hy-smi
Last updated: 2026-11-19 21:48:56 · 542bd046173a
Changelog
2.3.0
2026-11-19 13:57:30
vendor.shno longer overwrites a caller’sPYTHONPATH: it now prepends the SDK paths only when they are absent, keeping any path the container was started with (#1866).- Non-interactive bash loads
vendor.shthroughBASH_ENV, so the old absoluteexportdropped the caller’s entries before Python ever ran and broke imports that depended on them.
2026-11-16 12:09:45
- The clang-18 aillvm comes from
dtk_llvm-1.0.0+dtk2604.2609221416.g5f9d5einstead of the baredtk_llvm.run. Both builds’ clang-18 parse FlagTree’s IR apart from one intrinsic:dtk_llvm.run’s takes only i32numRecordsinllvm.amdgcn.make.buffer.rsrc, this one only i64, and the runtime’s FlagTree moves to 0.7.1a1, whose hcu kernels emit i64. Any other pairing fails withIntrinsic has incorrect argument type.
2026-11-04 11:35:10
- The aicc aillvm package joins
dtk_llvm.run, so the image now carries clang-18 and clang-22 side by side and the vendor triton 3.7.0 can compile again. Two compiler paths need one each: vendor triton 3.7.0 passes clang-22-only flags and emits clang-22-only IR, while FlagTree’s bundled libtriton emits IR that only clang-18 parses. Either clang alone leaves one of the two paths red. - Both LLVM installers are now checksum-pinned, like the Open MPI package in this image, and the step asserts that clang-18, clang-22 and MLIRConfig.cmake all landed.
2026-10-31 07:11:14
- ROCm-aware Open MPI 5.0.8 is installed from
flagos-filestore/hygon/openmpi-rocm_5.0.8-1_jammy_amd64.deb, checksum-pinned.libtorch_cpu.soreferencesMPIX_Query_rocm_support, which only Open MPI 5.x’smpiext/rocmcomponent exports and only when built--with-rocm; Ubuntu’s 4.1.x cannot satisfy it, soimport torchfails with an undefined symbol. libibverbs1andlibquadmath0join the apt layer:libtorch_cpu.soNEEDs the former directly, and the MKL libraries torch ships NEED the latter.
2026-10-29 09:41:24
- First delivery: Hygon DTK 26.10 on ubuntu:24.04. DTK 26.10 ships a native Ubuntu-24.04 build, so this image takes it directly instead of the 26.04 line’s 22.04 forward-compat path.
- The dtk_llvm (aillvm) overlay installs into
/opt/dtk-26.10alongside the SDK, matching the 26.04 base image’s toolchain layout.
Last updated 19 Nov 2026, 23:38 +0800.