[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>
This commit is contained in:
peizhang56
2026-06-26 00:38:26 -05:00
committed by GitHub
co-authored by Claude
parent 915e99ec67
commit 35a49fcfc2
+3
View File
@@ -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",