@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 1137f343aa
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 16, 19:30 UTC

[ci] Cancel fastcheck when PR is ready (#7433)

Signed-off-by: kevin <kevin@anyscale.com>

Kevin H. Luu committed Aug 12, 2024 at 10:59 UTC 1137f343aaccaa8d9dff92b3e70b432e93c9037a
1 file changed +3 -3
.github/workflows/cancel_fastcheck_when_ready.yml
+3 -3
@@ -6,17 +6,17 @@ on:
6
7 jobs:
8 cancel-buildkite-run:
9 - if: github.event.label.name == 'invalid'
9 + if: github.event.label.name == 'ready'
10 runs-on: ubuntu-latest
11 steps:
12 - - name: Cancel Buildkite Run
12 + - name: Cancel fastcheck run on Buildkite
13 env:
14 BUILDKITE_TOKEN: ${{ secrets.BUILDKITE_TOKEN }}
15 BUILDKITE_ORG: vllm
16 BUILDKITE_PIPELINE: fastcheck
17 run: |
18 - echo "PR branch"
18 FULL_BRANCH=${{ github.event.pull_request.head.repo.owner.login }}:${{ github.event.pull_request.head.ref }}
19 + echo "PR branch: $FULL_BRANCH"
20 LATEST_BUILD_NUMBER=$(curl -H "Authorization: Bearer $BUILDKITE_TOKEN" \
21 "https://api.buildkite.com/v2/organizations/$BUILDKITE_ORG/pipelines/$BUILDKITE_PIPELINE/builds?branch=$FULL_BRANCH&state[]=scheduled&state[]=running" \
22 | jq -r '.[0].number')