Skip to content

Commit 6d9c513

Browse files
authored
[no ci] Run vLLM benchmark only on non-forked PRs (#104)
Signed-off-by: Huy Do <huydhn@gmail.com>
1 parent 0feaa92 commit 6d9c513

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.github/workflows/sglang-benchmark.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
benchmarks:
6666
name: Run SGLang benchmarks
6767
needs: set-parameters
68+
if: ${{ !github.event.pull_request.head.repo.fork && github.repository_owner == 'pytorch' }}
6869
strategy:
6970
matrix: ${{ fromJson(needs.set-parameters.outputs.benchmark_matrix) }}
7071
fail-fast: false

.github/workflows/vllm-benchmark.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
benchmarks:
6767
name: Run vLLM benchmarks
6868
needs: set-parameters
69+
if: ${{ !github.event.pull_request.head.repo.fork && github.repository_owner == 'pytorch' }}
6970
strategy:
7071
matrix: ${{ fromJson(needs.set-parameters.outputs.benchmark_matrix) }}
7172
fail-fast: false

.github/workflows/vllm-ci-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ concurrency:
2727
jobs:
2828
test:
2929
name: Run vLLM tests
30+
if: ${{ !github.event.pull_request.head.repo.fork && github.repository_owner == 'pytorch' }}
3031
strategy:
3132
fail-fast: false
3233
matrix:

.github/workflows/vllm-profiling.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
profiling:
3838
name: Run vLLM profiling
3939
needs: set-parameters
40+
if: ${{ !github.event.pull_request.head.repo.fork && github.repository_owner == 'pytorch' }}
4041
strategy:
4142
fail-fast: false
4243
matrix:

0 commit comments

Comments
 (0)