[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:
co-authored by
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
parent
84586c9acc
commit
fd50a66015
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user