Prerequisites

  • Architecture: x86_64
  • Chip models: MetaX C550
  • Host driver: 3.8.30
  • Container toolkit (optional) : metax-docker >= 0.15.3

Image contents

Built on

harbor.baai.ac.cn/flagos-base/flagos-base-metax-maca3.7.2.1:2.1.2 open_in_new

Python

3.12

Major Python packages

  • flag_gems==5.3.4
  • flagtree==0.6.1+metax3.6
  • flash_attn==2.6.3+metax3.7.2.0torch2.8
  • numpy==2.3.5
  • torch==2.8.0+metax3.7.2.0
  • torchaudio==2.4.1+metax3.7.2.0
  • torchvision==0.15.1+metax3.7.2.0
  • triton==3.0.0+metax3.7.2.0

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.

Launch

With the container toolkit (optional):

  metax-docker \
  run \
  --rm \
  -it \
  harbor.baai.ac.cn/flagos-runtime/flagos-runtime-metax-maca3.7.2.1:2.1.2 bash
  

Without a toolkit — plain docker / podman:

  docker run --rm -it \
  --device /dev/mxcd \
  --device /dev/dri \
  --group-add video \
  harbor.baai.ac.cn/flagos-runtime/flagos-runtime-metax-maca3.7.2.1:2.1.2 bash
  

Verify

Inside the container, confirm the accelerator is visible:

  mx-smi
  

Last updated 15 Aug 2026, 12:51 +0800. history