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
4093d460
Unverified
Commit
4093d460
authored
Aug 11, 2025
by
Keyang Ru
Committed by
GitHub
Aug 11, 2025
Browse files
[CI] migrate router to BM.A10.4 runner (#8992)
Co-authored-by:
key4ng
<
rukeyang@gamil.com
>
parent
9d68bdb2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
+14
-9
.github/workflows/pr-test-rust.yml
.github/workflows/pr-test-rust.yml
+5
-1
sgl-router/README.md
sgl-router/README.md
+1
-0
sgl-router/py_test/test_launch_server.py
sgl-router/py_test/test_launch_server.py
+8
-8
No files found.
.github/workflows/pr-test-rust.yml
View file @
4093d460
...
...
@@ -56,7 +56,7 @@ jobs:
e2e-python
:
if
:
github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
runs-on
:
2-gpu-runner
runs-on
:
BM.A10.4
timeout-minutes
:
30
steps
:
-
name
:
Checkout code
...
...
@@ -66,6 +66,10 @@ jobs:
run
:
|
bash scripts/ci/ci_install_rust.sh
-
name
:
Install SGLang dependencies
run
:
|
sudo bash scripts/ci/ci_install_dependency.sh
-
name
:
Build python binding
run
:
|
source "$HOME/.cargo/env"
...
...
sgl-router/README.md
View file @
4093d460
...
...
@@ -43,6 +43,7 @@ python -m build && pip install --force-reinstall dist/*.whl
```
#### Option B: Development Mode
```
bash
pip
install
-e
.
```
...
...
sgl-router/py_test/test_launch_server.py
View file @
4093d460
...
...
@@ -251,7 +251,7 @@ class TestLaunchServer(unittest.TestCase):
metrics
=
run_eval
(
args
)
score
=
metrics
[
"score"
]
THRESHOLD
=
0.65
THRESHOLD
=
0.6
3
5
passed
=
score
>=
THRESHOLD
msg
=
f
"MMLU test
{
'passed'
if
passed
else
'failed'
}
with score
{
score
:.
3
f
}
(threshold:
{
THRESHOLD
}
)"
self
.
assertGreaterEqual
(
score
,
THRESHOLD
,
msg
)
...
...
@@ -291,7 +291,7 @@ class TestLaunchServer(unittest.TestCase):
)
metrics
=
run_eval
(
args
)
score
=
metrics
[
"score"
]
THRESHOLD
=
0.65
THRESHOLD
=
0.6
3
5
passed
=
score
>=
THRESHOLD
msg
=
f
"MMLU test
{
'passed'
if
passed
else
'failed'
}
with score
{
score
:.
3
f
}
(threshold:
{
THRESHOLD
}
)"
self
.
assertGreaterEqual
(
score
,
THRESHOLD
,
msg
)
...
...
@@ -305,7 +305,7 @@ class TestLaunchServer(unittest.TestCase):
# 5. run mmlu again
metrics
=
run_eval
(
args
)
score
=
metrics
[
"score"
]
THRESHOLD
=
0.65
THRESHOLD
=
0.6
3
5
passed
=
score
>=
THRESHOLD
msg
=
f
"MMLU test
{
'passed'
if
passed
else
'failed'
}
with score
{
score
:.
3
f
}
(threshold:
{
THRESHOLD
}
)"
self
.
assertGreaterEqual
(
score
,
THRESHOLD
,
msg
)
...
...
@@ -358,7 +358,7 @@ class TestLaunchServer(unittest.TestCase):
)
metrics
=
run_eval
(
args
)
score
=
metrics
[
"score"
]
THRESHOLD
=
0.65
THRESHOLD
=
0.6
3
5
passed
=
score
>=
THRESHOLD
msg
=
f
"MMLU test
{
'passed'
if
passed
else
'failed'
}
with score
{
score
:.
3
f
}
(threshold:
{
THRESHOLD
}
)"
self
.
assertGreaterEqual
(
score
,
THRESHOLD
,
msg
)
...
...
@@ -485,7 +485,7 @@ class TestLaunchServer(unittest.TestCase):
metrics
=
run_eval
(
args
)
score
=
metrics
[
"score"
]
THRESHOLD
=
0.65
THRESHOLD
=
0.6
3
5
passed
=
score
>=
THRESHOLD
msg
=
f
"dp aware MMLU test
{
'passed'
if
passed
else
'failed'
}
with score
{
score
:.
3
f
}
(threshold:
{
THRESHOLD
}
)"
self
.
assertGreaterEqual
(
score
,
THRESHOLD
,
msg
)
...
...
@@ -529,7 +529,7 @@ class TestLaunchServer(unittest.TestCase):
)
metrics
=
run_eval
(
args
)
score
=
metrics
[
"score"
]
THRESHOLD
=
0.65
THRESHOLD
=
0.6
3
5
passed
=
score
>=
THRESHOLD
msg
=
f
"MMLU test
{
'passed'
if
passed
else
'failed'
}
with score
{
score
:.
3
f
}
(threshold:
{
THRESHOLD
}
)"
self
.
assertGreaterEqual
(
score
,
THRESHOLD
,
msg
)
...
...
@@ -543,7 +543,7 @@ class TestLaunchServer(unittest.TestCase):
# 5. Run mmlu again
metrics
=
run_eval
(
args
)
score
=
metrics
[
"score"
]
THRESHOLD
=
0.65
THRESHOLD
=
0.6
3
5
passed
=
score
>=
THRESHOLD
msg
=
f
"MMLU test
{
'passed'
if
passed
else
'failed'
}
with score
{
score
:.
3
f
}
(threshold:
{
THRESHOLD
}
)"
self
.
assertGreaterEqual
(
score
,
THRESHOLD
,
msg
)
...
...
@@ -621,7 +621,7 @@ class TestLaunchServer(unittest.TestCase):
)
metrics
=
run_eval
(
args
)
score
=
metrics
[
"score"
]
THRESHOLD
=
0.65
THRESHOLD
=
0.6
3
5
passed
=
score
>=
THRESHOLD
msg
=
f
"MMLU test
{
'passed'
if
passed
else
'failed'
}
with score
{
score
:.
3
f
}
(threshold:
{
THRESHOLD
}
)"
self
.
assertGreaterEqual
(
score
,
THRESHOLD
,
msg
)
...
...
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