Prerequisites

  • Architecture: x86_64
  • Chip models: Tsingmicro TX8110
  • Host driver: 260610164501.01
  • Container toolkit (optional) : tx-container-toolkit >= 2.5.0

Image contents

Built on

harbor.baai.ac.cn/flagos-runtime/flagos-runtime-tsingmicro-tsm260610:2.2.0 open_in_new

Python

3.10

Application package

megatron-core[training]==0.17.1

Launch

Published: harbor.baai.ac.cn/flagos-app/megatron_training0.17.1-tsingmicro-tsm260610:2.2.0-0.2.3

The image name is long — assign it to a variable first:

  IMG=harbor.baai.ac.cn/flagos-app/megatron_training0.17.1-tsingmicro-tsm260610:2.2.0-0.2.3
  

The two approaches below are alternatives — pick the one that matches how your host runs containers:

With the container toolkit

Start an interactive shell:

  docker run --rm -it \
  --runtime=tsingmicro \
  -e TSINGMICRO_VISIBLE_DEVICES=all \
  $IMG bash
  

Start the app with its default settings:

  docker run --rm -it \
  --runtime=tsingmicro \
  -e TSINGMICRO_VISIBLE_DEVICES=all \
  $IMG
  

Pass arguments to the launcher:

  docker run --rm -it \
  --runtime=tsingmicro \
  -e TSINGMICRO_VISIBLE_DEVICES=all \
  $IMG megatron-train --model-type GPT
  

Without a toolkit — plain docker / podman

Start an interactive shell:

  docker run --rm -it \
  --device /dev/accel \
  --device /dev/accel_drv_mgr \
  $IMG bash
  

Start the app with its default settings:

  docker run --rm -it \
  --device /dev/accel \
  --device /dev/accel_drv_mgr \
  $IMG
  

Pass arguments to the launcher:

  docker run --rm -it \
  --device /dev/accel \
  --device /dev/accel_drv_mgr \
  $IMG megatron-train --model-type GPT
  

Changelog

2.2.0-0.2.3

2026-09-28 05:23:57

Rebuilt wheel 0.17.1+0.2.3 (release/0.2 = MLF v0.2.3, commit 1da6be72) with the local label dropped to +0.2.3 (the +fl.0.2.3 label is gone, matching the 0.18.2 line’s 0.18.2+0.3.0). App image rebuilt from that wheel, pinned exactly.

2026-09-23 07:26:27

First publication of the training app image on this backend. The megatron-core wheel is built from the Megatron-LM-FL release line’s head, which now carries the platform PRs merged into it (MLF 180 txda graph-capture query, MLF 181 Sunrise PT-PU platform), and the single-step install pin states the wheel exactly (0.17.1+fl.0.2.3) rather than resolving ==0.17.1 to whichever local version the index held. No vendor-side PR is pending.

Last updated 28 Oct 2026, 18:30 +0800. history