[Test][XPU] Skip fork in kv_sharing_fast_prefill test on XPU (#47406)

Signed-off-by: Ma, Liangliang <liangliang.ma@intel.com>
Co-authored-by: Kunshang Ji <kunshang.ji@intel.com>
This commit is contained in:
Liangliang Ma
2026-07-06 11:32:26 +08:00
committed by GitHub
co-authored by Kunshang Ji
parent 6569df6a3e
commit 69715823df
@@ -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
)