Skip to content

Commit

Permalink
feat: add in vllm patch for phi3v image processing
Browse files Browse the repository at this point in the history
  • Loading branch information
hommayushi3 committed Aug 25, 2024
1 parent 8845af4 commit 065973b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/sync-to-docker-hub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build-and-push:
runs-on: ubuntu-latest
runs-on: ubuntu-latest-xlarge
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -26,6 +26,14 @@ jobs:
echo "New version: $version"
echo "VERSION=$version" >> $GITHUB_OUTPUT
- name: Cache Docker layers
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand All @@ -43,6 +51,8 @@ jobs:
tags: |
${{ secrets.DOCKER_USER }}/vllm-huggingface:latest
${{ secrets.DOCKER_USER }}/vllm-huggingface:${{ steps.get_version.outputs.VERSION }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Update latest git tag
uses: actions-ecosystem/action-get-latest-tag@v1
Expand All @@ -58,3 +68,8 @@ jobs:
with:
tag: ${{ steps.bump-semver.outputs.new_version }}
message: '${{ steps.bump-semver.outputs.new_version }}'

- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

0 comments on commit 065973b

Please sign in to comment.