Skip to content

Commit

Permalink
(vllm) Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha0552 authored Oct 8, 2024
1 parent 225df00 commit 7eef3fb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build-vllm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Build vLLM wheels

inputs:
docker_latest:
default: false
type: boolean
default: 0
type: string

docker_token:
default: ~
Expand Down Expand Up @@ -62,7 +62,7 @@ runs:
tags.push(`ghcr.io/${context.repo.owner}/vllm:${core.getInput('ref')}`);
// If this image marked as latest
if (core.getBooleanInput('docker_latest')) {
if (core.getInput('docker_latest') === "1") {
// Add latest to tags
tags.push(`ghcr.io/${context.repo.owner}/vllm:latest`);
}
Expand Down
6 changes: 6 additions & 0 deletions .github/actions/common/apply-patches/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,16 @@ runs:
fi
done
# Do not exit on errors
set +e
# Capture tag
tag=$(git describe --exact-match --tags)
tag_code=$?
# Exit on errors
set -e
# Commit changes
git add .
git commit --allow-empty --message "(pascal-pkgs-ci) Apply patches"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vllm-pascal-0.6.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Build vLLM wheels
uses: ./.github/actions/build-vllm
with:
docker_latest: true
docker_latest: 1
docker_token: ${{ secrets.GHCR_TOKEN }}
ref: v0.6.2

Expand Down

0 comments on commit 7eef3fb

Please sign in to comment.