Skip to content

Commit

Permalink
Manually install cog 0.10.0-alpha20 in build ci
Browse files Browse the repository at this point in the history
The `replicate/setup-cog@v2` step installs a version of cog that is not compatible with cog async.
Attempting to fix this with a manual install.
  • Loading branch information
joehoover committed Jul 31, 2024
1 parent 521c7c5 commit d757d1a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ jobs:
with:
token: ${{ secrets.REPLICATE_API_TOKEN }}

- name: Install Cog
run: |
COG_URL="https://github.com/replicate/cog/releases/download/v0.10.0-alpha20/cog_$(uname -s)_$(uname -m)"
sudo curl -o /usr/local/bin/cog -L "$COG_URL"
sudo chmod +x /usr/local/bin/cog
- name: Push to Replicate
run: cog push r8.im/replicate/vllm

0 comments on commit d757d1a

Please sign in to comment.