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.
Tim Nunamaker
Asked on Feb 22, 2024
To host Replicate cogs with SkyPilot, you can replace the docker build
command with cog build
. This allows you to build containers remotely.
Zongheng mentioned that Cog builds regular Docker containers, which are supported by SkyPilot.
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.
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.