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
9bddf1c8
Unverified
Commit
9bddf1c8
authored
May 07, 2025
by
Cheng Wan
Committed by
GitHub
May 07, 2025
Browse files
Deferring 8 GPU test (#6102)
parent
24c13ca9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
21 deletions
+28
-21
.github/workflows/pr-test.yml
.github/workflows/pr-test.yml
+27
-20
test/srt/test_pp_single_node.py
test/srt/test_pp_single_node.py
+1
-1
No files found.
.github/workflows/pr-test.yml
View file @
9bddf1c8
...
...
@@ -7,12 +7,14 @@ on:
-
"
python/**"
-
"
scripts/**"
-
"
test/**"
-
"
.github/workflows/pr-test.yml"
pull_request
:
branches
:
[
main
]
paths
:
-
"
python/**"
-
"
scripts/**"
-
"
test/**"
-
"
.github/workflows/pr-test.yml"
workflow_dispatch
:
inputs
:
version
:
...
...
@@ -87,24 +89,6 @@ jobs:
cd test/srt
python3 run_suite.py --suite per-commit-2-gpu
unit-test-backend-8-gpu
:
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
github.event.pull_request.draft ==
false
runs-on
:
8-gpu-runner
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v4
-
name
:
Install dependencies
run
:
|
bash scripts/ci_install_dependency_8_gpu.sh
-
name
:
Run test
timeout-minutes
:
20
run
:
|
cd test/srt
python3 run_suite.py --suite per-commit-8-gpu
performance-test-1-gpu-part-1
:
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
github.event.pull_request.draft ==
false
...
...
@@ -256,12 +240,35 @@ jobs:
cd test/srt
python3 test_moe_eval_accuracy_large.py
large-scale-test-8-gpu
:
if
:
(github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
github.event.pull_request.draft ==
false
needs
:
[
unit-test-frontend
,
unit-test-backend-1-gpu
,
unit-test-backend-2-gpu
,
performance-test-1-gpu-part-1
,
performance-test-1-gpu-part-2
,
performance-test-2-gpu
,
accuracy-test-1-gpu
,
accuracy-test-2-gpu
,
]
runs-on
:
8-gpu-runner
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@v4
-
name
:
Install dependencies
run
:
|
bash scripts/ci_install_dependency_8_gpu.sh
-
name
:
Run test
timeout-minutes
:
25
run
:
|
cd test/srt
python3 run_suite.py --suite per-commit-8-gpu
finish
:
if
:
always()
needs
:
[
unit-test-frontend
,
unit-test-backend-1-gpu
,
unit-test-backend-2-gpu
,
unit-test-backend-8-gpu
,
unit-test-frontend
,
unit-test-backend-1-gpu
,
unit-test-backend-2-gpu
,
performance-test-1-gpu-part-1
,
performance-test-1-gpu-part-2
,
performance-test-2-gpu
,
accuracy-test-1-gpu
,
accuracy-test-2-gpu
,
accuracy-test-1-gpu
,
accuracy-test-2-gpu
,
large-scale-test-8-gpu
,
]
runs-on
:
ubuntu-latest
steps
:
...
...
test/srt/test_pp_single_node.py
View file @
9bddf1c8
...
...
@@ -61,7 +61,7 @@ class TestPPAccuracy(unittest.TestCase):
metrics
=
run_eval
(
args
)
print
(
f
"
{
metrics
=
}
"
)
self
.
assertGreater
(
metrics
[
"accuracy"
],
0.7
5
)
self
.
assertGreater
(
metrics
[
"accuracy"
],
0.7
4
)
# Wait a little bit so that the memory check happens.
time
.
sleep
(
5
)
...
...
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