replicate/cog
Containers for machine learning observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 99
- Release rhythm 85
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 5
- age_days: 2014
- days_rel: 20
- days_push: 7
- n_releases_24m: 66
Adoption not part of the score
9463 stars · 696 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Cog is an open-source CLI tool that packages machine learning models into production-ready Docker containers using a simple cog.yaml configuration and a Python run interface. It automatically resolves CUDA/cuDNN/framework compatibility, generates an OpenAPI schema, and serves the model via an auto-generated HTTP inference API.
Use cases
- package a machine learning model into a docker container
- avoid writing dockerfiles and fixing cuda version conflicts for pytorch models
- serve a model behind a rest http api
- deploy a trained model to my own gpu infrastructure
- run model inference in a reproducible environment
- build a container image for a model to deploy anywhere docker runs
- define model inputs and outputs with python type hints
When to choose
- you want to containerize PyTorch or TensorFlow models without hand-writing Dockerfiles
- you need a standard, reproducible way to package and serve ML models
- you want an automatic HTTP inference server with input validation
- you plan to deploy models to Replicate or any Docker-capable host
When to avoid
- you need to serve non-ML web applications rather than models
- you don't use Docker or can't run containers on your infrastructure
- you need a lightweight solution without container overhead
- your models aren't in Python
Facets
cli-tool · maturity active
machine-learning deployment container-runtime http-server api-framework developer-tools machine-learning deep-learning developer-tools windows cli python go docker cuda gpu pytorch tensorflow model-packaging inference-server openapi replicate containers devops linux macos
4 sources
- readme: https://github.com/replicate/cog · fetched 2026-08-28 · 7a86103f2568
- homepage: https://cog.run · fetched 2026-08-29 · 1522f3bec325
- site_page: https://cog.run/getting-started-own-model · fetched 2026-08-29 · bbc7d1ce8a02
- site_page: https://cog.run/getting-started · fetched 2026-08-29 · ec52f19813fc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| replicate/cog | main | 94 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem