Skip to content

v2: No CUDA by default, plus newer Cog

Latest
Compare
Choose a tag to compare
@zeke zeke released this 17 May 16:21
· 2 commits to main since this release
0f18c46

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.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