replicate/setup-cog v2.0.0
replicate/setup-cog
Captured source
source ↗published May 17, 2024seen 5dcaptured 10hhttp 200method plain
v2: No CUDA by default, plus newer Cog
Repository: replicate/setup-cog
Tag: v2.0.0
Published: 2024-05-17T16:21:41Z
Prerelease: no
Release notes: This release includes two breaking changes:
- The `install_cuda` input now defaults to
false. 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.6in 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