diff --git a/tests/ir/test_inplace_op.py b/tests/ir/test_inplace_op.py index decc4f51c7..d29f6da964 100644 --- a/tests/ir/test_inplace_op.py +++ b/tests/ir/test_inplace_op.py @@ -1,5 +1,6 @@ # SPDX-License-Identifier: Apache-2.0 # SPDX-FileCopyrightText: Copyright contributors to the vLLM project +import pytest import torch from torch import Tensor from torch.fx.experimental.proxy_tensor import make_fx @@ -7,6 +8,8 @@ from torch.fx.experimental.proxy_tensor import make_fx import vllm.ir.op from vllm.ir.op import IrOp, IrOpInplaceOverload +pytestmark = pytest.mark.skip_global_cleanup + @vllm.ir.register_op(allow_inplace=True) def _custom_mm2(x: Tensor, w: Tensor) -> Tensor: diff --git a/tests/ir/test_op.py b/tests/ir/test_op.py index 4928c0723e..ca8185b2d3 100644 --- a/tests/ir/test_op.py +++ b/tests/ir/test_op.py @@ -13,6 +13,8 @@ from torch.fx.experimental.proxy_tensor import make_fx import vllm.ir.op from vllm.ir.op import RESERVED_PROVIDERS, IrOp, IrOpImpl +pytestmark = pytest.mark.skip_global_cleanup + class CustomError(Exception): pass diff --git a/tests/kernels/ir/test_ir_ops.py b/tests/kernels/ir/test_ir_ops.py index 1ee36b8f4c..730db9833b 100644 --- a/tests/kernels/ir/test_ir_ops.py +++ b/tests/kernels/ir/test_ir_ops.py @@ -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] diff --git a/tests/kernels/ir/test_layernorm.py b/tests/kernels/ir/test_layernorm.py index fc79677165..c324b189b9 100644 --- a/tests/kernels/ir/test_layernorm.py +++ b/tests/kernels/ir/test_layernorm.py @@ -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()