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
e7213003
Unverified
Commit
e7213003
authored
Mar 03, 2026
by
Micah Williamson
Committed by
GitHub
Mar 03, 2026
Browse files
[ROCm][CI] Fix TP size issue for `test_gpt_oss` (#35887)
Signed-off-by:
Micah Williamson
<
micah.williamson@amd.com
>
parent
3a8eef58
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
tests/models/quantization/test_gpt_oss.py
tests/models/quantization/test_gpt_oss.py
+5
-0
No files found.
tests/models/quantization/test_gpt_oss.py
View file @
e7213003
...
...
@@ -21,6 +21,8 @@ import lm_eval
import
pytest
from
packaging
import
version
from
vllm.utils.torch_utils
import
cuda_device_count_stateless
MODEL_ACCURACIES
=
{
# Full quantization: attention linears and MoE linears
"amd/gpt-oss-20b-WFP8-AFP8-KVFP8"
:
0.89
,
...
...
@@ -83,6 +85,9 @@ class EvaluationConfig:
def
test_gpt_oss_attention_quantization
(
model_name
:
str
,
tp_size
:
int
,
expected_accuracy
:
float
):
if
tp_size
>
cuda_device_count_stateless
():
pytest
.
skip
(
"Not enough GPUs to run this test case"
)
model_args
=
EvaluationConfig
(
model_name
).
get_model_args
(
tp_size
)
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