diff --git a/.github/workflows/pr-test-rust.yml b/.github/workflows/pr-test-rust.yml index ce833eb17..6e8e4824a 100644 --- a/.github/workflows/pr-test-rust.yml +++ b/.github/workflows/pr-test-rust.yml @@ -165,6 +165,7 @@ jobs: run: | source "$HOME/.cargo/env" export RUSTC_WRAPPER=sccache + pip install -e "sgl-router" cd sgl-router pip install maturin maturin build --release --out dist --features vendored-openssl diff --git a/scripts/ci/ci_install_dependency.sh b/scripts/ci/ci_install_dependency.sh index 2e6664d12..b40854dce 100755 --- a/scripts/ci/ci_install_dependency.sh +++ b/scripts/ci/ci_install_dependency.sh @@ -96,7 +96,7 @@ fi $PIP_CMD install -e "python[dev]" --extra-index-url https://download.pytorch.org/whl/${CU_VERSION} $PIP_INSTALL_SUFFIX # Install router for pd-disagg test -$PIP_CMD install -e "sgl-router" $PIP_INSTALL_SUFFIX +$PIP_CMD install sglang-router $PIP_INSTALL_SUFFIX # Install sgl-kernel SGL_KERNEL_VERSION_FROM_KERNEL=$(grep -Po '(?<=^version = ")[^"]*' sgl-kernel/pyproject.toml) diff --git a/sgl-router/README.md b/sgl-router/README.md index 78ae3ac26..8bac66e7c 100644 --- a/sgl-router/README.md +++ b/sgl-router/README.md @@ -87,7 +87,6 @@ pip install --force-reinstall dist/*.whl > **Note:** Use `maturin develop` for fast iteration during development (builds in debug mode and installs directly). Use `maturin build --release --features vendored-openssl` for production wheels with full optimizations (opt-level="z", lto="fat") and cross-platform compatibility. The package uses abi3 support for Python 3.8+ compatibility. ## Quick Start - ### Regular HTTP Routing - **Rust binary** ```bash