[CI][IR] Speed up vLLM IR test group (#55965)
Signed-off-by: Djordje Ramic <djoramic@amd.com>
This commit is contained in:
@@ -8,9 +8,13 @@ Per-op correctness tests live alongside their op definitions
|
||||
(e.g. tests/kernels/ir/test_layernorm.py).
|
||||
"""
|
||||
|
||||
import pytest
|
||||
|
||||
import vllm.kernels # noqa: F401 — registers provider implementations
|
||||
from vllm.ir.op import IrOp
|
||||
|
||||
pytestmark = pytest.mark.skip_global_cleanup
|
||||
|
||||
|
||||
def test_all_ops_have_input_generator():
|
||||
missing = [name for name, op in IrOp.registry.items() if not op.has_input_generator]
|
||||
|
||||
@@ -16,6 +16,8 @@ from tests.utils import set_random_seed
|
||||
from vllm import ir
|
||||
from vllm.platforms import current_platform
|
||||
|
||||
pytestmark = pytest.mark.skip_global_cleanup
|
||||
|
||||
rms_norm_native = ir.ops.rms_norm.impls["native"].impl_fn
|
||||
|
||||
IS_GPGPU_DEVICE = current_platform.is_cuda_alike() or current_platform.is_xpu()
|
||||
|
||||
Reference in New Issue
Block a user