Prerequisites

  • Architecture: x86_64
  • Chip models: Enflame Zixiao C200 (S60)
  • Host driver: 1.9.29
  • Container toolkit (optional) : tencent-container-toolkit >= 2.0.52

Image contents

Built on

harbor.baai.ac.cn/flagos-base/flagos-base-enflame-tops1.9.29:2.3.0 open_in_new

Python

3.12

Major Python packages

  • flag_gems==5.4.0
  • flagcx==0.14.1+tops1.9.29
  • flagtree==0.7.0+enflame3.6
  • numpy==1.26.4
  • pyefml==1.9.29
  • torch-gcu==2.13.0+3.8.20261020
  • torch==2.13.0+cpu
  • torchaudio==2.11.0+cpu
  • torchvision==0.28.0+cpu
  • triton==3.6.0 (+ triton-gcu==3.6.0+1.0.20261116)

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+enflame3.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.

Environment

  • TORCH_GCU_ENABLE_INT64_AND_UINT64=1
  • ENABLE_I64_CHECK=0
  • ENFLAME_PT_OP_DEBUG_CONFIG=fallback_cpu=all_ops

Launch

With the container toolkit (optional):

  docker run --rm -it \
  --network host \
  -e ENFLAME_VISIBLE_DEVICES=all \
  -e TENCENT_VISIBLE_DEVICES=all \
  harbor.baai.ac.cn/flagos-runtime/flagos-runtime-enflame-tops1.9.29:2.3.0 bash
  

Without a toolkit — plain docker / podman:

  docker run --rm -it \
  --privileged \
  -v /dev:/dev \
  harbor.baai.ac.cn/flagos-runtime/flagos-runtime-enflame-tops1.9.29:2.3.0 bash
  

Verify

Inside the container, confirm the accelerator is visible:

  efsmi
  

Changelog

2.3.0

2026-11-17 16:56:07

  • First delivery: the runtime for Enflame tops1.9.29 (Zixiao C200 / S60), built on the flagos-base-enflame-tops1.9.29:2.3.0 base. Deps pin torch-gcu==2.13.0+3.8.20261020, pyefml==1.9.29, flagcx==0.14.1+tops1.9.29 and the FlagTree/Triton dual compiler; flash-attn is absent in this SDK version (omitted, not yet available).

2026-11-18 06:26:20

  • FlagTree 0.7.1 replaces the 0.7.0 compiler.
  • ENFLAME_PT_OP_DEBUG_CONFIG=fallback_cpu=all_ops is not set in the image environment.

Last updated 18 Nov 2026, 14:47 +0800. history