skypilot-users

How to host Replicate cogs with SkyPilot?

I am looking for information on how to host Replicate cogs (containers) with SkyPilot, specifically on replacing the docker build command with something like cog build. Zongheng mentioned that Cog is building regular Docker containers which SkyPilot supports. Additionally, a working example was provided in the discussion thread.

Ti

Tim Nunamaker

Asked on Feb 22, 2024

  1. To host Replicate cogs with SkyPilot, you can replace the docker build command with cog build. This allows you to build containers remotely.

  2. Zongheng mentioned that Cog builds regular Docker containers, which are supported by SkyPilot.

  3. A working example can be found in the discussion thread at https://github.com/skypilot-org/skypilot/pull/3219. This example can help you understand how to set up and test Replicate cogs with SkyPilot.

  4. If you encounter any issues or have feedback while testing with other cogs, you can share your experience with the community to collaborate and improve the process.

Feb 23, 2024Edited by