Skip to content

build: install sglang's radix_transfer_plugins in the image - #363

Merged
zhihengy merged 2 commits into
mainfrom
output-store/00-install-plugins
Nov 10, 2026
Merged

zhihengy merged 2 commits into
mainfrom
output-store/00-install-plugins

Conversation

@zhihengy

@zhihengy zhihengy commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Bottom of the output store stack; #359, #360 and #361 sit on it.

Summary

radix_transfer_plugins (sgl-project/sglang#42647, on sglang-miles) is a separate package at the SGLang repository root, beside python/. The image installs only python/ from that checkout, so an engine started with an output store and Miles under --use-output-store cannot import it.

Changes

docker/Dockerfile: after pip install -e python, pip install -e radix_transfer_plugins --no-deps from the same checkout, so both packages follow SGLANG_DIFFUSION_COMMIT, and an import of the token stash as a build-time check (the Mooncake backend needs libcuda, which the build host lacks). --no-deps: its dependencies, msgspec and numpy, come with SGLang. Same fix as radixark/miles#4329.

The matching one-line install on both CI paths of .github/workflows/_run-ci.yml is a separate PR: the token this stack was pushed with has no workflow scope.

Tests

Editable install of the package from a sglang-miles checkout into a fresh venv with --no-deps, then import radix_transfer_plugins.stashes.token_output: ok.

@zhihengy zhihengy added the run-ci-e2e Run e2e metric-regression tests on this PR label Nov 9, 2026
@zhihengy
zhihengy merged commit faad45e into main Nov 10, 2026
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-ci-e2e Run e2e metric-regression tests on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant