[CI][AMD] Skip test_permute_cols since the kernel is not used and not built for ROCm (#32444)

Signed-off-by: Randall Smith <ransmith@amd.com>
This commit is contained in:
rasmith
2026-01-16 02:22:53 -06:00
committed by GitHub
parent 180e981d56
commit 6ca4f400d8

View File

@@ -7,6 +7,9 @@ import torch
from tests.kernels.utils import opcheck
from vllm._custom_ops import permute_cols
if not hasattr(torch.ops._C, "permute_cols"):
pytest.skip(reason="permute_cols is not supported on ROCm", allow_module_level=True)
@pytest.mark.parametrize("shape", [(1, 512), (544, 4096), (67, 8192)])
@pytest.mark.parametrize("dtype", [torch.bfloat16])