From 35a49fcfc2295d04fb252c1080f8d7bd9d888e25 Mon Sep 17 00:00:00 2001 From: peizhang56 Date: Thu, 25 Jun 2026 22:38:26 -0700 Subject: [PATCH] [CI][Bugfix] Spawn engine in mm cache sleep test to fix ROCm HIP error (#46749) Signed-off-by: pei.zhang Co-authored-by: Claude --- tests/multimodal/test_cache.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/multimodal/test_cache.py b/tests/multimodal/test_cache.py index 30df1d831a..bf297946f4 100644 --- a/tests/multimodal/test_cache.py +++ b/tests/multimodal/test_cache.py @@ -32,6 +32,8 @@ from vllm.multimodal.inputs import ( from vllm.multimodal.processing import PromptInsertion from vllm.utils.mem_constants import GiB_bytes, MiB_bytes +from ..utils import create_new_process_for_each_test + pytestmark = pytest.mark.cpu_test @@ -559,6 +561,7 @@ _SLEEP_VISION_PROMPT = ( ) +@create_new_process_for_each_test() @pytest.mark.skipif( not torch.cuda.is_available(), reason="sleep mode regression requires a CUDA GPU",