{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":655799346,"defaultBranch":"main","name":"setup-cog","ownerLogin":"replicate","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-06-19T16:09:53.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/60410876?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1718667503.0","currentOid":""},"activityList":{"items":[{"before":"0b80adb018e90cd503e58e5d941301d9cc038ed9","after":null,"ref":"refs/heads/configure-buildx-step-to-use-docker-driver","pushedAt":"2024-06-17T23:36:52.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"}},{"before":"158a4d2fd1674f50407248dbac7b434a33d7d10b","after":"07c492acef81d7fb213665ffbfe7408260217ee9","ref":"refs/heads/main","pushedAt":"2024-06-17T23:36:52.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"configure buildx step to use docker driver (#39)\n\nThis PR updates the docker buildx configuration to use the `docker`\r\ndriver instead of the default `docker-container` driver.\r\n\r\n@one1zero1one's thorough explanation of the issue:\r\n\r\n> Okay so I figured out the issue, the reason why it goes out to pull\r\nthe image from a registry - instead of using the locally build one - is\r\nthe [buildx\r\ndriver](https://docs.docker.com/reference/cli/docker/buildx/create/#driver),\r\nwhich is `docker-container` by default - when using\r\n[setup-cog](https://github.com/replicate/setup-cog).\r\n> \r\n> I don't have enough context to understand if the `docker-container`\r\ndriver is _required_ (i.e. multi-platform features), but [using `docker`\r\ndriver\r\n](https://github.com/docker/setup-buildx-action?tab=readme-ov-file#inputs)\r\nin the buildx setup got me over this error and being able to\r\nsuccessfully build and push cogs.\r\n> \r\n> I spent many frustrating hours to figure this out, so I'll mention\r\n_how_ I debugged - maybe it saves someone else time. I used\r\n`mxschmitt/action-tmate@v3` action to ssh into my runner, and then used\r\n`cog debug` and `cog build --debug` to see all the steps (thx to cog\r\ndevelopers for exposing this). There I have seen that there are couple\r\nof steps, and the last one interprets `FROM r8.im/xxx/test`as to\r\nliterally go and pull the image, instead of using the local image. Using\r\nthe right buildx driver makes it do the right thing.\r\n\r\nResolves these issues:\r\n\r\n- https://github.com/replicate/cog/issues/1723#issuecomment-2167882760\r\n- https://github.com/replicate/cog/issues/1718#issuecomment-2168340396","shortMessageHtmlLink":"configure buildx step to use docker driver (#39)"}},{"before":null,"after":"0b80adb018e90cd503e58e5d941301d9cc038ed9","ref":"refs/heads/configure-buildx-step-to-use-docker-driver","pushedAt":"2024-06-17T21:00:47.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"configure buildx step to use docker driver","shortMessageHtmlLink":"configure buildx step to use docker driver"}},{"before":"b43c9b87e07ba7a2c21e828c3f4c029ec7abc5eb","after":"158a4d2fd1674f50407248dbac7b434a33d7d10b","ref":"refs/heads/main","pushedAt":"2024-05-17T17:17:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"default to Cog v0.9.8","shortMessageHtmlLink":"default to Cog v0.9.8"}},{"before":"0f18c46613ba2a7033978dd545aff4e69e9904e5","after":"b43c9b87e07ba7a2c21e828c3f4c029ec7abc5eb","ref":"refs/heads/main","pushedAt":"2024-05-17T17:07:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"fix: docs for install-cuda input","shortMessageHtmlLink":"fix: docs for install-cuda input"}},{"before":"991997de0a78ac60deeb74496fe2c95623046eb1","after":"f1f97c33abefe3e6b5bddfa8cc6583e887cfcb63","ref":"refs/heads/dependabot/github_actions/Jimver/cuda-toolkit-0.2.15","pushedAt":"2024-05-17T16:18:40.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump Jimver/cuda-toolkit from 0.2.14 to 0.2.15\n\nBumps [Jimver/cuda-toolkit](https://github.com/jimver/cuda-toolkit) from 0.2.14 to 0.2.15.\n- [Release notes](https://github.com/jimver/cuda-toolkit/releases)\n- [Commits](https://github.com/jimver/cuda-toolkit/compare/dc0ca7bb29c5a92f7a963d3d5c93f8d59765136a...d34c721df9930a1f5375dbe0f6e52af57c7f56e1)\n\n---\nupdated-dependencies:\n- dependency-name: Jimver/cuda-toolkit\n dependency-type: direct:production\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump Jimver/cuda-toolkit from 0.2.14 to 0.2.15"}},{"before":"56d6b9eff0ececba2c6460110074b4a8587d4063","after":null,"ref":"refs/heads/do-not-install-CUDA-by-default","pushedAt":"2024-05-17T16:17:12.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"}},{"before":"1d47a7caf7e6dcd59550277de189e62c60b67469","after":"0f18c46613ba2a7033978dd545aff4e69e9904e5","ref":"refs/heads/main","pushedAt":"2024-05-17T16:17:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"v2: Don't install CUDA by default (and upgrade to latest Cog) (#37)\n\nThis PR includes two breaking changes which I want to roll out in a new\r\nmajor version v2:\r\n\r\n1. Changes the `install_cuda` input to default to false. Most models\r\ndon't need CUDA at build time. Workflows are much faster without it.\r\n1. Changes the default version of Cog installed by the Action from 0.8.6\r\nto 0.9.7\r\n\r\nResolves #31\r\n\r\ncc @luismavs and @nateraw who originally had the bright idea to make\r\nCUDA optional: #13","shortMessageHtmlLink":"v2: Don't install CUDA by default (and upgrade to latest Cog) (#37)"}},{"before":null,"after":"56d6b9eff0ececba2c6460110074b4a8587d4063","ref":"refs/heads/do-not-install-CUDA-by-default","pushedAt":"2024-05-16T22:55:39.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"update default cog version to 0.9.7\n\nUpdate README.md","shortMessageHtmlLink":"update default cog version to 0.9.7"}},{"before":"71c8b8c87dc79e71ee125042e43f43cf2174452c","after":"63198995190d7b70fcedead4ed7bc330619827c7","ref":"refs/heads/support-building-cog-from-source","pushedAt":"2024-04-22T22:29:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"fix syntax","shortMessageHtmlLink":"fix syntax"}},{"before":"a9c9c79d5c25e8a1041becd716d68a68c5bf759e","after":"71c8b8c87dc79e71ee125042e43f43cf2174452c","ref":"refs/heads/support-building-cog-from-source","pushedAt":"2024-04-22T22:26:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"let the build-cog action do the work","shortMessageHtmlLink":"let the build-cog action do the work"}},{"before":"f0fc5f0fbdf2c92bd2abb69250d5eae163d932b1","after":"a9c9c79d5c25e8a1041becd716d68a68c5bf759e","ref":"refs/heads/support-building-cog-from-source","pushedAt":"2024-04-22T22:01:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"maybe just run command without cd-ing","shortMessageHtmlLink":"maybe just run command without cd-ing"}},{"before":"92c9d4819c8f5b65c03965a064c031c009dac11e","after":"f0fc5f0fbdf2c92bd2abb69250d5eae163d932b1","ref":"refs/heads/support-building-cog-from-source","pushedAt":"2024-04-22T21:59:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"relative to root?","shortMessageHtmlLink":"relative to root?"}},{"before":"011deff6b3e17393c614589de17216b6ebf899dd","after":"92c9d4819c8f5b65c03965a064c031c009dac11e","ref":"refs/heads/support-building-cog-from-source","pushedAt":"2024-04-22T21:53:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"try checking out cog into a child directory","shortMessageHtmlLink":"try checking out cog into a child directory"}},{"before":null,"after":"991997de0a78ac60deeb74496fe2c95623046eb1","ref":"refs/heads/dependabot/github_actions/Jimver/cuda-toolkit-0.2.15","pushedAt":"2024-04-22T02:29:33.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump Jimver/cuda-toolkit from 0.2.14 to 0.2.15\n\nBumps [Jimver/cuda-toolkit](https://github.com/jimver/cuda-toolkit) from 0.2.14 to 0.2.15.\n- [Release notes](https://github.com/jimver/cuda-toolkit/releases)\n- [Commits](https://github.com/jimver/cuda-toolkit/compare/dc0ca7bb29c5a92f7a963d3d5c93f8d59765136a...d34c721df9930a1f5375dbe0f6e52af57c7f56e1)\n\n---\nupdated-dependencies:\n- dependency-name: Jimver/cuda-toolkit\n dependency-type: direct:production\n update-type: version-update:semver-patch\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump Jimver/cuda-toolkit from 0.2.14 to 0.2.15"}},{"before":"b152ebfd62eecd5d256c3087a9e1a1aae9d4855c","after":"011deff6b3e17393c614589de17216b6ebf899dd","ref":"refs/heads/support-building-cog-from-source","pushedAt":"2024-04-19T22:19:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"go back to original dir after checkout","shortMessageHtmlLink":"go back to original dir after checkout"}},{"before":"de6bc5792f3c2e764992b53278b789979e4b4580","after":"b152ebfd62eecd5d256c3087a9e1a1aae9d4855c","ref":"refs/heads/support-building-cog-from-source","pushedAt":"2024-04-19T22:02:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"inline the cog build process","shortMessageHtmlLink":"inline the cog build process"}},{"before":"b6502d62026b47a69dc76d1d4b5844582e322c65","after":"de6bc5792f3c2e764992b53278b789979e4b4580","ref":"refs/heads/support-building-cog-from-source","pushedAt":"2024-04-19T21:39:27.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"support building cog from source\n\nfix assignment","shortMessageHtmlLink":"support building cog from source"}},{"before":"c808297a986174b439c36c06757ac40c5b1f05bb","after":"b6502d62026b47a69dc76d1d4b5844582e322c65","ref":"refs/heads/support-building-cog-from-source","pushedAt":"2024-04-19T21:39:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"fix assignment","shortMessageHtmlLink":"fix assignment"}},{"before":null,"after":"c808297a986174b439c36c06757ac40c5b1f05bb","ref":"refs/heads/support-building-cog-from-source","pushedAt":"2024-04-19T21:31:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"support building cog from source","shortMessageHtmlLink":"support building cog from source"}},{"before":"05ea267ca9f78d29445c51df6950dc2f92875262","after":null,"ref":"refs/heads/improve-usage-docs","pushedAt":"2024-04-17T20:33:56.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"}},{"before":"6a0e8a73ca5acc6eb89f950a859cb60092d5f188","after":"1d47a7caf7e6dcd59550277de189e62c60b67469","ref":"refs/heads/main","pushedAt":"2024-04-17T20:33:56.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"improve usage docs (#30)\n\nThis PR breaks out the inputs to the action into separate sections, with\r\nmore details and an example YAML stanza for each.\r\n\r\nThis also gives us the benefit of being able to share deep links to\r\nspecific inputs, like `#install-cuda`","shortMessageHtmlLink":"improve usage docs (#30)"}},{"before":null,"after":"05ea267ca9f78d29445c51df6950dc2f92875262","ref":"refs/heads/improve-usage-docs","pushedAt":"2024-04-17T16:58:03.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"improve usage docs","shortMessageHtmlLink":"improve usage docs"}},{"before":"1a53e04022d404339e7e0845eb2c03952f3f5469","after":null,"ref":"refs/heads/dependabot/github_actions/docker/setup-buildx-action-3.2.0","pushedAt":"2024-04-17T16:36:46.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"}},{"before":"81a895924ba09cecbbd2230eb2a4c7c60449c0a8","after":null,"ref":"refs/heads/dependabot/github_actions/Jimver/cuda-toolkit-0.2.14","pushedAt":"2024-04-17T16:36:45.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"}},{"before":"5c73d167281ed6630bf68055af1737b655cdadca","after":null,"ref":"refs/heads/pin-docker/setup-buildx-action-to-3.3.0-SHA","pushedAt":"2024-04-17T16:34:06.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"}},{"before":"7f574032d32e2cc36d22b2bc49ef42d5e950d070","after":"6a0e8a73ca5acc6eb89f950a859cb60092d5f188","ref":"refs/heads/main","pushedAt":"2024-04-17T16:34:05.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"pin docker/setup-buildx-action to 3.3.0 SHA (#29)\n\n🍐 @anotherjesse","shortMessageHtmlLink":"pin docker/setup-buildx-action to 3.3.0 SHA (#29)"}},{"before":"2f80cbf3469d8cf274f545b0bf1fa94de950c486","after":"7f574032d32e2cc36d22b2bc49ef42d5e950d070","ref":"refs/heads/main","pushedAt":"2024-04-17T16:33:40.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"fix: typo in readme (#17)\n\nCo-authored-by: dingo <38674879+DinoZoidDev@users.noreply.github.com>","shortMessageHtmlLink":"fix: typo in readme (#17)"}},{"before":null,"after":"5c73d167281ed6630bf68055af1737b655cdadca","ref":"refs/heads/pin-docker/setup-buildx-action-to-3.3.0-SHA","pushedAt":"2024-04-16T21:19:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"},"commit":{"message":"pin docker/setup-buildx-action to 3.3.0 SHA","shortMessageHtmlLink":"pin docker/setup-buildx-action to 3.3.0 SHA"}},{"before":"92b53550e3f80895c53d4dd5b8a9ab1c0c6ed8db","after":null,"ref":"refs/heads/update-release-docs","pushedAt":"2024-04-12T22:30:37.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"zeke","name":"Zeke Sikelianos","path":"/zeke","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2289?s=80&v=4"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEZ-H1egA","startCursor":null,"endCursor":null}},"title":"Activity · replicate/setup-cog"}