|
7 | 7 | - "python/**"
|
8 | 8 | - "scripts/**"
|
9 | 9 | - "test/**"
|
| 10 | + - ".github/workflows/pr-test.yml" |
10 | 11 | pull_request:
|
11 | 12 | branches: [ main ]
|
12 | 13 | paths:
|
13 | 14 | - "python/**"
|
14 | 15 | - "scripts/**"
|
15 | 16 | - "test/**"
|
| 17 | + - ".github/workflows/pr-test.yml" |
16 | 18 | workflow_dispatch:
|
17 | 19 | inputs:
|
18 | 20 | version:
|
|
87 | 89 | cd test/srt
|
88 | 90 | python3 run_suite.py --suite per-commit-2-gpu
|
89 | 91 |
|
90 |
| - unit-test-backend-8-gpu: |
91 |
| - if: (github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') && |
92 |
| - github.event.pull_request.draft == false |
93 |
| - runs-on: 8-gpu-runner |
94 |
| - steps: |
95 |
| - - name: Checkout code |
96 |
| - uses: actions/checkout@v4 |
97 |
| - |
98 |
| - - name: Install dependencies |
99 |
| - run: | |
100 |
| - bash scripts/ci_install_dependency_8_gpu.sh |
101 |
| -
|
102 |
| - - name: Run test |
103 |
| - timeout-minutes: 20 |
104 |
| - run: | |
105 |
| - cd test/srt |
106 |
| - python3 run_suite.py --suite per-commit-8-gpu |
107 |
| -
|
108 | 92 | performance-test-1-gpu-part-1:
|
109 | 93 | if: (github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
|
110 | 94 | github.event.pull_request.draft == false
|
@@ -256,12 +240,35 @@ jobs:
|
256 | 240 | cd test/srt
|
257 | 241 | python3 test_moe_eval_accuracy_large.py
|
258 | 242 |
|
| 243 | + large-scale-test-8-gpu: |
| 244 | + if: (github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') && |
| 245 | + github.event.pull_request.draft == false |
| 246 | + needs: [ |
| 247 | + unit-test-frontend, unit-test-backend-1-gpu, unit-test-backend-2-gpu, |
| 248 | + performance-test-1-gpu-part-1, performance-test-1-gpu-part-2, performance-test-2-gpu, |
| 249 | + accuracy-test-1-gpu, accuracy-test-2-gpu, |
| 250 | + ] |
| 251 | + runs-on: 8-gpu-runner |
| 252 | + steps: |
| 253 | + - name: Checkout code |
| 254 | + uses: actions/checkout@v4 |
| 255 | + |
| 256 | + - name: Install dependencies |
| 257 | + run: | |
| 258 | + bash scripts/ci_install_dependency_8_gpu.sh |
| 259 | +
|
| 260 | + - name: Run test |
| 261 | + timeout-minutes: 25 |
| 262 | + run: | |
| 263 | + cd test/srt |
| 264 | + python3 run_suite.py --suite per-commit-8-gpu |
| 265 | +
|
259 | 266 | finish:
|
260 | 267 | if: always()
|
261 | 268 | needs: [
|
262 |
| - unit-test-frontend, unit-test-backend-1-gpu, unit-test-backend-2-gpu, unit-test-backend-8-gpu, |
| 269 | + unit-test-frontend, unit-test-backend-1-gpu, unit-test-backend-2-gpu, |
263 | 270 | performance-test-1-gpu-part-1, performance-test-1-gpu-part-2, performance-test-2-gpu,
|
264 |
| - accuracy-test-1-gpu, accuracy-test-2-gpu, |
| 271 | + accuracy-test-1-gpu, accuracy-test-2-gpu, large-scale-test-8-gpu, |
265 | 272 | ]
|
266 | 273 | runs-on: ubuntu-latest
|
267 | 274 | steps:
|
|
0 commit comments