Unverified Commit 1a3d6f31 authored by hzh0425's avatar hzh0425 Committed by GitHub
Browse files

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

parent 0b8c5721
...@@ -90,6 +90,10 @@ jobs: ...@@ -90,6 +90,10 @@ jobs:
github.event.pull_request.draft == false && github.event.pull_request.draft == false &&
needs.check-changes.outputs.src == 'true' needs.check-changes.outputs.src == 'true'
runs-on: 2-gpu-runner runs-on: 2-gpu-runner
strategy:
fail-fast: false
matrix:
part: [0, 1]
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
...@@ -102,7 +106,7 @@ jobs: ...@@ -102,7 +106,7 @@ jobs:
timeout-minutes: 30 timeout-minutes: 30
run: | run: |
cd test/srt 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: unit-test-backend-4-gpu:
needs: [check-changes, unit-test-backend-2-gpu] needs: [check-changes, unit-test-backend-2-gpu]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment