"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "0d2d424fbef933e4b81bea20a660ee6fc8b75ab0"
Unverified Commit 239eafbd authored by Byron Hsu's avatar Byron Hsu Committed by GitHub
Browse files

Fix rust unit test and pypi token (#2001)

parent 9d427265
...@@ -40,7 +40,7 @@ jobs: ...@@ -40,7 +40,7 @@ jobs:
- name: Build package - name: Build package
uses: pypa/cibuildwheel@v2.21.3 uses: pypa/cibuildwheel@v2.21.3
env: env:
CIBW_BUILD: "cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64" CIBW_BUILD: "cp38-manylinux_x86_64" # cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64"
CIBW_BEFORE_ALL: | CIBW_BEFORE_ALL: |
yum update && yum install -y openssl-devel && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y yum update && yum install -y openssl-devel && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
CIBW_ENVIRONMENT: "PATH=$HOME/.cargo/bin:$PATH" CIBW_ENVIRONMENT: "PATH=$HOME/.cargo/bin:$PATH"
...@@ -98,7 +98,7 @@ jobs: ...@@ -98,7 +98,7 @@ jobs:
- name: Upload to PyPI - name: Upload to PyPI
env: env:
TWINE_USERNAME: __token__ TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN_ROUTER }}
run: | run: |
pip install twine pip install twine
twine upload dist/* --verbose twine upload dist/* --verbose
use sglang_router::tree::RadixTree; use sglang_router_rs::tree::RadixTree;
#[test] #[test]
fn test_new_tree() { fn test_new_tree() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment