update pr-test (#3663)

This commit is contained in:
Yineng Zhang
2025-02-18 17:23:43 +08:00
committed by GitHub
parent 67fc595bb8
commit f983213a1f
2 changed files with 12 additions and 1 deletions

View File

@@ -107,6 +107,7 @@ jobs:
bash scripts/ci_install_dependency.sh
- name: Run test
if: github.event.pull_request.head.repo.fork == false
env:
HF_TOKEN: ${{ secrets.HF_TOKEN }}
timeout-minutes: 30
@@ -117,6 +118,16 @@ jobs:
cd test/srt
python3 run_suite.py --suite per-commit --range-begin ${range_begin} --range-end ${range_end}
- name: Run test (fork)
if: github.event.pull_request.head.repo.fork == true
timeout-minutes: 30
run: |
RANGE=${{ matrix.range }}
range_begin=${RANGE%-*}
range_end=${RANGE#*-}
cd test/srt
python3 run_suite.py --suite per-commit --range-begin ${range_begin} --range-end ${range_end}
unit-test-backend-2-gpu:
needs: filter
if: (github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&

View File

@@ -11,5 +11,5 @@
- `check_env.py`: Check the environment variables.
- `global_config.py`: The global configs and constants.
- `launch_server.py`: The entry point for launching the local server.
- `llama3_eval.py`: Evaluation of Llama 3.1 using the Meta Llama dataset.
- `llama3_eval.py`: Evaluation of Llama 3 using the Meta Llama dataset.
- `utils.py`: Common utilities.