Files
Lei Zhang 5079197492 build(rocm): install tokenspeed-mooncake from the ROCm nightly index (#4134)
`tokenspeed-mooncake` wheels on PyPI are CUDA builds: they link
`libcuda` and `libcudart` and pull in `nvidia-cuda-runtime`. A ROCm
install that resolves the requirement in `python/pyproject.toml` from
PyPI, as the ROCm CI setup and AMD Docker build do, therefore gets a
library that the engine host cannot load. The ROCm build of the same
post-release, `0.3.13.post20261119+rocm7.2`, is published only to the
LightSeek ROCm nightly index.

The ROCm CI setup and AMD Docker build now install that exact build
before TokenSpeed, allowing it to satisfy TokenSpeed's requirement. They
then verify the installed distribution and fail if it was replaced or is
missing. The checker also rejects version pins without a local build
tag, preventing an untagged PyPI CUDA wheel from passing verification.

The nightly, editable installation, and disaggregation documentation now
explains the ROCm preinstallation requirement. Tests cover acceptance of
the pinned ROCm build and rejection of other ROCm versions, CUDA
versions, missing installations, and untagged pins.

Signed-off-by: Lei Zhang <antiagainst@gmail.com>
2026-12-02 21:31:05 -08:00
..