From dd727296349278ad64b0f4223a128aa1d4b6a8b9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 21 Aug 2025 22:45:35 +0000 Subject: [PATCH] Rename test_operations.py to testing_ops.py and update all imports Co-authored-by: ProExpertProg <11367180+ProExpertProg@users.noreply.github.com> --- tests/compile/piecewise/test_multiple_graphs.py | 2 +- tests/compile/piecewise/test_simple.py | 2 +- tests/compile/piecewise/test_toy_llama.py | 2 +- tests/compile/{test_operations.py => testing_ops.py} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename tests/compile/{test_operations.py => testing_ops.py} (100%) diff --git a/tests/compile/piecewise/test_multiple_graphs.py b/tests/compile/piecewise/test_multiple_graphs.py index 967167e2d160d..f6256018348c5 100644 --- a/tests/compile/piecewise/test_multiple_graphs.py +++ b/tests/compile/piecewise/test_multiple_graphs.py @@ -17,7 +17,7 @@ from vllm.envs import VLLM_USE_V1 from vllm.forward_context import set_forward_context # This import automatically registers torch ops for testing (like silly.attention) -import tests.compile.test_operations +import tests.compile.testing_ops BATCH_SIZE = 32 MLP_SIZE = 128 diff --git a/tests/compile/piecewise/test_simple.py b/tests/compile/piecewise/test_simple.py index a1535ff6c5ebc..4df709b1ba863 100644 --- a/tests/compile/piecewise/test_simple.py +++ b/tests/compile/piecewise/test_simple.py @@ -16,7 +16,7 @@ from vllm.envs import VLLM_USE_V1 from vllm.forward_context import BatchDescriptor, set_forward_context # This import also automatically registers torch ops for testing (like silly.attention) -from tests.compile.test_operations import ( +from tests.compile.testing_ops import ( get_global_counter, reset_global_counter ) diff --git a/tests/compile/piecewise/test_toy_llama.py b/tests/compile/piecewise/test_toy_llama.py index 6a2947fb2b715..5088322ffab27 100644 --- a/tests/compile/piecewise/test_toy_llama.py +++ b/tests/compile/piecewise/test_toy_llama.py @@ -22,7 +22,7 @@ from vllm.config import (CompilationConfig, CompilationLevel, CUDAGraphMode, from vllm.forward_context import BatchDescriptor, set_forward_context # This import automatically registers torch ops for testing (like silly.attention) -import tests.compile.test_operations +import tests.compile.testing_ops @dataclass diff --git a/tests/compile/test_operations.py b/tests/compile/testing_ops.py similarity index 100% rename from tests/compile/test_operations.py rename to tests/compile/testing_ops.py