Releases: replicate/setup-cog
Update buildx config to use the correct docker driver
This PR fixes a configuration bug in docker buildx Action that was causing Cog to attempt to pull built images from a remote registry rather than the local build.
This release is tagged as v2.0.2
, but it also updates the broader v2
major version tag.
To use this version:
- name: Setup Cog
uses: replicate/setup-cog@v2
See #39
Thanks to @one1zero1one and @Theodotus1243 for debugging this! 🙏🏼
v2: No CUDA by default, plus newer Cog
This release includes two breaking changes:
- The
install_cuda
input now defaults tofalse
. Most models don't need CUDA at build time, a workflows run faster without it. - The default version of Cog installed by the Action is now v0.9.8. (bumped from
0.8.6
in v1)
name: Release
on:
push:
branches:
- main
workflow_dispatch:
jobs:
setup-build-publish-deploy:
name: Setup, Build, Publish & Deploy
runs-on: ubuntu-latest
steps:
- name: Free disk pace
uses: jlumbroso/free-disk-space@main
- name: Checkout
uses: actions/checkout@v4
- name: Setup Cog
uses: replicate/setup-cog@v1
with:
token: ${{ secrets.REPLICATE_API_TOKEN }}
- name: Push to Replicate
run: cog push r8.im/your/model
Bump docker/setup-buildx-action from 3.0.0 to 3.3.0
update cuda-toolkit action
This bumps the pinned version of https://github.com/Jimver/cuda-toolkit from 2.11 to 2.14
Possible fix for #26
Make CUDA installation optional
Pinned versions for stability
This patch release includes a tiny change that pins the underlying docker/setup-buildx-action
and Jimver/cuda-toolkit
actions to specific commit SHAs, to avoid any unexpected breaking changes.
README updates
This tiny release updates example code in the README with references to the new version:
- name: Setup Cog
uses: replicate/setup-cog@v1
🧁 Hello World!
This is the first release of this GitHub Action. Check out the README for usage instructions.