Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
239eafbd
"csrc/git@developer.sourcefind.cn:OpenDAS/torch-cluster.git" did not exist on "99d0792e56e769567b5e70dc2befc2a9e89fb9de"
Unverified
Commit
239eafbd
authored
Nov 11, 2024
by
Byron Hsu
Committed by
GitHub
Nov 11, 2024
Browse files
Fix rust unit test and pypi token (#2001)
parent
9d427265
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.github/workflows/release-pypi-router.yml
.github/workflows/release-pypi-router.yml
+2
-2
rust/tests/test_tree.rs
rust/tests/test_tree.rs
+1
-1
No files found.
.github/workflows/release-pypi-router.yml
View file @
239eafbd
...
...
@@ -40,7 +40,7 @@ jobs:
-
name
:
Build package
uses
:
pypa/cibuildwheel@v2.21.3
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
:
|
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"
...
...
@@ -98,7 +98,7 @@ jobs:
-
name
:
Upload to PyPI
env
:
TWINE_USERNAME
:
__token__
TWINE_PASSWORD
:
${{ secrets.PYPI_TOKEN }}
TWINE_PASSWORD
:
${{ secrets.PYPI_TOKEN
_ROUTER
}}
run
:
|
pip install twine
twine upload dist/* --verbose
rust/tests/test_tree.rs
View file @
239eafbd
use
sglang_router
::
tree
::
RadixTree
;
use
sglang_router
_rs
::
tree
::
RadixTree
;
#[test]
fn
test_new_tree
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment