Prerequisites

  • Architecture: x86_64
  • Chip models: Tsingmicro TX8110
  • Host driver: 260610164501.01
  • Container toolkit (optional) : tx-container-toolkit >= 2.5.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
  • clang — 18.0
  • cmake — 3.28.3
  • curl — 8.5.0
  • g++ — 13.2.0
  • gcc — 13.2.0
  • git — 2.43.0
  • libfmt8 — 8.1.1+ds1
  • libopenmpi3
  • libpython3-dev — 3.12.3
  • libunwind8 — 1.6.2
  • sudo — 1.9.15p5
  • unzip — 6.0
  • vim — 9.1.0016

SDK components

  • TSM Runtime 260610164501
  • TSM Validation Suite 260610164501
  • TSM CCL 260610164501
  • TSM Profiler 260610164501
  • TX8 Compiler Dependencies 20260507
  • LLVM a66376b0

Environment

  • KUIPER_PATH=/usr/local/kuiper
  • TX8_DEPS_ROOT=/usr/local/tx8_deps
  • LLVM_SYSPATH=/usr/local/llvm
  • PATH=/usr/local/kuiper/bin:${PATH}
  • LLVM_BINARY_DIR=/usr/local/llvm/bin
  • PYTHONPATH=/usr/local/llvm/python_packages/mlir_core
  • LD_LIBRARY_PATH=/usr/local/tx8_deps/lib:/usr/local/kuiper/lib:/usr/local/kuiper/tsm8-profiler/lib
  • USE_TORCH_XLA=0
  • TORCH_COMPILE_DISABLE=1

Launch

With the container toolkit (optional):

  docker run --rm -it \
  --runtime=tsingmicro \
  -e TSINGMICRO_VISIBLE_DEVICES=all \
  harbor.baai.ac.cn/flagos-base/flagos-base-tsingmicro-tsm260610:2.1.2 bash
  

Without a toolkit — plain docker / podman:

  docker run --rm -it \
  --device /dev/accel \
  --device /dev/accel_drv_mgr \
  harbor.baai.ac.cn/flagos-base/flagos-base-tsingmicro-tsm260610:2.1.2 bash
  

Verify

Inside the container, confirm the accelerator is visible:

  tsm_smi
  

Last updated: 2026-08-14 21:51:46 · 521f2968843d

Last updated 15 Aug 2026, 09:57 +0800. history