On this page
sglang0.5.18-kunlunxin-xre5.37.1
Prerequisites
- Architecture: x86_64
- Chip models: Kunlunxin P800
- Host driver: 5.37.1
- Container toolkit (optional) : xpu_container >= 1.0.13
Image contents
Built on
harbor.baai.ac.cn/flagos-runtime/flagos-runtime-kunlunxin-xre5.37.1:2.1.2 open_in_newPython
3.10
Application package
sglang==0.5.18+flagos
sglang-fl==0.1.dev1+g7fb22a0c2
Environment
TORCHINDUCTOR_COMPILE_THREADS=1SGLANG_IS_FLASHINFER_AVAILABLE=falseSGLANG_SKIP_SGL_KERNEL_VERSION_CHECK=1
Launch
Published: harbor.baai.ac.cn/flagos-app/sglang0.5.18-kunlunxin-xre5.37.1:2.1.2-0.1.dev1_g7fb22a0c2
The image name is long — assign it to a variable first:
IMG=harbor.baai.ac.cn/flagos-app/sglang0.5.18-kunlunxin-xre5.37.1:2.1.2-0.1.dev1_g7fb22a0c2
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 xpu \
-e CXPU_VISIBLE_DEVICES=0 \
$IMG bash
Start the app with its default settings:
docker run --rm -it \
--runtime xpu \
-e CXPU_VISIBLE_DEVICES=0 \
$IMG
Pass arguments to the launcher:
docker run --rm -it \
--runtime xpu \
-e CXPU_VISIBLE_DEVICES=0 \
$IMG sglang-serve --model-path <path> --port 9000
Without a toolkit — plain docker / podman
Start an interactive shell:
docker run --rm -it \
--device /dev/xpu0 \
--device /dev/xpuctrl \
$IMG bash
Start the app with its default settings:
docker run --rm -it \
--device /dev/xpu0 \
--device /dev/xpuctrl \
$IMG
Pass arguments to the launcher:
docker run --rm -it \
--device /dev/xpu0 \
--device /dev/xpuctrl \
$IMG sglang-serve --model-path <path> --port 9000
Last updated 24 Sep 2026, 13:40 +0800.