Add 4-GPU runner tests and split existing tests (#6383)

This commit is contained in:
fzyzcjy
2025-05-19 02:56:51 +08:00
committed by GitHub
parent 9d24c3ffb0
commit f11481b921
6 changed files with 414 additions and 370 deletions

View File

@@ -89,6 +89,25 @@ jobs:
cd test/srt
python3 run_suite.py --suite per-commit-2-gpu
unittest-test-backend-4-gpu:
if: (github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
github.event.pull_request.draft == false
needs: [unit-test-frontend, unit-test-backend-2-gpu]
runs-on: 4-gpu-runner
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
bash scripts/ci_install_dependency.sh
- name: Run test
timeout-minutes: 20
run: |
cd test/srt
python3 run_suite.py --suite per-commit-4-gpu
unittest-test-backend-8-gpu:
if: (github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
github.event.pull_request.draft == false