replicate / cog
Containers for machine learning
Why this job: works in the areas we cover, but does not say which job it does
What it does
- Docker containers without the pain. Writing your own Dockerfile can be a bewildering process. With Cog, you define your environment with a simple configuration file and it generates a Docker image with all the best practices: Nvidia base im
- No more CUDA hell. Cog knows which CUDA/cuDNN/PyTorch/Tensorflow/Python combos are compatible and will set it all up correctly for you.
- Define the inputs and outputs for your model with standard Python. Then, Cog generates an OpenAPI schema and validates the inputs and outputs.
- Automatic HTTP inference server. Your model's types are used to dynamically generate a RESTful HTTP API using a high-performance Rust/Axum server.
- Ready for production. Deploy your model anywhere that Docker images run. Your own infrastructure, or Replicate.
Get started
brew install replicate/tap/cog You need: macOS, Linux or Windows 11. Cog works on macOS, Linux and Windows 11 with WSL 2; Docker. Cog uses Docker to create a container for your model. You'll need to install Docker before you can run Cog. If you install Docker Engine instead of Docker Desktop, you will need to install Buildx as well.
- Maintenance
- Active
- Last commit 16 days ago
- Stars
- 9,497
- +5 this week
- Licence
- Apache-2.0
- Allows business use
- Downloads for
- 2 systems
- Mac, Linux
- Latest version
- v0.23.1
- Released 23 days ago
- Built with
- Go
- 59% of the code
Is it looked after?
- Contributors
- Not stated
- Last 90 days
- Issues
- 96% closed
- 31 still open
- Pull requests
- 1,632 merged
- 73 waiting
- Releases
- 236
- 29 in the last year
- Contributing guide (opens in new tab)
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| aymericdamien / TopDeepLearning | 6,428 | 4 months ago | MIT | No downloads |
| arcboxlabs / arcbox | 4,301 | 7 days ago | Apache-2.0 | Mac |
| AmoabaKelvin / logdeck | 144 | 12 days ago | GPL-3.0 | Mac, Linux |
More: download files, languages, topics and project record
Download files, v0.23.1
- Mac3 files, 104 downloads
- Linux4 files, 1,018 downloads
Languages
- Go 59%
- Rust 17%
- HTML 13%
- Python 5%
Topics
- containers
- cuda
- docker
- machine-learning
- pytorch
- tensorflow
- ai
Project record
- JobOther AI tools
- StatusListed
- Commits2,283
- Forks703
- Watching65
- Stars in 28 days+13
- CreatedFeb 26, 2021
- First seen by usNov 7, 2026
- CheckedNov 8, 2026
