update pr-test (#3663)
This commit is contained in:
11
.github/workflows/pr-test.yml
vendored
11
.github/workflows/pr-test.yml
vendored
@@ -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') &&
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user