mirror of
https://github.com/lightseekorg/tokenspeed.git
synced 2026-12-04 10:26:50 +08:00
`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>