diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index 510a741e7..005291a2a 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -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') && diff --git a/python/sglang/README.md b/python/sglang/README.md index 6221cdb2c..e5fe16005 100644 --- a/python/sglang/README.md +++ b/python/sglang/README.md @@ -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.