27 lines
637 B
YAML
27 lines
637 B
YAML
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
|