From 69715823df89b11ee684b84066390cbb9092d5c1 Mon Sep 17 00:00:00 2001 From: Liangliang Ma Date: Mon, 6 Jul 2026 11:32:26 +0800 Subject: [PATCH] [Test][XPU] Skip fork in kv_sharing_fast_prefill test on XPU (#47406) Signed-off-by: Ma, Liangliang Co-authored-by: Kunshang Ji --- tests/v1/e2e/general/test_kv_sharing_fast_prefill.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/v1/e2e/general/test_kv_sharing_fast_prefill.py b/tests/v1/e2e/general/test_kv_sharing_fast_prefill.py index 4bb8d63a8a..11f77492d2 100644 --- a/tests/v1/e2e/general/test_kv_sharing_fast_prefill.py +++ b/tests/v1/e2e/general/test_kv_sharing_fast_prefill.py @@ -45,7 +45,9 @@ def test_prompts(): use_fork_for_test = ( - fork_new_process_for_each_test if not current_platform.is_rocm() else lambda x: x + fork_new_process_for_each_test + if not (current_platform.is_rocm() or current_platform.is_xpu()) + else lambda x: x )