Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
fc465775
"vscode:/vscode.git/clone" did not exist on "d47807ba0806c5bbd8fd08c19013c327b34dcac5"
Unverified
Commit
fc465775
authored
Mar 07, 2026
by
Micah Williamson
Committed by
GitHub
Mar 07, 2026
Browse files
[ROCm][CI] Enable AITER for failing `test_gpt_oss` test case on MI355 (#36174)
parent
eebd1465
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
tests/models/quantization/test_gpt_oss.py
tests/models/quantization/test_gpt_oss.py
+8
-1
No files found.
tests/models/quantization/test_gpt_oss.py
View file @
fc465775
...
@@ -21,6 +21,7 @@ import lm_eval
...
@@ -21,6 +21,7 @@ import lm_eval
import
pytest
import
pytest
from
packaging
import
version
from
packaging
import
version
from
vllm.platforms.rocm
import
on_gfx950
from
vllm.utils.torch_utils
import
cuda_device_count_stateless
from
vllm.utils.torch_utils
import
cuda_device_count_stateless
MODEL_ACCURACIES
=
{
MODEL_ACCURACIES
=
{
...
@@ -83,11 +84,17 @@ class EvaluationConfig:
...
@@ -83,11 +84,17 @@ class EvaluationConfig:
@
pytest
.
mark
.
parametrize
(
"tp_size"
,
[
1
,
2
,
4
,
8
])
@
pytest
.
mark
.
parametrize
(
"tp_size"
,
[
1
,
2
,
4
,
8
])
@
pytest
.
mark
.
parametrize
(
"model_name, expected_accuracy"
,
MODEL_ACCURACIES
.
items
())
@
pytest
.
mark
.
parametrize
(
"model_name, expected_accuracy"
,
MODEL_ACCURACIES
.
items
())
def
test_gpt_oss_attention_quantization
(
def
test_gpt_oss_attention_quantization
(
model_name
:
str
,
tp_size
:
int
,
expected_accuracy
:
float
model_name
:
str
,
tp_size
:
int
,
expected_accuracy
:
float
,
monkeypatch
:
pytest
.
MonkeyPatch
,
):
):
if
tp_size
>
cuda_device_count_stateless
():
if
tp_size
>
cuda_device_count_stateless
():
pytest
.
skip
(
"Not enough GPUs to run this test case"
)
pytest
.
skip
(
"Not enough GPUs to run this test case"
)
if
"amd/gpt-oss-20b-MoE-Quant-W-MXFP4-A-FP8-KV-FP8"
in
model_name
and
on_gfx950
():
monkeypatch
.
setenv
(
"VLLM_ROCM_USE_AITER"
,
"1"
)
model_args
=
EvaluationConfig
(
model_name
).
get_model_args
(
tp_size
)
model_args
=
EvaluationConfig
(
model_name
).
get_model_args
(
tp_size
)
extra_run_kwargs
=
{
extra_run_kwargs
=
{
...
...
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