[ci] install released version router (#12410)

This commit is contained in:
Keyang Ru
2025-10-30 21:59:08 -07:00
committed by GitHub
parent 2f766f381d
commit 72b5f3d0bb
3 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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)

View File

@@ -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