MLEM Prototype deployment tool
Project description
MLEM is in early alpha. Thank you for trying it out! 👋
Alpha include model registry functionality, and upcoming beta will add model deployment functionality.
## What is MLEM 🐶
MLEM is a tool to help you version and deploy your Machine Learning models. At the top level, MLEM consists of two parts:
- Model registry part:
Storing model along with information required to use it: environment, methods, input data schema.
Turning your Git repo into a model registry.
- Deployment part:
Packing a model to use in any serving scenario.
Provider-agnostic deployment.
Speaking generally, the goal of MLEM is to enable easy and error-safe way to transition ML model from training to serving environment.
## Key features
MLEM is not intrusive. It doesn’t ask you to rewrite your training code. Just add two lines to your python script: one to import the library and one to save the model.
MLEM turns your Git repository into an easy-to-use model registry. Have a centralized place to store your models along with all metainformation. You don’t need to set up a separate backend server to use it as a model registry.
Stick to your workflow. Use Gitflow or any other Git workflow you like. Because MLEM models are saved as mere artifacts, treat them as any other artifact your produce. Commit metainformation to your repo and store model binaries in any other way you usually do.
- Use your model whatever your like:
Turn your model to a python package with one command. You find that helpful if you use your model embedded in some other Python application.
Use your model for batch scoring. You can use MLEM CLI to get predictions for a data file or folder with files. The docker container you build will be capable of this by default.
Turn your model to a REST API application with Dockerfile prepared with one command. If you like, treat it as a separate git repo or build a Docker container from a model directly.
Deploy your model. MLEM is a provider-agnostic deployment tool. You don’t have to learn new providers when you deploy models to a different cloud or PaaS. MLEM abstracts that for you and simplifies the model deployment tasks. If your provider is not listed yet, you can write a simple plugin to work with MLEM or upvote the issue for creating one.
## Installation
Install MLEM with pip:
`bash % pip install mlem `
To install the development version, run:
`bash % pip install git+git://github.com/iterative/mlem `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mlem-0.1.1.tar.gz
.
File metadata
- Download URL: mlem-0.1.1.tar.gz
- Upload date:
- Size: 74.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ab945158ca5ecd772744a50d6d8d871cc7e11e140319ea8ed93a5adc17bf5e9 |
|
MD5 | 45d2827edf4b3c3b886db2edd7f5d4ea |
|
BLAKE2b-256 | e67783f72e95eb3506e2be6630abaedd2522cbb7f33d20bf6f39294873e70c68 |
File details
Details for the file mlem-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: mlem-0.1.1-py3-none-any.whl
- Upload date:
- Size: 98.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b2e754409f31007e641086b6cdd0a723b583229adb0fc75716433f25361b5ec |
|
MD5 | cee0920db7ac702161886ce2779cf187 |
|
BLAKE2b-256 | 82d802b28a7ef2a5b57b20857039fe19e7f780a10162ddf3b233ccd8f1caa6e4 |