-
Notifications
You must be signed in to change notification settings - Fork 710
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,26 @@ | ||
name: Nightly Evaluation | ||
name: Experiment Runner | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "python/sglang/version.py" | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: nightly-eval-${{ github.ref }} | ||
group: experiment-runner-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
nightly-eval-2-gpu: | ||
experiment-runner-1-gpu: | ||
if: github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request' | ||
runs-on: 2-gpu-runner | ||
runs-on: 1-gpu-runner | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install dependencies | ||
run: | | ||
bash scripts/ci_install_dependency.sh | ||
pip install --upgrade "evalplus[vllm] @ git+https://github.com/evalplus/evalplus" | ||
- name: Test gsm8k | ||
timeout-minutes: 120 | ||
- name: Test experiment runner | ||
timeout-minutes: 10 | ||
run: | | ||
cd test/srt | ||
python3 test_nightly_gsm8k_eval.py | ||
- name: Test human eval | ||
timeout-minutes: 120 | ||
run: | | ||
cd test/srt | ||
python3 test_nightly_human_eval.py | ||
python3 experiment_runner.py --config configs/sharegpt_config.yaml |