[CI][ROCm] Skip unsupported test cases on ROCm (#46160)

Signed-off-by: Felix Marty <Felix.Marty@amd.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
fxmarty-amd
2026-06-23 11:35:49 -05:00
committed by GitHub
co-authored by mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent 84586c9acc
commit fd50a66015
2 changed files with 34 additions and 2 deletions
+7
View File
@@ -25,6 +25,7 @@ from vllm.model_executor.layers.vocab_parallel_embedding import (
ParallelLMHead,
VocabParallelEmbedding,
)
from vllm.platforms import current_platform
@pytest.fixture(scope="function", autouse=True)
@@ -467,6 +468,12 @@ def test_modelopt_mixed_precision_dispatches_w4a16_layer(
from vllm.model_executor.layers.linear import LinearBase
from vllm.model_executor.layers.quantization import modelopt as m
if (
expected_linear_cls_name == "ModelOptNvFp4W4A16LinearMethod"
and current_platform.is_rocm()
):
pytest.skip("ModelOptNvFp4W4A16LinearMethod is not supported with rocm")
hf_quant_config: dict[str, Any] = {
"quantization": {
"quant_algo": "MIXED_PRECISION",