Skip to main content

MLflow adapter for CrateDB

Tests Test coverage Python versions

License Status PyPI Downloads

» Documentation | Changelog | PyPI | Issues | Source code | License | CrateDB | Community Forum

About

MLflow is an open source AI engineering platform for managing the whole ML lifecycle for agents, LLMs, and ML models, including experimentation, reproducibility, and deployment.

CrateDB is a distributed and scalable SQL database for storing and analyzing massive amounts of data in near real-time, even with complex queries. CrateDB is based on Lucene and Elasticsearch, but compatible with PostgreSQL.

Details

MLflow enables teams of all sizes to debug, evaluate, monitor, and optimize production-quality AI applications while controlling costs and managing access to models and data.

The MLflow adapter for CrateDB is an adapter for MLflow to use CrateDB as a storage database for its various subsystems.

Features

The MLflow Experiment Tracking subsystem is an API and UI for logging and recording parameters, code versions, metrics, and output files when running your machine learning code, and for later visualizing the results by querying experiments across code, data, and config.

The MLflow Model Registry is a centralized model store, set of APIs and a UI designed to collaboratively manage the full lifecycle of a machine learning model, including lineage, versioning, aliasing, metadata tagging, and annotation support.

The MLflow Dataset Tracking module is a comprehensive solution for dataset management throughout the ML model development workflow. It enables you to track, version, and manage datasets used in training, validation, and evaluation, providing complete lineage from raw data to model predictions.

What's inside

The source code of the mlflow-cratedb package, which implements the MLflow adapter for CrateDB. It works with both CrateDB and CrateDB Cloud.

The source code is effectively a few monkey patches that amalgamate MLflow with the necessary changes to support CrateDB. The patches are curated until the adapter can eventually be upstreamed into MLflow mainline as another storage database type.

Usage

General information about what you can do with MLflow, and how, can be found on the Machine Learning with CrateDB and examples about MLflow and CrateDB.

Install

For installation per PyPI package, OCI image, and usage information, please refer to the handbook document, and the documentation about container usage.

The repository also includes a ready-to-run Compose project that provisions MLflow, CrateDB, and RustFS, see MLflow and CrateDB with Docker Compose.

To set up a development environment on your workstation, please refer to the development sandbox documentation. When you see the software tests succeed, you should be ready to start hacking.

Project Information

Resources

Contributing

The MLflow adapter for CrateDB is an open-source project, and is managed on GitHub. Feel free to use the adapter as provided or else modify / extend it as appropriate for your own applications.

Any kind of contribution, feedback, or patch, is much welcome. Create an issue or submit a patch if you think we should include a new feature, or to report or fix a bug.

Acknowledgements

Kudos to the authors of all the many software components this library is inheriting from and building upon, with special thanks to Siddharth Murching, Corey Zumar, Harutaka Kawamura, Ben Wilson, and all other contributors for conceiving and maintaining MLflow.

Andreas Nigg for contributing the tracking_merlion.py and tracking_pycaret.py ML experiment programs, using Merlion and PyCaret.

License

The project is licensed under the terms of the Apache License 2.0, like MLflow and CrateDB, see LICENSE.

Release files for mlflow-cratedb 3.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mlflow-cratedb 3.12.0
File Size Uploaded
mlflow_cratedb-3.12.0.tar.gz 33.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mlflow-cratedb 3.12.0
File Interpreter ABI Platform
mlflow_cratedb-3.12.0-py3-none-any.whl Python 3 none any Details

Total release size: 58.2 kB

Release files / mlflow_cratedb-3.12.0.tar.gz

Download URL mlflow_cratedb-3.12.0.tar.gz
Size 33.3 kB
Tags Source
SHA-256 checksum
How to use checksums
76fed987d2348e14c30520db1daa3dbac622b0e873eeab0e33541eae7d77644c
BLAKE2b-256 checksum
How to use checksums
0bd88fcf501dacd2da212833149821cceb25497b5722d91a62632c2ac37891f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release files / mlflow_cratedb-3.12.0-py3-none-any.whl

Download URL mlflow_cratedb-3.12.0-py3-none-any.whl
Size 24.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
026d5598ad6bc3f1d62d49e72d9ba6e8b9ebe619b5315232793ad07e931b9bbe
BLAKE2b-256 checksum
How to use checksums
5ef039fd72eca1cd3852f47a8b31c9d9c3548b94e74bae02395987a242810b6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

3.12.0 This release

2 release files

3.11.1

2 release files

3.10.2

2 release files

3.10.1

2 release files

3.9.0

2 release files

3.8.1

2 release files

3.5.1

2 release files

3.3.2

2 release files

3.1.4

2 release files

2.22.4

2 release files

2.14.1

2 release files

2.14.0

2 release files

2.13.2

2 release files

2.13.0

2 release files

2.12.2

2 release files

2.11.3

2 release files

2.10.2

2 release files

2.10.0

2 release files

2.9.2

2 release files

2.8.1

2 release files

2.8.0

2 release files

2.7.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page