Namespace
lmsysorg
Image / Tag
sglang:deepseek-v4-npu-a3
Content Digest
sha256:21379e27326d74eec802b3cf0dd4770174c6e91709e17a323c162a71ccb85caf
Details
Created

2026-04-24 16:54:05 UTC

Size

4.96 GB

Content Digest
Labels
  • org.opencontainers.image.created
    2026-04-24T16:25:08.458Z
  • org.opencontainers.image.description
    SGLang is a high-performance serving framework for large language models and multimodal models.
  • org.opencontainers.image.licenses
    Apache-2.0
  • org.opencontainers.image.ref.name
    ubuntu
  • org.opencontainers.image.revision
    87337758287b3af108978e6c6c03806f6a0c5ce9
  • org.opencontainers.image.source
    https://github.com/Ascend/sglang
  • org.opencontainers.image.title
    sglang
  • org.opencontainers.image.url
    https://github.com/Ascend/sglang
  • org.opencontainers.image.version
    cann8.5.0-a3-tbnb20260417

Environment
ASCEND_AICPU_PATH

/usr/local/Ascend/cann-8.5.0

ASCEND_HOME_PATH

/usr/local/Ascend/cann-8.5.0

ASCEND_OPP_PATH

/usr/local/Ascend/cann-8.5.0/opp

ASCEND_TOOLKIT_HOME

/usr/local/Ascend/cann-8.5.0

ASCEND_TOOLKIT_LATEST_HOME

/usr/local/Ascend/ascend-toolkit/latest

ATB_COMPARE_TILING_EVERY_KERNEL

0

ATB_HOME_PATH

/usr/local/Ascend/nnal/atb/latest/atb/cxx_abi_1

ATB_MATMUL_SHUFFLE_K_ENABLE

1

ATB_OPSRUNNER_KERNEL_CACHE_GLOABL_COUNT

5

ATB_OPSRUNNER_KERNEL_CACHE_LOCAL_COUNT

1

ATB_SHARE_MEMORY_NAME_SUFFIX

ATB_STREAM_SYNC_EVERY_KERNEL_ENABLE

0

ATB_STREAM_SYNC_EVERY_OPERATION_ENABLE

0

ATB_STREAM_SYNC_EVERY_RUNNER_ENABLE

0

ATB_WORKSPACE_MEM_ALLOC_ALG_TYPE

1

DEBIAN_FRONTEND

noninteractive

LANG

en_US.UTF-8

LANGUAGE

en_US:en

LCCL_DETERMINISTIC

0

LCCL_PARALLEL

0

LC_ALL

en_US.UTF-8

LD_LIBRARY_PATH

/usr/local/Ascend/nnal/atb/latest/atb/cxx_abi_1/lib:/usr/local/Ascend/nnal/atb/latest/atb/cxx_abi_1/examples:/usr/local/Ascend/nnal/atb/latest/atb/cxx_abi_1/tests/atbopstest:/usr/local/Ascend/ascend-toolkit/latest/tools/aml/lib64:/usr/local/Ascend/ascend-toolkit/latest/tools/aml/lib64/plugin:/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/lib64/plugin/opskernel:/usr/local/Ascend/ascend-toolkit/latest/lib64/plugin/nnengine:/usr/local/Ascend/ascend-toolkit/latest/opp/built-in/op_impl/ai_core/tbe/op_tiling:/usr/local/Ascend/cann-8.5.0/tools/aml/lib64:/usr/local/Ascend/cann-8.5.0/tools/aml/lib64/plugin:/usr/local/Ascend/cann-8.5.0/lib64:/usr/local/Ascend/cann-8.5.0/lib64/plugin/opskernel:/usr/local/Ascend/cann-8.5.0/lib64/plugin/nnengine:/usr/local/Ascend/cann-8.5.0/opp/built-in/op_impl/ai_core/tbe/op_tiling:/usr/local/Ascend/driver/lib64:/usr/local/Ascend/driver/lib64/common/:/usr/local/Ascend/driver/lib64/driver/:/usr/local/python3.11.14/lib:

PATH

/usr/local/Ascend/nnal/atb/latest/atb/cxx_abi_1/bin:/usr/local/Ascend/ascend-toolkit/latest/bin:/usr/local/Ascend/ascend-toolkit/latest/compiler/ccec_compiler/bin:/usr/local/Ascend/ascend-toolkit/latest/tools/ccec_compiler/bin:/usr/local/Ascend/cann-8.5.0/tools/show_kernel_debug_data:/usr/local/Ascend/cann-8.5.0/tools/msobjdump:/usr/local/Ascend/cann-8.5.0/bin:/usr/local/Ascend/cann-8.5.0/tools/ccec_compiler/bin:/usr/local/Ascend/cann-8.5.0/tools/profiler/bin:/usr/local/Ascend/cann-8.5.0//tools/ascend_system_advisor/asys:/usr/local/python3.11.14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHONPATH

/usr/local/Ascend/ascend-toolkit/latest/python/site-packages:/usr/local/Ascend/ascend-toolkit/latest/opp/built-in/op_impl/ai_core/tbe:/usr/local/Ascend/cann-8.5.0/python/site-packages:/usr/local/Ascend/cann-8.5.0/opp/built-in/op_impl/ai_core/tbe:

TOOLCHAIN_HOME

/usr/local/Ascend/cann-8.5.0/toolkit


Layers

[#000] sha256:517f43312bfe3b4db0f0f031d8b6deb1aa5616b07fae71fa0d349f9ce451564f - 0.51% (26.1 MB)

[#001] sha256:64e905fdae6630a050bbe00f7c5af79f7d06bc507bd7181e535d00f2eb72cdfd - 2.75% (140 MB)

[#002] sha256:69a790650a81a8ae41a7de893a5d779484d8fe2902d810a3ce24c23fc5c11c84 - 1.59% (80.9 MB)

[#003] sha256:d29f02dbe2d8f5efd1032338d6cdc91c2ecd8059c0441be5a40e3c3511d7db3f - 70.9% (3.51 GB)

[#004] sha256:ac27c54aafbd1ee7fe3aeaaa64fdab283ccab833c8661f7905e56e2fae7cd83e - 0.0% (214 Bytes)

[#005] sha256:d8cbdfe053ed4ea871bdfb56a1b3b2d34d3c752d583cc2c7a8172d4c14dffcf7 - 0.0% (1.85 KB)

[#006] sha256:c7ae80434b4ea6fa091b3744f5b00f5c8f8b224ca7fbf129cc25180ff7cb127d - 0.0% (103 Bytes)

[#007] sha256:f7de90c65f4b7b6fd2726e672347dd11c4296d4cef7e8300cabe6d4d8f282158 - 0.0% (216 Bytes)

[#008] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#009] sha256:762521c793952e1a54e6fbd0cf31aa64c182c2f7dc2ac2271a9e357f045d1f39 - 6.76% (343 MB)

[#010] sha256:337d7af0f7485f76b8e733444a8462a2862c0d99212fe1e620670b43881de5d4 - 0.06% (2.84 MB)

[#011] sha256:6713bb89e60a923202788c55bd4dc9aff3038ac9a113480e78890a46331a7056 - 0.74% (37.8 MB)

[#012] sha256:0f797d3e0287d765bd6061e1711e4b3cc9c009d2ec5b695226f1e0f78edbafa5 - 3.86% (196 MB)

[#013] sha256:ca1d2afaf00ff2554ee86d32665e2bd7bf17767951792342f1db8329856be521 - 1.02% (51.6 MB)

[#014] sha256:86021c6fc14e6939799098fe6124861017b529b73f122cc68609324dbc15ea3e - 10.61% (538 MB)

[#015] sha256:421d579b4bab4dd471bc82d479ae56874d771f42d0ecd16522e587411ccc48f0 - 0.05% (2.34 MB)

[#016] sha256:aa6825149e40d57cd313496ce4149806ce13b0b92720a1f215cb638299b79f66 - 1.14% (58 MB)

[#017] sha256:3d5c1c8ea0a7c853ea71b23b8a7902cd237ea90bc1eb4a5555382386b1d61229 - 0.0% (1.89 KB)


History
2026-01-09 07:03:27 UTC

/bin/sh -c #(nop) ARG RELEASE

2026-01-09 07:03:27 UTC

/bin/sh -c #(nop) ARG LAUNCHPAD_BUILD_ARCH

2026-01-09 07:03:27 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.ref.name=ubuntu

2026-01-09 07:03:27 UTC

/bin/sh -c #(nop) LABEL org.opencontainers.image.version=22.04

2026-01-09 07:03:30 UTC

/bin/sh -c #(nop) ADD file:643ece0a7a3a6026f87ab17e08013e914d8971796eb302cfa051d97af4bf9939 in /

2026-01-09 07:03:30 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/python3.11.14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV LD_LIBRARY_PATH=/usr/local/python3.11.14/lib:

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ASCEND_TOOLKIT_HOME=/usr/local/Ascend/cann-8.5.0

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ASCEND_TOOLKIT_LATEST_HOME=/usr/local/Ascend/ascend-toolkit/latest

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV LD_LIBRARY_PATH=/usr/local/Ascend/driver/lib64:/usr/local/Ascend/driver/lib64/common/:/usr/local/Ascend/driver/lib64/driver/:/usr/local/python3.11.14/lib:

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV LD_LIBRARY_PATH=/usr/local/Ascend/cann-8.5.0/lib64:/usr/local/Ascend/cann-8.5.0/lib64/plugin/opskernel:/usr/local/Ascend/cann-8.5.0/lib64/plugin/nnengine:/usr/local/Ascend/cann-8.5.0/opp/built-in/op_impl/ai_core/tbe/op_tiling:/usr/local/Ascend/driver/lib64:/usr/local/Ascend/driver/lib64/common/:/usr/local/Ascend/driver/lib64/driver/:/usr/local/python3.11.14/lib:

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV LD_LIBRARY_PATH=/usr/local/Ascend/cann-8.5.0/tools/aml/lib64:/usr/local/Ascend/cann-8.5.0/tools/aml/lib64/plugin:/usr/local/Ascend/cann-8.5.0/lib64:/usr/local/Ascend/cann-8.5.0/lib64/plugin/opskernel:/usr/local/Ascend/cann-8.5.0/lib64/plugin/nnengine:/usr/local/Ascend/cann-8.5.0/opp/built-in/op_impl/ai_core/tbe/op_tiling:/usr/local/Ascend/driver/lib64:/usr/local/Ascend/driver/lib64/common/:/usr/local/Ascend/driver/lib64/driver/:/usr/local/python3.11.14/lib:

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/lib64/plugin/opskernel:/usr/local/Ascend/ascend-toolkit/latest/lib64/plugin/nnengine:/usr/local/Ascend/ascend-toolkit/latest/opp/built-in/op_impl/ai_core/tbe/op_tiling:/usr/local/Ascend/cann-8.5.0/tools/aml/lib64:/usr/local/Ascend/cann-8.5.0/tools/aml/lib64/plugin:/usr/local/Ascend/cann-8.5.0/lib64:/usr/local/Ascend/cann-8.5.0/lib64/plugin/opskernel:/usr/local/Ascend/cann-8.5.0/lib64/plugin/nnengine:/usr/local/Ascend/cann-8.5.0/opp/built-in/op_impl/ai_core/tbe/op_tiling:/usr/local/Ascend/driver/lib64:/usr/local/Ascend/driver/lib64/common/:/usr/local/Ascend/driver/lib64/driver/:/usr/local/python3.11.14/lib:

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV LD_LIBRARY_PATH=/usr/local/Ascend/ascend-toolkit/latest/tools/aml/lib64:/usr/local/Ascend/ascend-toolkit/latest/tools/aml/lib64/plugin:/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/lib64/plugin/opskernel:/usr/local/Ascend/ascend-toolkit/latest/lib64/plugin/nnengine:/usr/local/Ascend/ascend-toolkit/latest/opp/built-in/op_impl/ai_core/tbe/op_tiling:/usr/local/Ascend/cann-8.5.0/tools/aml/lib64:/usr/local/Ascend/cann-8.5.0/tools/aml/lib64/plugin:/usr/local/Ascend/cann-8.5.0/lib64:/usr/local/Ascend/cann-8.5.0/lib64/plugin/opskernel:/usr/local/Ascend/cann-8.5.0/lib64/plugin/nnengine:/usr/local/Ascend/cann-8.5.0/opp/built-in/op_impl/ai_core/tbe/op_tiling:/usr/local/Ascend/driver/lib64:/usr/local/Ascend/driver/lib64/common/:/usr/local/Ascend/driver/lib64/driver/:/usr/local/python3.11.14/lib:

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV PYTHONPATH=/usr/local/Ascend/cann-8.5.0/python/site-packages:/usr/local/Ascend/cann-8.5.0/opp/built-in/op_impl/ai_core/tbe:

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV PYTHONPATH=/usr/local/Ascend/ascend-toolkit/latest/python/site-packages:/usr/local/Ascend/ascend-toolkit/latest/opp/built-in/op_impl/ai_core/tbe:/usr/local/Ascend/cann-8.5.0/python/site-packages:/usr/local/Ascend/cann-8.5.0/opp/built-in/op_impl/ai_core/tbe:

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/Ascend/cann-8.5.0/bin:/usr/local/Ascend/cann-8.5.0/tools/ccec_compiler/bin:/usr/local/Ascend/cann-8.5.0/tools/profiler/bin:/usr/local/Ascend/cann-8.5.0//tools/ascend_system_advisor/asys:/usr/local/python3.11.14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/Ascend/cann-8.5.0/tools/show_kernel_debug_data:/usr/local/Ascend/cann-8.5.0/tools/msobjdump:/usr/local/Ascend/cann-8.5.0/bin:/usr/local/Ascend/cann-8.5.0/tools/ccec_compiler/bin:/usr/local/Ascend/cann-8.5.0/tools/profiler/bin:/usr/local/Ascend/cann-8.5.0//tools/ascend_system_advisor/asys:/usr/local/python3.11.14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/Ascend/ascend-toolkit/latest/bin:/usr/local/Ascend/ascend-toolkit/latest/compiler/ccec_compiler/bin:/usr/local/Ascend/ascend-toolkit/latest/tools/ccec_compiler/bin:/usr/local/Ascend/cann-8.5.0/tools/show_kernel_debug_data:/usr/local/Ascend/cann-8.5.0/tools/msobjdump:/usr/local/Ascend/cann-8.5.0/bin:/usr/local/Ascend/cann-8.5.0/tools/ccec_compiler/bin:/usr/local/Ascend/cann-8.5.0/tools/profiler/bin:/usr/local/Ascend/cann-8.5.0//tools/ascend_system_advisor/asys:/usr/local/python3.11.14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ASCEND_AICPU_PATH=/usr/local/Ascend/cann-8.5.0

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ASCEND_OPP_PATH=/usr/local/Ascend/cann-8.5.0/opp

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV TOOLCHAIN_HOME=/usr/local/Ascend/cann-8.5.0/toolkit

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ASCEND_HOME_PATH=/usr/local/Ascend/cann-8.5.0

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ATB_HOME_PATH=/usr/local/Ascend/nnal/atb/latest/atb/cxx_abi_1

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV LD_LIBRARY_PATH=/usr/local/Ascend/nnal/atb/latest/atb/cxx_abi_1/lib:/usr/local/Ascend/nnal/atb/latest/atb/cxx_abi_1/examples:/usr/local/Ascend/nnal/atb/latest/atb/cxx_abi_1/tests/atbopstest:/usr/local/Ascend/ascend-toolkit/latest/tools/aml/lib64:/usr/local/Ascend/ascend-toolkit/latest/tools/aml/lib64/plugin:/usr/local/Ascend/ascend-toolkit/latest/lib64:/usr/local/Ascend/ascend-toolkit/latest/lib64/plugin/opskernel:/usr/local/Ascend/ascend-toolkit/latest/lib64/plugin/nnengine:/usr/local/Ascend/ascend-toolkit/latest/opp/built-in/op_impl/ai_core/tbe/op_tiling:/usr/local/Ascend/cann-8.5.0/tools/aml/lib64:/usr/local/Ascend/cann-8.5.0/tools/aml/lib64/plugin:/usr/local/Ascend/cann-8.5.0/lib64:/usr/local/Ascend/cann-8.5.0/lib64/plugin/opskernel:/usr/local/Ascend/cann-8.5.0/lib64/plugin/nnengine:/usr/local/Ascend/cann-8.5.0/opp/built-in/op_impl/ai_core/tbe/op_tiling:/usr/local/Ascend/driver/lib64:/usr/local/Ascend/driver/lib64/common/:/usr/local/Ascend/driver/lib64/driver/:/usr/local/python3.11.14/lib:

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/Ascend/nnal/atb/latest/atb/cxx_abi_1/bin:/usr/local/Ascend/ascend-toolkit/latest/bin:/usr/local/Ascend/ascend-toolkit/latest/compiler/ccec_compiler/bin:/usr/local/Ascend/ascend-toolkit/latest/tools/ccec_compiler/bin:/usr/local/Ascend/cann-8.5.0/tools/show_kernel_debug_data:/usr/local/Ascend/cann-8.5.0/tools/msobjdump:/usr/local/Ascend/cann-8.5.0/bin:/usr/local/Ascend/cann-8.5.0/tools/ccec_compiler/bin:/usr/local/Ascend/cann-8.5.0/tools/profiler/bin:/usr/local/Ascend/cann-8.5.0//tools/ascend_system_advisor/asys:/usr/local/python3.11.14/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ATB_STREAM_SYNC_EVERY_KERNEL_ENABLE=0

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ATB_STREAM_SYNC_EVERY_RUNNER_ENABLE=0

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ATB_STREAM_SYNC_EVERY_OPERATION_ENABLE=0

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ATB_OPSRUNNER_KERNEL_CACHE_LOCAL_COUNT=1

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ATB_OPSRUNNER_KERNEL_CACHE_GLOABL_COUNT=5

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ATB_WORKSPACE_MEM_ALLOC_ALG_TYPE=1

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ATB_COMPARE_TILING_EVERY_KERNEL=0

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ATB_SHARE_MEMORY_NAME_SUFFIX=

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV ATB_MATMUL_SHUFFLE_K_ENABLE=1

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV LCCL_DETERMINISTIC=0

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

ENV LCCL_PARALLEL=0

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

SHELL [/bin/bash -c]

2026-01-19 06:27:57 UTC (buildkit.dockerfile.v0)

RUN /bin/bash -c apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y apt-transport-https ca-certificates bash libc6 libsqlite3-dev gcc g++ make cmake git vim wget jq curl build-essential libnuma-dev && apt-get clean && rm -rf /var/lib/apt/lists/* && rm -rf /var/tmp/* && rm -rf /tmp/* # buildkit

2026-01-19 06:46:52 UTC (buildkit.dockerfile.v0)

COPY /usr/local/python3.11.14 /usr/local/python3.11.14 # buildkit

2026-01-19 06:48:22 UTC (buildkit.dockerfile.v0)

COPY /usr/local/Ascend /usr/local/Ascend # buildkit

2026-01-19 06:48:23 UTC (buildkit.dockerfile.v0)

COPY /etc/Ascend /etc/Ascend # buildkit

2026-01-19 06:48:24 UTC (buildkit.dockerfile.v0)

RUN /bin/bash -c CANN_TOOLKIT_ENV_FILE="/usr/local/Ascend/ascend-toolkit/set_env.sh" && CANN_BISHENG_ENV_FILE="/usr/local/Ascend/cann-8.5.0/share/info/ascendnpu-ir/bin/set_env.sh" && CANN_NNAL_ENV_FILE="/usr/local/Ascend/nnal/atb/set_env.sh" && echo "source ${CANN_TOOLKIT_ENV_FILE}" >> /etc/profile && echo "source ${CANN_TOOLKIT_ENV_FILE}" >> ~/.bashrc && echo "source ${CANN_BISHENG_ENV_FILE}" >> /etc/profile && echo "source ${CANN_BISHENG_ENV_FILE}" >> ~/.bashrc && echo "source ${CANN_NNAL_ENV_FILE}" >> /etc/profile && echo "source ${CANN_NNAL_ENV_FILE}" >> ~/.bashrc # buildkit

2026-01-19 06:48:24 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/bin/bash" "-c" " source /usr/local/Ascend/ascend-toolkit/set_env.sh && source /usr/local/Ascend/cann-8.5.0/share/info/ascendnpu-ir/bin/set_env.sh && source /usr/local/Ascend/nnal/atb/set_env.sh && exec \"$@\"" "--"]

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

ARG TARGETARCH=arm64

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

ARG CANN_VERSION=8.5.0

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

ARG DEVICE_TYPE=a3

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

ARG PIP_INDEX_URL=https://pypi.org/simple/

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

ARG APTMIRROR=

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

ARG PYTORCH_VERSION=2.8.0

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

ARG TORCHVISION_VERSION=0.23.0

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

ARG TORCH_NPU_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/torch_npu-2.8.0.post2%2Bgitdef4a1c-cp311-cp311-manylinux_2_28_aarch64.whl

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

ARG ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

ARG SGLANG_KERNEL_NPU_TAG=2026.03.10.rc1

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

ARG PIP_INSTALL=python3 -m pip install --no-cache-dir

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

ARG DEVICE_TYPE=a3

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

WORKDIR /sgl-workspace

2026-04-24 16:27:40 UTC (buildkit.dockerfile.v0)

ENV DEBIAN_FRONTEND=noninteractive

2026-04-24 16:27:43 UTC (buildkit.dockerfile.v0)

RUN |11 TARGETARCH=arm64 CANN_VERSION=8.5.0 DEVICE_TYPE=a3 PIP_INDEX_URL=https://pypi.org/simple/ APTMIRROR= PYTORCH_VERSION=2.8.0 TORCHVISION_VERSION=0.23.0 TORCH_NPU_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/torch_npu-2.8.0.post2%2Bgitdef4a1c-cp311-cp311-manylinux_2_28_aarch64.whl ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit SGLANG_KERNEL_NPU_TAG=2026.03.10.rc1 PIP_INSTALL=python3 -m pip install --no-cache-dir /bin/bash -c pip config set global.index-url $PIP_INDEX_URL # buildkit

2026-04-24 16:27:43 UTC (buildkit.dockerfile.v0)

RUN |11 TARGETARCH=arm64 CANN_VERSION=8.5.0 DEVICE_TYPE=a3 PIP_INDEX_URL=https://pypi.org/simple/ APTMIRROR= PYTORCH_VERSION=2.8.0 TORCHVISION_VERSION=0.23.0 TORCH_NPU_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/torch_npu-2.8.0.post2%2Bgitdef4a1c-cp311-cp311-manylinux_2_28_aarch64.whl ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit SGLANG_KERNEL_NPU_TAG=2026.03.10.rc1 PIP_INSTALL=python3 -m pip install --no-cache-dir /bin/bash -c if [ -n "$APTMIRROR" ]; then sed -i "s|.*.ubuntu.com|$APTMIRROR|g" /etc/apt/sources.list; fi # buildkit

2026-04-24 16:31:21 UTC (buildkit.dockerfile.v0)

RUN |11 TARGETARCH=arm64 CANN_VERSION=8.5.0 DEVICE_TYPE=a3 PIP_INDEX_URL=https://pypi.org/simple/ APTMIRROR= PYTORCH_VERSION=2.8.0 TORCHVISION_VERSION=0.23.0 TORCH_NPU_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/torch_npu-2.8.0.post2%2Bgitdef4a1c-cp311-cp311-manylinux_2_28_aarch64.whl ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit SGLANG_KERNEL_NPU_TAG=2026.03.10.rc1 PIP_INSTALL=python3 -m pip install --no-cache-dir /bin/bash -c apt-get update -y && apt upgrade -y && apt-get install -y unzip build-essential cmake vim wget curl net-tools zlib1g-dev lld clang locales ccache openssl libssl-dev pkg-config libgl1-mesa-glx libgl1-mesa-dri ca-certificates && rm -rf /var/cache/apt/* && rm -rf /var/lib/apt/lists/* && update-ca-certificates && locale-gen en_US.UTF-8 # buildkit

2026-04-24 16:31:21 UTC (buildkit.dockerfile.v0)

ENV LANG=en_US.UTF-8

2026-04-24 16:31:21 UTC (buildkit.dockerfile.v0)

ENV LANGUAGE=en_US:en

2026-04-24 16:31:21 UTC (buildkit.dockerfile.v0)

ENV LC_ALL=en_US.UTF-8

2026-04-24 16:31:29 UTC (buildkit.dockerfile.v0)

RUN |11 TARGETARCH=arm64 CANN_VERSION=8.5.0 DEVICE_TYPE=a3 PIP_INDEX_URL=https://pypi.org/simple/ APTMIRROR= PYTORCH_VERSION=2.8.0 TORCHVISION_VERSION=0.23.0 TORCH_NPU_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/torch_npu-2.8.0.post2%2Bgitdef4a1c-cp311-cp311-manylinux_2_28_aarch64.whl ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit SGLANG_KERNEL_NPU_TAG=2026.03.10.rc1 PIP_INSTALL=python3 -m pip install --no-cache-dir /bin/bash -c ${PIP_INSTALL} memfabric-hybrid==1.0.8 # buildkit

2026-04-24 16:32:44 UTC (buildkit.dockerfile.v0)

RUN |11 TARGETARCH=arm64 CANN_VERSION=8.5.0 DEVICE_TYPE=a3 PIP_INDEX_URL=https://pypi.org/simple/ APTMIRROR= PYTORCH_VERSION=2.8.0 TORCHVISION_VERSION=0.23.0 TORCH_NPU_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/torch_npu-2.8.0.post2%2Bgitdef4a1c-cp311-cp311-manylinux_2_28_aarch64.whl ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit SGLANG_KERNEL_NPU_TAG=2026.03.10.rc1 PIP_INSTALL=python3 -m pip install --no-cache-dir /bin/bash -c ${PIP_INSTALL} sglang-router # buildkit

2026-04-24 16:37:41 UTC (buildkit.dockerfile.v0)

RUN |11 TARGETARCH=arm64 CANN_VERSION=8.5.0 DEVICE_TYPE=a3 PIP_INDEX_URL=https://pypi.org/simple/ APTMIRROR= PYTORCH_VERSION=2.8.0 TORCHVISION_VERSION=0.23.0 TORCH_NPU_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/torch_npu-2.8.0.post2%2Bgitdef4a1c-cp311-cp311-manylinux_2_28_aarch64.whl ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit SGLANG_KERNEL_NPU_TAG=2026.03.10.rc1 PIP_INSTALL=python3 -m pip install --no-cache-dir /bin/bash -c ${PIP_INSTALL} torch==${PYTORCH_VERSION} torchvision==${TORCHVISION_VERSION} --index-url https://download.pytorch.org/whl/cpu && ${PIP_INSTALL} "${TORCH_NPU_URL}" # buildkit

2026-04-24 16:38:00 UTC (buildkit.dockerfile.v0)

RUN |11 TARGETARCH=arm64 CANN_VERSION=8.5.0 DEVICE_TYPE=a3 PIP_INDEX_URL=https://pypi.org/simple/ APTMIRROR= PYTORCH_VERSION=2.8.0 TORCHVISION_VERSION=0.23.0 TORCH_NPU_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/torch_npu-2.8.0.post2%2Bgitdef4a1c-cp311-cp311-manylinux_2_28_aarch64.whl ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit SGLANG_KERNEL_NPU_TAG=2026.03.10.rc1 PIP_INSTALL=python3 -m pip install --no-cache-dir /bin/bash -c ${PIP_INSTALL} pybind11 triton-ascend # buildkit

2026-04-24 16:52:48 UTC (buildkit.dockerfile.v0)

RUN |11 TARGETARCH=arm64 CANN_VERSION=8.5.0 DEVICE_TYPE=a3 PIP_INDEX_URL=https://pypi.org/simple/ APTMIRROR= PYTORCH_VERSION=2.8.0 TORCHVISION_VERSION=0.23.0 TORCH_NPU_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/torch_npu-2.8.0.post2%2Bgitdef4a1c-cp311-cp311-manylinux_2_28_aarch64.whl ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit SGLANG_KERNEL_NPU_TAG=2026.03.10.rc1 PIP_INSTALL=python3 -m pip install --no-cache-dir /bin/bash -c git clone https://github.com/iforgetmyname/sglang --branch dsv4_release && cd /sgl-workspace/sglang/python && rm -rf pyproject.toml && mv pyproject_npu.toml pyproject.toml && ${PIP_INSTALL} -v -e .[all_npu] # buildkit

2026-04-24 16:53:23 UTC (buildkit.dockerfile.v0)

RUN |11 TARGETARCH=arm64 CANN_VERSION=8.5.0 DEVICE_TYPE=a3 PIP_INDEX_URL=https://pypi.org/simple/ APTMIRROR= PYTORCH_VERSION=2.8.0 TORCHVISION_VERSION=0.23.0 TORCH_NPU_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/torch_npu-2.8.0.post2%2Bgitdef4a1c-cp311-cp311-manylinux_2_28_aarch64.whl ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit SGLANG_KERNEL_NPU_TAG=2026.03.10.rc1 PIP_INSTALL=python3 -m pip install --no-cache-dir /bin/bash -c ${PIP_INSTALL} wheel==0.45.1 pybind11 pyyaml decorator scipy attrs psutil && mkdir sgl-kernel-npu && cd sgl-kernel-npu && wget https://github.com/sgl-project/sgl-kernel-npu/releases/download/${SGLANG_KERNEL_NPU_TAG}/sgl-kernel-npu-${SGLANG_KERNEL_NPU_TAG}-torch2.8.0-py311-cann${CANN_VERSION}-${DEVICE_TYPE}-$(arch).zip && unzip sgl-kernel-npu-${SGLANG_KERNEL_NPU_TAG}-torch2.8.0-py311-cann${CANN_VERSION}-${DEVICE_TYPE}-$(arch).zip && ${PIP_INSTALL} deep_ep*.whl sgl_kernel_npu*.whl && cd .. && rm -rf sgl-kernel-npu && cd "$(python3 -m pip show deep-ep | awk '/^Location:/ {print $2}')" && ln -sf deep_ep/deep_ep_cpp*.so # buildkit

2026-04-24 16:53:23 UTC (buildkit.dockerfile.v0)

ARG CUSTOM_OPS_RUN_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/a3/CANN-custom_ops--linux.aarch64.run

2026-04-24 16:53:23 UTC (buildkit.dockerfile.v0)

ARG CUSTOM_OPS_WHL_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/a3/custom_ops-1.0-cp311-cp311-linux_aarch64.whl

2026-04-24 16:53:23 UTC (buildkit.dockerfile.v0)

ARG TRANSFORMER_RUN_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/a3/cann-ops-transformer-custom_linux-aarch64.run

2026-04-24 16:54:05 UTC (buildkit.dockerfile.v0)

RUN |14 TARGETARCH=arm64 CANN_VERSION=8.5.0 DEVICE_TYPE=a3 PIP_INDEX_URL=https://pypi.org/simple/ APTMIRROR= PYTORCH_VERSION=2.8.0 TORCHVISION_VERSION=0.23.0 TORCH_NPU_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/torch_npu-2.8.0.post2%2Bgitdef4a1c-cp311-cp311-manylinux_2_28_aarch64.whl ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit SGLANG_KERNEL_NPU_TAG=2026.03.10.rc1 PIP_INSTALL=python3 -m pip install --no-cache-dir CUSTOM_OPS_RUN_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/a3/CANN-custom_ops--linux.aarch64.run CUSTOM_OPS_WHL_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/a3/custom_ops-1.0-cp311-cp311-linux_aarch64.whl TRANSFORMER_RUN_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/a3/cann-ops-transformer-custom_linux-aarch64.run /bin/bash -c mkdir -p /tmp/ascend_ops && cd /tmp/ascend_ops && wget -O CANN-custom_ops.run "${CUSTOM_OPS_RUN_URL}" && wget -O cann-ops-transformer.run "${TRANSFORMER_RUN_URL}" && chmod +x CANN-custom_ops.run && ./CANN-custom_ops.run --quiet --install-path=${ASCEND_CANN_PATH}/latest/opp && chmod +x cann-ops-transformer.run && ./cann-ops-transformer.run --quiet --install-path=${ASCEND_CANN_PATH}/latest/opp && ${PIP_INSTALL} ${CUSTOM_OPS_WHL_URL} && cd / && rm -rf /tmp/ascend_ops # buildkit

2026-04-24 16:54:05 UTC (buildkit.dockerfile.v0)

RUN |14 TARGETARCH=arm64 CANN_VERSION=8.5.0 DEVICE_TYPE=a3 PIP_INDEX_URL=https://pypi.org/simple/ APTMIRROR= PYTORCH_VERSION=2.8.0 TORCHVISION_VERSION=0.23.0 TORCH_NPU_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/torch_npu-2.8.0.post2%2Bgitdef4a1c-cp311-cp311-manylinux_2_28_aarch64.whl ASCEND_CANN_PATH=/usr/local/Ascend/ascend-toolkit SGLANG_KERNEL_NPU_TAG=2026.03.10.rc1 PIP_INSTALL=python3 -m pip install --no-cache-dir CUSTOM_OPS_RUN_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/a3/CANN-custom_ops--linux.aarch64.run CUSTOM_OPS_WHL_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/a3/custom_ops-1.0-cp311-cp311-linux_aarch64.whl TRANSFORMER_RUN_URL=https://sglang-ascend.obs.cn-east-3.myhuaweicloud.com:443/newmodel/pkg_20260413/a3/cann-ops-transformer-custom_linux-aarch64.run /bin/bash -c echo "source ${ASCEND_CANN_PATH}/latest/opp/vendors/customize/bin/set_env.bash" >> /etc/profile && echo "source ${ASCEND_CANN_PATH}/latest/opp/vendors/custom_transformer/bin/set_env.bash" >> /etc/profile && echo "source ${ASCEND_CANN_PATH}/latest/opp/vendors/customize/bin/set_env.bash" >> ~/.bashrc && echo "source ${ASCEND_CANN_PATH}/latest/opp/vendors/custom_transformer/bin/set_env.bash" >> ~/.bashrc # buildkit

2026-04-24 16:54:05 UTC (buildkit.dockerfile.v0)

CMD ["/bin/bash"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete