[CI][Bugfix] Spawn engine in mm cache sleep test to fix ROCm HIP error (#46749)
Signed-off-by: pei.zhang <pei.zhang@amd.com> Co-authored-by: Claude <noreply@anthropic.com>
peizhang56 committed
Jun 25, 2026 at 22:38 UTC
35a49fcfc2295d04fb252c1080f8d7bd9d888e25
1 file changed
+3
tests/multimodal/test_cache.py
+3
@@ -32,6 +32,8 @@ from vllm.multimodal.inputs import (
32
from vllm.multimodal.processing import PromptInsertion
33
from vllm.utils.mem_constants import GiB_bytes, MiB_bytes
34
35
+from ..utils import create_new_process_for_each_test
36
+
37
pytestmark = pytest.mark.cpu_test
38
39
@@ -559,6 +561,7 @@ _SLEEP_VISION_PROMPT = (
561
)
562
563
564
+@create_new_process_for_each_test()
565
@pytest.mark.skipif(
566
not torch.cuda.is_available(),
567
reason="sleep mode regression requires a CUDA GPU",