A production MLOps tooling framework for python
Project description
Tooling for machine learning workflows
OpsML Documentation
Supported Model Types
Supported Storage Types
What is it? • Features • Installation • Usage • Advanced Installation Scenarios • Contributing
What is it?
OpsML
is a library which simplifies the machine learning project lifecycle.
Features:
-
Simple Design: Standardized design that can easily be incorporated into existing workflows.
-
Cards: Track, version, and store a variety of ML artifacts via cards (data, models, runs, pipelines) and a SQL-based card registry system. Think "trading cards for machine learning".
-
Automation: Automated processes including Onnx model conversion, api generation from Onnx model, data schema inference, code conversion and packaging for production.
Installation:
Poetry
poetry add opsml
Pip
pip install opsml
Setup your local environment:
By default, opsml
will log artifacts and experiments locally. To change this behavior and log to a remote server, you'll need to set the following environment variables:
export OPSML_TRACKING_URI=${YOUR_TRACKING_URI}
Usage
Now that opsml
is installed, you're ready to start using it!
It's time to point you to the official Documentation Website for more information on how to use opsml
Advanced Installation Scenarios
Opsml
is designed to work with a variety of 3rd-party integrations depending on your use-case.
Types of extras that can be installed:
-
Postgres: Installs postgres pyscopg2 dependency to be used with
Opsml
poetry add "opsml[postgres]"
-
Server: Installs necessary packages for setting up an
Fastapi
/Mlflow
basedOpsml
serverpoetry add "opsml[server]"
-
GCP with mysql: Installs mysql and gcsfs to be used with
Opsml
poetry add "opsml[gcs,mysql]"
-
GCP with mysql(cloud-sql): Installs mysql and cloud-sql gcp dependencies to be used with
Opsml
poetry add "opsml[gcp_mysql]"
-
GCP with postgres: Installs postgres and gcsgs to be used with
Opsml
poetry add "opsml[gcs,postgres]"
-
GCP with postgres(cloud-sql): Installs postgres and cloud-sql gcp dependencies to be used with
Opsml
poetry add "opsml[gcp_postgres]"
-
AWS with postgres: Installs postgres and s3fs dependencies to be used with
Opsml
poetry add "opsml[s3,postgres]"
-
AWS with mysql: Installs mysql and s3fs dependencies to be used with
Opsml
poetry add "opsml[s3,mysql]"
Contributing
If you'd like to contribute, be sure to check out our contributing guide! If you'd like to work on any outstanding items, check out the roadmap
section in the docs and get started :smiley:
Thanks goes to these phenomenal projects and people and people for creating a great foundation to build from!
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.