Unverified Commit f983213a authored by Yineng Zhang's avatar Yineng Zhang Committed by GitHub
Browse files

update pr-test (#3663)

parent 67fc595b
...@@ -107,6 +107,7 @@ jobs: ...@@ -107,6 +107,7 @@ jobs:
bash scripts/ci_install_dependency.sh bash scripts/ci_install_dependency.sh
- name: Run test - name: Run test
if: github.event.pull_request.head.repo.fork == false
env: env:
HF_TOKEN: ${{ secrets.HF_TOKEN }} HF_TOKEN: ${{ secrets.HF_TOKEN }}
timeout-minutes: 30 timeout-minutes: 30
...@@ -117,6 +118,16 @@ jobs: ...@@ -117,6 +118,16 @@ jobs:
cd test/srt cd test/srt
python3 run_suite.py --suite per-commit --range-begin ${range_begin} --range-end ${range_end} 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: unit-test-backend-2-gpu:
needs: filter needs: filter
if: (github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') && if: (github.repository == 'sgl-project/sglang' || github.event_name == 'pull_request') &&
......
...@@ -11,5 +11,5 @@ ...@@ -11,5 +11,5 @@
- `check_env.py`: Check the environment variables. - `check_env.py`: Check the environment variables.
- `global_config.py`: The global configs and constants. - `global_config.py`: The global configs and constants.
- `launch_server.py`: The entry point for launching the local server. - `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. - `utils.py`: Common utilities.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment