mlflow-autogluon
MLflow community model flavor and autologging for AutoGluon predictors.
Versioned documentation
Use the version selector in the header to switch between documentation for
released versions (each matches the package version on PyPI) and the dev
docs that track the main branch.
AutoGluon has no built-in MLflow flavor, and the MLflow maintainers have asked for this integration to live as a community flavor (see mlflow/mlflow#13214 and autogluon/autogluon#1404). This package provides that integration.
Features
- Model flavor:
save_model,log_model, andload_modelforTabularPredictor,TimeSeriesPredictor, andMultiModalPredictor, with full round-trip fidelity. - PyFunc support: logged models load with
mlflow.pyfunc.load_modeland serve withmlflow models serve, includingpredict_probavia inference params and long-format DataFrame forecasting for timeseries models. - Autologging: one call to
mlflow_autogluon.autolog()records params, leaderboard metrics, artifacts, and the fitted predictor for everyfitcall, across all installed predictor types.
Installation
pip install mlflow-autogluon[tabular]
At a glance
import mlflow_autogluon
from autogluon.tabular import TabularPredictor
mlflow_autogluon.autolog()
predictor = TabularPredictor(label="target").fit(train_data, presets="medium_quality")
Every fit call now produces a fully populated MLflow run. See the
Quickstart for a complete walkthrough.
Compatibility
| Dependency | Supported versions | Verified in CI |
|---|---|---|
| Python | >= 3.9 | 3.10, 3.11, 3.12 |
| MLflow | >= 2.15 | 2.22.x and 3.x |
| AutoGluon | >= 1.1 (tabular, timeseries, multimodal) | 1.5.x |
Install the extra matching your predictor type:
pip install mlflow-autogluon[tabular] # TabularPredictor
pip install mlflow-autogluon[timeseries] # TimeSeriesPredictor
pip install mlflow-autogluon[multimodal] # MultiModalPredictor
License
Apache License 2.0.