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
a2cc62a6
Unverified
Commit
a2cc62a6
authored
Mar 23, 2025
by
Adarsh Shirawalmath
Committed by
GitHub
Mar 22, 2025
Browse files
[CI fix] test skipping modelopt on AMD (#4677)
parent
fb888603
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
test/srt/test_eval_fp8_accuracy.py
test/srt/test_eval_fp8_accuracy.py
+5
-0
No files found.
test/srt/test_eval_fp8_accuracy.py
View file @
a2cc62a6
import
unittest
from
types
import
SimpleNamespace
import
torch
from
sglang.srt.utils
import
kill_process_tree
from
sglang.test.run_eval
import
run_eval
from
sglang.test.test_utils
import
(
...
...
@@ -135,6 +137,9 @@ class TestEvalFP8ModelOptQuantAccuracy(unittest.TestCase):
finally
:
kill_process_tree
(
process
.
pid
)
@
unittest
.
skipIf
(
torch
.
version
.
hip
is
not
None
,
"modelopt quantization unsupported on ROCm"
)
def
test_mmlu_offline_only
(
self
):
"""Test with offline quantization only."""
self
.
_run_test
(
...
...
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