Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
ARG CANN_VERSION=9.2
ARG CANN_ARCHS=910b
ARG VLLM_VERSION=0.30.0
ARG VLLM_ROUTER_VERSION=0.1.17

FROM gpustack/runner:cann${CANN_VERSION}-${CANN_ARCHS}-vllm${VLLM_VERSION} AS vllm
SHELL ["/bin/bash", "-eo", "pipefail", "-c"]

ARG VLLM_ROUTER_VERSION

## Upgrade vLLM Router
##
## vLLM Router 0.1.15 predates the fix that sets `min_tokens=1` alongside
## `max_tokens=1` on the internal prefill request. Without it, a prefill-only
## request can finish on its first token with FINISHED_STOPPED, and the Ascend
## Mooncake connectors only return KV handoff parameters for
## FINISHED_LENGTH_CAPPED -- so Decode is sent the original request with no
## remote blocks and can recompute the whole prompt. 0.1.17 is the first
## release carrying that fix.
##
## The wheel is prebuilt for aarch64 and x86_64 and declares the same
## pure-Python web dependencies as 0.1.15, and `--no-deps` keeps the install
## from resolving or moving anything else in the image. Only the router
## changes.
RUN <<EOF
# vLLM Router

UV_NO_CACHE=1 uv pip install --no-deps \
vllm-router==${VLLM_ROUTER_VERSION}

# Fail the build rather than ship an image whose router is missing or
# broken.
command -v vllm-router >/dev/null

# Review
uv pip tree
EOF

WORKDIR /
ENTRYPOINT [ "tini", "--" ]
38 changes: 38 additions & 0 deletions pack/.post_operation/20261124_vllm_upgrade_router/matrix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
rules:

# Released Ascend CANN 9.2 vLLM 0.30.0 images, one rule per hardware variant.
#
# CANN_VERSION carries the major.minor the released tag uses; the recipe's
# patch component (9.2.1) is not part of the image tag.

- backend: "cann"
services:
- "vllm"
args:
- "CANN_VERSION=9.2"
- "CANN_ARCHS=910b"
- "VLLM_VERSION=0.30.0"

- backend: "cann"
services:
- "vllm"
args:
- "CANN_VERSION=9.2"
- "CANN_ARCHS=950"
- "VLLM_VERSION=0.30.0"

- backend: "cann"
services:
- "vllm"
args:
- "CANN_VERSION=9.2"
- "CANN_ARCHS=a3"
- "VLLM_VERSION=0.30.0"

- backend: "cann"
services:
- "vllm"
args:
- "CANN_VERSION=9.2"
- "CANN_ARCHS=310p"
- "VLLM_VERSION=0.30.0"
1 change: 1 addition & 0 deletions pack/.post_operation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ refresh their existing catalog rows. If selected again, they use central collect
- [x] 2026-09-20: Install `vllm-router` package for vLLM 0.27.1 of CUDA released images.
- [x] 2026-09-24: Patch vLLM 0.29.0 of CUDA/ROCm released images to fix mooncake store pending load assertion.
- [x] 2026-10-16: Disable the spec-less `humming` stub vllm-omni registers in `sys.modules` for vLLM 0.27.1/0.29.0/0.30.0/0.31.0 of ROCm/CANN released images.
- [ ] 2026-11-24: Upgrade `vllm-router` to 0.1.17 for vLLM 0.30.0 of CANN 9.2 released images.
Loading