Setup Cog
Version updated for replicate/setup-cog to version v2.0.0.
- This action is used across all versions by 47 repositories.
Go to the GitHub Marketplace to find the latest changes.
Release notes
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