[ci] install released version router (#12410)
This commit is contained in:
@@ -165,6 +165,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
source "$HOME/.cargo/env"
|
source "$HOME/.cargo/env"
|
||||||
export RUSTC_WRAPPER=sccache
|
export RUSTC_WRAPPER=sccache
|
||||||
|
pip install -e "sgl-router"
|
||||||
cd sgl-router
|
cd sgl-router
|
||||||
pip install maturin
|
pip install maturin
|
||||||
maturin build --release --out dist --features vendored-openssl
|
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
|
$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
|
# 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
|
# Install sgl-kernel
|
||||||
SGL_KERNEL_VERSION_FROM_KERNEL=$(grep -Po '(?<=^version = ")[^"]*' sgl-kernel/pyproject.toml)
|
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.
|
> **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
|
## Quick Start
|
||||||
|
|
||||||
### Regular HTTP Routing
|
### Regular HTTP Routing
|
||||||
- **Rust binary**
|
- **Rust binary**
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user