[XPU] limit max-num-seqs in test_lmeval.py for XPU (#47682)
Signed-off-by: mauyuyuace <qiming1.zhang@intel.com>
Qiming Zhang committed
Jul 5, 2026 at 22:34 UTC
394edc81082c04cb38e3455fc0c03d62ba403b72
1 file changed
+3
-2
tests/entrypoints/openai/correctness/test_lmeval.py
+3
-2
@@ -71,8 +71,9 @@ def test_lm_eval_accuracy_v1_engine():
71
72
more_args = []
73
74
- # Limit compilation time for V1
75
- if current_platform.is_tpu():
74
+ # Limit compilation time for V1 on TPU
75
+ # Avoid OOM on XPU
76
+ if current_platform.is_tpu() or current_platform.is_xpu():
77
more_args = ["--max-num-seqs", "64"]
78
79
run_test(more_args)