[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:
@@ -7,6 +7,9 @@ import torch
|
|||||||
from tests.kernels.utils import opcheck
|
from tests.kernels.utils import opcheck
|
||||||
from vllm._custom_ops import permute_cols
|
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("shape", [(1, 512), (544, 4096), (67, 8192)])
|
||||||
@pytest.mark.parametrize("dtype", [torch.bfloat16])
|
@pytest.mark.parametrize("dtype", [torch.bfloat16])
|
||||||
|
|||||||
Reference in New Issue
Block a user