[XPU] Use spawn with XPU multiprocessing (#20649)

Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
This commit is contained in:
Dmitry Rogozhkin
2025-07-09 00:34:28 -07:00
committed by GitHub
parent 6bbf1795b7
commit e760fcef22
3 changed files with 15 additions and 5 deletions

View File

@@ -5,10 +5,10 @@ import pytest
from vllm import LLM, SamplingParams
from ...utils import fork_new_process_for_each_test
from ...utils import create_new_process_for_each_test
@fork_new_process_for_each_test
@create_new_process_for_each_test()
@pytest.mark.parametrize("attn_backend",
["FLASH_ATTN_VLLM_V1", "FLASHINFER_VLLM_V1"])
def test_cascade_attention(example_system_message, monkeypatch, attn_backend):