Skip to content

Releases: replicate/setup-cog

v2: No CUDA by default, plus newer Cog

17 May 16:21
0f18c46
Compare
Choose a tag to compare

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

Bump docker/setup-buildx-action from 3.0.0 to 3.3.0

17 Apr 16:36
6a0e8a7
Compare
Choose a tag to compare

update cuda-toolkit action

12 Apr 22:27
6e7597e
Compare
Choose a tag to compare

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

17 Oct 17:08
7ebcc41
Compare
Choose a tag to compare

This release adds a new install-cuda boolean for configuring whether to Install CUDA drivers. This flag defaults to true, and can be set to false when building Cog containers that don't require GPU. See #13

Thanks to @luismavs and @nateraw for the PR and review. 🙏🏼

Pinned versions for stability

21 Jun 19:34
Compare
Choose a tag to compare

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

20 Jun 23:04
Compare
Choose a tag to compare

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!

20 Jun 22:56
Compare
Choose a tag to compare

This is the first release of this GitHub Action. Check out the README for usage instructions.