[ci] install released version router (#12410)
This commit is contained in:
1
.github/workflows/pr-test-rust.yml
vendored
1
.github/workflows/pr-test-rust.yml
vendored
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user