diff --git a/pack/.post_operation/20261124_vllm_upgrade_router/cann/Dockerfile.vllm b/pack/.post_operation/20261124_vllm_upgrade_router/cann/Dockerfile.vllm new file mode 100644 index 0000000..1f7c168 --- /dev/null +++ b/pack/.post_operation/20261124_vllm_upgrade_router/cann/Dockerfile.vllm @@ -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 </dev/null + + # Review + uv pip tree +EOF + +WORKDIR / +ENTRYPOINT [ "tini", "--" ] diff --git a/pack/.post_operation/20261124_vllm_upgrade_router/matrix.yaml b/pack/.post_operation/20261124_vllm_upgrade_router/matrix.yaml new file mode 100644 index 0000000..90b086d --- /dev/null +++ b/pack/.post_operation/20261124_vllm_upgrade_router/matrix.yaml @@ -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" diff --git a/pack/.post_operation/README.md b/pack/.post_operation/README.md index beca39b..052dd5f 100644 --- a/pack/.post_operation/README.md +++ b/pack/.post_operation/README.md @@ -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.