[CI Failure] Skip failing nvfp4 silu test (#23959)

Signed-off-by: mgoin <mgoin64@gmail.com>
Co-authored-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
This commit is contained in:
Michael Goin
2025-09-02 13:18:15 -04:00
committed by GitHub
parent e0653f6c0b
commit e66ed3e675

View File

@ -8,7 +8,8 @@ from vllm.model_executor.layers.activation import SiluAndMul
from vllm.platforms import current_platform
from vllm.scalar_type import scalar_types
if not current_platform.has_device_capability(100):
if not (current_platform.has_device_capability(100)
and hasattr(torch.ops._C, "silu_and_mul_nvfp4_quant")):
pytest.skip(reason="Nvfp4 Requires compute capability of 10 or above.",
allow_module_level=True)