feat: support custom task runner (#2407)

This commit is contained in:
Yineng Zhang
2024-12-09 02:29:55 +08:00
committed by GitHub
parent 67470bbb28
commit 0f8eb15323
3 changed files with 392 additions and 0 deletions

26
.github/workflows/experiment-runner.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Experiment Runner
on:
workflow_dispatch:
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@v3
- name: Install dependencies
run: |
bash scripts/ci_install_dependency.sh
- name: Test experiment runner
timeout-minutes: 10
run: |
cd test/srt
python3 experiment_runner.py --config configs/sharegpt_config.yaml