Modify ci workflow for auto-partitioning in 2-GPU backend tests (#10029)

This commit is contained in:
hzh0425
2025-09-06 10:28:42 +08:00
committed by GitHub
parent 0b8c5721f1
commit 1a3d6f31da

View File

@@ -90,6 +90,10 @@ jobs:
github.event.pull_request.draft == false &&
needs.check-changes.outputs.src == 'true'
runs-on: 2-gpu-runner
strategy:
fail-fast: false
matrix:
part: [0, 1]
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -102,7 +106,7 @@ jobs:
timeout-minutes: 30
run: |
cd test/srt
python3 run_suite.py --suite per-commit-2-gpu
python3 run_suite.py --suite per-commit-2-gpu --auto-partition-id ${{ matrix.part }} --auto-partition-size 2
unit-test-backend-4-gpu:
needs: [check-changes, unit-test-backend-2-gpu]