Add CI timeout guidelines (#10829)

This commit is contained in:
Lianmin Zheng
2025-09-23 22:08:02 -07:00
committed by GitHub
parent 32d893730f
commit b1f0fc1c0b
7 changed files with 12 additions and 38 deletions

View File

@@ -1,30 +0,0 @@
name: Experiment Runner
on:
workflow_dispatch:
inputs:
script:
description: "Experiment Runner Script"
default: "configs/sharegpt_config.yaml"
concurrency:
group: experiment-runner-${{ github.ref }}
cancel-in-progress: true
jobs:
experiment-runner-1-gpu:
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request'
runs-on: 1-gpu-runner
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
bash scripts/ci/ci_install_dependency.sh
- name: Test experiment runner
timeout-minutes: 120
run: |
cd test/srt
python3 experiment_runner.py --config ${{ inputs.script }}

View File

@@ -615,7 +615,7 @@ jobs:
CUSTOM_BUILD_SGL_KERNEL=${{needs.check-changes.outputs.sgl_kernel}} IS_BLACKWELL=1 bash scripts/ci/ci_install_dependency.sh
- name: Run test
timeout-minutes: 60
timeout-minutes: 45
run: |
cd test/srt
python3 run_suite.py --suite per-commit-4-gpu-b200 --auto-partition-id 0 --auto-partition-size 1 --timeout-per-file 3600

View File

@@ -41,7 +41,7 @@ jobs:
make compile
- name: Push HTML to sgl-project.github.io
timeout-minutes: 60
timeout-minutes: 30
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT_FOR_DOCUMENTATION }}
run: |

View File

@@ -39,4 +39,4 @@ jobs:
timeout-minutes: 30
run: |
cd test/srt
python3 run_suite.py --suite vllm_dependency_test --timeout-per-file 600
python3 run_suite.py --suite vllm_dependency_test