cog-core 0.1.0

Core types and traits for rust-cog, a Rust toolkit for machine learning.
Documentation

Cog[-rust]: Containers for machine learning

Cog is an open-source tool that lets you package machine learning models in a standard, production-ready container.

Cog bundles Python models into a Docker image with a simple interface for loading and running models. This project aims to match that interface for Rust models, so they can be used interchangeably (on Replicate or Dyson).

WIP

To see the proposed DX, check the hello-world example.

  • Basic web server
  • Rust Cog interface
  • Make everything work
  • Request validation
  • Dockerfile
  • cargo cog login
  • cargo cog debug
  • cargo cog build
  • cargo cog push
  • cargo cog predict
  • deploys to Replicate work
  • Run locally
  • Run on Replicate