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

Built on

harbor.baai.ac.cn/flagos-runtime/flagos-runtime-hygon-dtk26.04:2.2.0 open_in_new

Python

3.10

Application package

vllm==0.24.0+flagos

vllm-plugin-fl==0.3.0

Launch

Published: harbor.baai.ac.cn/flagos-app/vllm0.24.0-hygon-dtk26.04:2.2.0-0.3.0

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

  IMG=harbor.baai.ac.cn/flagos-app/vllm0.24.0-hygon-dtk26.04:2.2.0-0.3.0
  

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 \
  -e DCU_VISIBLE_DEVICES=all \
  $IMG bash
  

Start the app with its default settings:

  docker run --rm -it \
  -e DCU_VISIBLE_DEVICES=all \
  $IMG
  

Pass arguments to the launcher:

  docker run --rm -it \
  -e DCU_VISIBLE_DEVICES=all \
  $IMG vllm-serve --model <path> --port 9000
  

Without a toolkit — plain docker / podman

Start an interactive shell:

  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 \
  $IMG bash
  

Start the app with its default settings:

  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 \
  $IMG
  

Pass arguments to the launcher:

  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 \
  $IMG vllm-serve --model <path> --port 9000
  

Last updated 28 Sep 2026, 22:19 +0800. history