From 394edc81082c04cb38e3455fc0c03d62ba403b72 Mon Sep 17 00:00:00 2001 From: Qiming Zhang Date: Sun, 5 Jul 2026 22:34:16 -0700 Subject: [PATCH] [XPU] limit max-num-seqs in test_lmeval.py for XPU (#47682) Signed-off-by: mauyuyuace --- tests/entrypoints/openai/correctness/test_lmeval.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/entrypoints/openai/correctness/test_lmeval.py b/tests/entrypoints/openai/correctness/test_lmeval.py index 5b23b42390..aad1b5e062 100644 --- a/tests/entrypoints/openai/correctness/test_lmeval.py +++ b/tests/entrypoints/openai/correctness/test_lmeval.py @@ -71,8 +71,9 @@ def test_lm_eval_accuracy_v1_engine(): more_args = [] - # Limit compilation time for V1 - if current_platform.is_tpu(): + # Limit compilation time for V1 on TPU + # Avoid OOM on XPU + if current_platform.is_tpu() or current_platform.is_xpu(): more_args = ["--max-num-seqs", "64"] run_test(more_args)