Prerequisites

  • Architecture: x86_64
  • Chip models: Hygon BW1000
  • Host driver: 6.3.30-V1.4.1a
  • 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.10ubuntu1
  • ca-certificates — 20260601~24.04.1
  • cmake — 3.28.3
  • curl — 8.5.0
  • g++ — 13.2.0
  • gcc — 13.2.0
  • git — 2.43.0
  • libdrm-amdgpu1 — 2.4.125
  • libdw1
  • libelf1
  • libgfortran5 — 14.2.0
  • libnuma1 — 2.0.18
  • libpciaccess0 — 0.17
  • pciutils — 3.10.0
  • unzip — 6.0
  • vim — 9.1.0016

SDK components

  • Hygon DTK 26.04
  • Hygon DTK 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.04:2.1.2 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.04:2.1.2 bash
  

Verify

Inside the container, confirm the accelerator is visible:

  hy-smi
  

Last updated: 2026-08-16 11:18:33 · f332a6b51cfc

Last updated 16 Aug 2026, 11:48 +0800. history