ci(xeon): merge 2 partitions into 1 job to reduce runner contention (#26904)

This commit is contained in:
MingxuZh
2026-06-03 09:46:27 +08:00
committed by GitHub
parent eda21f6839
commit b678448b8a
4 changed files with 13 additions and 5 deletions
+2 -5
View File
@@ -87,10 +87,7 @@ jobs:
include:
- runner: xeon-gnr
suite: base-b-test-cpu
partition_args: "--auto-partition-id 0 --auto-partition-size 2"
- runner: xeon-gnr
suite: base-b-test-cpu
partition_args: "--auto-partition-id 1 --auto-partition-size 2"
partition_args: ""
steps:
- name: Cleanup workspace
run: |
@@ -132,7 +129,7 @@ jobs:
bash -c "source /opt/.venv/bin/activate && python3 -c 'import torch; import sgl_kernel; assert torch._C._cpu._is_amx_tile_supported(); assert hasattr(torch.ops.sgl_kernel, \"convert_weight_packed\"); '"
- name: Run unit tests
timeout-minutes: 60
timeout-minutes: 120
run: |
docker exec -w /sglang-checkout/ ci_sglang_${{ matrix.runner }} \
bash -c "source /opt/.venv/bin/activate && cd ./test && python3 run_suite.py --hw cpu --suite ${{ matrix.suite }} ${{ matrix.partition_args }}"