[XPU][CI]Add parallelism for long-running Intel GPU cases (#52257)
Signed-off-by: zengxian <xiangdong.zeng@intel.com>
xiangdong committed
Aug 21, 2026 at 16:02 UTC
0a21947d710f5aedb1865038ebef20e141b29c58
4 files changed
+10
-3
.buildkite/hardware_tests/intel_xpu_ci/test-intel.yaml
+1
@@ -57,6 +57,7 @@ steps:
57
- >-
58
bash .buildkite/scripts/hardware_ci/run-intel-test.sh
59
'bash .buildkite/scripts/hardware_ci/run-intel-ci-test.sh v1'
60
+ parallelism: 2
61
- label: "XPU server test"
62
depends_on:
63
- image-build-xpu
.buildkite/intel_jobs/misc_intel.yaml
+2
-3
@@ -71,10 +71,9 @@ steps:
71
export VLLM_WORKER_MULTIPROC_METHOD=spawn &&
72
cd tests &&
73
pytest -v -s v1/logits_processors --ignore=v1/logits_processors/test_custom_online.py --ignore=v1/logits_processors/test_custom_offline.py &&
74
- pytest -v -s v1/test_oracle.py &&
75
- pytest -v -s v1/test_request.py &&
76
- pytest -v -s v1/test_outputs.py &&
74
+ pytest -v -s v1/test_oracle.py v1/test_request.py v1/test_outputs.py &&
75
pytest -v -s v1/sample'
76
+ parallelism: 4
77
78
- label: Basic Models Tests (Initialization)
79
timeout_in_minutes: 60
.buildkite/intel_jobs/test-intel.yaml
+1
@@ -105,6 +105,7 @@ steps:
105
pytest -v -s v1/e2e/general/test_correctness_sliding_window.py &&
106
pytest -v -s v1/spec_decode --ignore=v1/spec_decode/test_max_len.py --ignore=v1/spec_decode/test_speculators_eagle3.py --ignore=v1/spec_decode/test_acceptance_length.py --ignore=v1/spec_decode/test_speculators_correctness.py &&
107
pytest -v -s v1/kv_connector/unit --ignore=v1/kv_connector/unit/test_lmcache_integration.py --ignore=v1/kv_connector/unit/test_hf3fs_client.py --ignore=v1/kv_connector/unit/test_hf3fs_connector.py --ignore=v1/kv_connector/unit/test_hf3fs_metadata_server.py --ignore=v1/kv_connector/unit/test_offloading_connector.py'
108
+ parallelism: 2
109
- label: "XPU server test"
110
depends_on:
111
- image-build-xpu
.buildkite/scripts/hardware_ci/run-intel-test.sh
+6
@@ -22,6 +22,11 @@ fi
22
export PYTHONPATH=".."
23
export VLLM_DISABLE_COMPILE_CACHE=1
24
25
+if [[ "${BUILDKITE_PARALLEL_JOB_COUNT:-1}" -gt 1 ]]; then
26
+ PYTEST_ADDOPTS="${PYTEST_ADDOPTS:+${PYTEST_ADDOPTS} }--num-shards=${BUILDKITE_PARALLEL_JOB_COUNT} --shard-id=${BUILDKITE_PARALLEL_JOB:-0}"
27
+ export PYTEST_ADDOPTS
28
+fi
29
+
30
###############################################################################
31
# Helper Functions
32
###############################################################################
@@ -369,6 +374,7 @@ export HF_TOKEN ZE_AFFINITY_MASK VLLM_DISABLE_COMPILE_CACHE
374
-e VLLM_DISABLE_COMPILE_CACHE \
375
-e BUILDKITE_PARALLEL_JOB \
376
-e BUILDKITE_PARALLEL_JOB_COUNT \
377
+ -e PYTEST_ADDOPTS \
378
-e CMDS \
379
--name "${container_name}" \
380
"${IMAGE}" \