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
zhaoyu6
sglang
Commits
299fd22f
"projects/nerf/tests/__init__.py" did not exist on "964893cdcba11c188c42716683fbc39a0d07ff43"
Unverified
Commit
299fd22f
authored
May 19, 2025
by
Baizhou Zhang
Committed by
GitHub
May 19, 2025
Browse files
Fix throughput threshold for amd ci test (#6414)
parent
506e5de8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
test/srt/test_torch_compile_moe.py
test/srt/test_torch_compile_moe.py
+5
-2
No files found.
test/srt/test_torch_compile_moe.py
View file @
299fd22f
...
...
@@ -4,7 +4,7 @@ from types import SimpleNamespace
import
requests
from
sglang.srt.utils
import
kill_process_tree
from
sglang.srt.utils
import
is_cuda
,
kill_process_tree
from
sglang.test.run_eval
import
run_eval
from
sglang.test.test_utils
import
(
DEFAULT_SMALL_MOE_MODEL_NAME_FOR_TEST
,
...
...
@@ -67,7 +67,10 @@ class TestTorchCompileMoe(CustomTestCase):
tok
=
time
.
perf_counter
()
print
(
f
"
{
res
=
}
"
)
throughput
=
max_tokens
/
(
tok
-
tic
)
self
.
assertGreaterEqual
(
throughput
,
285
)
if
is_cuda
():
self
.
assertGreaterEqual
(
throughput
,
285
)
else
:
self
.
assertGreaterEqual
(
throughput
,
270
)
if
__name__
==
"__main__"
:
...
...
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