Skip to main content

Version and deploy your models following GitOps principles

Project description

image

Check, test and release codecov PyPi

MLEM helps you with model deployment. It saves ML models in a standard format that can be used in a variety of downstream deployment scenarios such as real-time serving through a REST API or batch processing. MLEM format is a human-readable text that helps you use GitOps with Git as the single source of truth.

  • Run your model anywhere you want: package it as a Python package, a Docker Image or deploy it to Heroku (SageMaker, Kubernetes and more platforms are coming). Switch between formats and deployment platforms with a single command thanks to unified abstraction.
  • Simple text file to save model metadata: automatically package Python env requirements and input data specifications into a ready-to-deploy format. Use the same human-readable format for any ML framework.
  • Stick to your training workflow: MLEM doesn't ask you to rewrite your training code. To start using packaging or deployment machinery, add just two lines to your python script: one to import the library and one to save the model.
  • Developer-first experience: use CLI when you feel like DevOps and API when you feel like a developer.

Why MLEM?

The main reason to use MLEM instead of other related solutions is that it works well with GitOps approach and helps you manage model lifecycle in Git:

  • Git as a single source of truth: we use plain text to save metadata for models that can be saved and versioned.
  • Reuse existing Git and Github/Gitlab infrastructure for model management instead of installing separate model management software.
  • Unify model and software deployment. Deploy models using the same processes and code you use to deploy software.

Installation

Install MLEM with pip:

$ pip install mlem

To install the development version, run:

$ pip install git+https://github.com/iterative/mlem

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mlem-0.1.14.tar.gz (164.3 kB view details)

Uploaded Source

Built Distribution

mlem-0.1.14-py3-none-any.whl (135.7 kB view details)

Uploaded Python 3

File details

Details for the file mlem-0.1.14.tar.gz.

File metadata

  • Download URL: mlem-0.1.14.tar.gz
  • Upload date:
  • Size: 164.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for mlem-0.1.14.tar.gz
Algorithm Hash digest
SHA256 98d02db738781ffd56b864303a3c80e17b16cdfae9dd25e9f569ef5922171d94
MD5 005274bb6921f73139f94a2fcb6296fa
BLAKE2b-256 a02259693413395103c11b4a2ff3ae64dcd307caf8979965c9c109f8c91b233b

See more details on using hashes here.

File details

Details for the file mlem-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: mlem-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 135.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for mlem-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 91d63f4eb22a225e280cbfa56d3d2a7f1c09c09e793a7b020b374c0d668756d3
MD5 6ba0d0d5191ac8b8428e518ad8b57235
BLAKE2b-256 d78d1695743536902edf888266f54f552df317f1af758bfe43cb2b8c1b1d33e3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page