Launches · Project

Replicate Cog

Replicate Cog packages Python models and their dependencies into containers with a prediction API.

+ Follow

Builder facts

  • Build configuration. The cog.yaml file declares the Python environment, dependencies and optional GPU support for the image. Source ↗
  • API contract. Typed Python runner methods define prediction inputs and outputs, which Cog exposes through a generated OpenAPI schema. Source ↗
  • Deployment. Cog builds Docker images that can run on a separate host or be pushed to Replicate. Source ↗
  • Hosted billing. Replicate charges for hosted inference by runtime and hardware or by model-specific inputs and outputs. Cog’s container tooling is Apache-2.0 licensed. Source ↗

Sources checked

Publisher update ·

Cog 0.23.1 ↗

Predictions now fail when a file output cannot be uploaded.

Change timeline

0 stories

No verified releases in this timeline yet.