Skip to main content

MLflow 3

ยท 4 min read
MLflow maintainers
MLflow maintainers

The open source MLflow community has reached a major milestone. Today, we're releasing MLflow 3, which brings production-ready generative AI capabilities to the platform that millions of developers trust for ML operations.

This isn't just another feature update. MLflow 3 fundamentally expands what's possible with open source ML tooling, addressing the observability and quality challenges that have made GenAI deployment feel like a leap of faith.

Major Updatesโ€‹

๐ŸŽฏ MLflow LoggedModelโ€‹

MLflow 3 introduces a refined architecture with the new LoggedModel entity as a first-class citizen, moving beyond the traditional run-centric approach. This enables better organization and comparison of GenAI agents, deep learning checkpoints, and model variants across experiments.

Learn more about MLflow LoggedModel in the documentation.

๐Ÿ”— Strong Lineage Supportโ€‹

Enhanced model tracking provides comprehensive lineage between models, runs, traces, prompts, and evaluation metrics. The new model-centric design allows you to group traces and metrics from interactive queries and automated evaluation jobs, enabling rich comparisons across model versions.

New GenAI Evaluation Suiteโ€‹

MLflow's evaluation and monitoring capabilities help you systematically measure, improve, and maintain the quality of your GenAI applications throughout their lifecycle. From development through production, use the same quality scorers to ensure your applications deliver accurate, reliable responses while managing cost and latency.

Learn more about the new GenAI evaluation suite in the documentation.

info

The new evaluation suite is available only in Managed MLflow on Databricks, with open source support coming soon. Interested in trying it out? Start a free Databricks trial to explore these features today.

โšก Prompt Optimizationโ€‹

The MLflow Prompt Registry now includes prompt optimization capabilities, allowing you to automatically improve prompts using evaluation feedback and labeled datasets. This includes versioning, tracking, and systematic prompt engineering workflows.

Learn more about prompt optimization in the documentation.

๐Ÿ“š Revamped Documentationโ€‹

The MLflow documentation has been fully redesigned to support two main user journeys: GenAI development and classic machine learning workflows. The new structure offers dedicated sections for GenAI features (including LLMs, prompt engineering, and tracing), and traditional ML capabilities such as experiment tracking, model registry, deployment, and evaluation.

Visit the new MLflow 3 documentation to explore the updated content and guides.

Other Featuresโ€‹

Streaming API for ResponsesAgent: New streaming response capabilities through the ResponsesAgent class with predict_stream method, enabling real-time streaming for GenAI applications (docs)

Auto-tracing support for PydanticAI and smolagents: Enhanced auto-tracing integrations for emerging GenAI frameworks, providing seamless observability out of the box (PydanticAI docs and smolagentsdocs).

Add search_prompts API for prompt registry: New API functionality for searching and discovering prompts in the registry, making prompt management more efficient (API docs: search_prompts).

Support token tracking for OpenAI/LangChain auto-tracing: Enhanced tracing now captures detailed token usage and cost information for better observability and cost management.

Record environment metadata in tracing: MLflow automatically captures standard environment metadata like source name, Git commit hash, and execution type as tags on traces (docs).

UI support for video artifacts: The MLflow UI now supports viewing video files directly in the artifact viewer, expanding beyond traditional ML artifacts.

and many more: Numerous other enhancements across tracking, model registry, and UI components to improve usability, performance, and developer experience.

Breaking Changesโ€‹

MLflow 3 includes several breaking changes as part of improving framework consistency and performance. Key changes include removal of MLflow Recipes, fastai and mleap flavors, and various deprecated API parameters.

For the complete list of breaking changes, visit the MLflow 3 Breaking Changes documentation.

Upgrade Recommendationโ€‹

We recommend testing MLflow 3 in a separate environment before upgrading your production workflows to ensure compatibility with your existing setup.

Getting Startedโ€‹

pip install 'mlflow>=3.1'

Explore the new MLflow 3 documentation and try out the enhanced GenAI capabilities with our updated quickstart guides. The model-centric architecture and improved tracing make it easier than ever to build, evaluate, and deploy production-ready AI applications. Explore the MLflow 3 documentation to learn more about the new features and how to get started.

Full Changelogโ€‹

For the complete list of all changes, bug fixes, and improvements in MLflow 3, visit the full changelog on GitHub.

MLflow 2.22.1

ยท One min read
MLflow maintainers
MLflow maintainers

MLflow 2.22.1 brings important bug fixes and improvements.

Features:

  • [Scoring] For DBConnect client, make spark_udf support DBR 15.4 and DBR dedicated cluster (#15938, @WeichenXu123)

Bug Fixes:

  • [Model Registry] Log Resources from SystemAuthPolicy in CreateModelVersion (#15485, @aravind-segu)
  • [Tracking] Trace search: Avoid spawning threads for span fetching if include_spans=False (#15635, @dbczumar)

For a comprehensive list of changes, see the release change log, and check out the latest documentation on mlflow.org.

MLflow 2.22.0

ยท 2 min read
MLflow maintainers
MLflow maintainers

MLflow 2.22.0 brings important bug fixes and improvements to the UI and tracking capabilities.

Features:

  • [Tracking] Supported tracing for OpenAI Responses API.
    (#15240, @B-Step62)
  • [Tracking] Introduced get_last_active_trace, which affects model serving/monitoring logic.
    (#15233, @B-Step62)
  • [Tracking] Introduced async export for Databricks traces (default behavior).
    (#15163, @B-Step62)
  • [AI Gateway] Added Gemini embeddings support with corresponding unit tests.
    (#15017, @joelrobin18)
  • [Tracking / SQLAlchemy] MySQL SSL connections are now supported with client certs.
    (#14839, @aksylumoed)
  • [Models] Added Optuna storage utility for enabling parallel hyperparameter tuning.
    (#15243, @XiaohanZhangCMU)
  • [Artifacts] Added support for Azure Data Lake Storage (ADLS) artifact repositories.
    (#14723, @serena-ruan)
  • [UI] Artifact views for text now auto-refresh in the UI.
    (#14939, @joelrobin18)

Bug Fixes:

  • [Tracking / UI] Fixed serialization for structured output in langchain_tracer + added unit tests.
    (#14971, @joelrobin18)
  • [Server-infra] Enforced password validation for authentication (min. 8 characters).
    (#15287, @WeichenXu123)
  • [Deployments] Resolved an issue with the OpenAI Gateway adapter.
    (#15286, @WeichenXu123)
  • [Artifacts / Tracking / Server-infra] Normalized paths by stripping trailing slashes.
    (#15016, @tarek7669)
  • [Tags] Fixed a bug where tag values containing ": " were being truncated.
    (#14896, @harupy)

For a comprehensive list of changes, see the release change log, and check out the latest documentation on mlflow.org.

MLflow 2.21.1

ยท One min read
MLflow maintainers
MLflow maintainers

MLflow 2.21.1 is a patch release that introduces minor features and addresses some minor bugs.

Features:

  • Introduce support for logging evaluations within DSPy (#14962, @TomeHirata)
  • Add support for run creation when DSPy compile is executed (#14949, @TomeHirata)
  • Add support for building a SageMaker serving container that does not contain Java via the --install-java option (#14868, @rgangopadhya)

Bug fixes:

  • Fix an issue with trace ordering due to a timestamp conversion timezone bug (#15094, @orm011)
  • Fix a typo in the environment variable OTEL_EXPORTER_OTLP_PROTOCOL definition (#15008, @gabrielfu)
  • Fix an issue in shared and serverless clusters on Databricks when logging Spark Datasources when using the evaluate API (#15077, @WeichenXu123)
  • Fix a rendering issue with displaying images from within the metric tab in the UI (#15034, @TomeHirata)

Documentation updates:

  • Add additional contextual information within the set_retriever_schema API docs (#15099, @smurching)

For a comprehensive list of changes, see the release change log, and check out the latest documentation on mlflow.org.

MLflow 2.21.0

ยท 3 min read
MLflow maintainers
MLflow maintainers

We are excited to announce the release of MLflow 2.21.0! This release includes a number of significant features, enhancements, and bug fixes.

Major New Featuresโ€‹

Features:

Bug fixes:

  • [Models] Fix infinite recursion error with warning handler module (#14954, @BenWilson2)
  • [Model Registry] Fix invalid type issue for ModelRegistry RestStore (#14980, @B-Step62)
  • [Tracking] Fix: ExperimentViewRunsControlsActionsSelectTags doesn't set loading state to false when set-tag request fails. (#14907, @harupy)
  • [Tracking] Fix a bug in tag creation where tag values containing ": " get truncated (#14896, @harupy)
  • [Tracking] Fix false alert from AMD GPU monitor (#14884, @B-Step62)
  • [Tracking] Fix mlflow.doctor to fall back to mlflow-skinny when mlflow is not found (#14782, @harupy)
  • [Models] Handle LangGraph breaking change (#14794, @B-Step62)

Documentation updates:

For a comprehensive list of changes, see the release change log, and check out the latest documentation on mlflow.org.

MLflow 2.20.3

ยท One min read
MLflow maintainers
MLflow maintainers

MLflow 2.20.3 is a patch release includes several major features and improvements

Features:

Bug fixes:

For a comprehensive list of changes, see the release change log, and check out the latest documentation on mlflow.org.

MLflow 2.20.2

ยท One min read
MLflow maintainers
MLflow maintainers

MLflow 2.20.2 is a patch release includes several bug fixes and features

Features:

Bug fixes:

Documentation updates:

For a comprehensive list of changes, see the release change log, and check out the latest documentation on mlflow.org.

MLflow 2.20.1

ยท One min read
MLflow maintainers
MLflow maintainers

MLflow 2.20.1 is a patch release includes several bug fixes and features:

Features:

  • Spark_udf support for the model signatures based on type hints (#14265, @serena-ruan)
  • Helper connectors to use ChatAgent with LangChain and LangGraph (#14215, @bbqiu)
  • Update classifier evaluator to draw RUC/Lift curves for CatBoost models by default (#14333, @singh-kristian)

Bug fixes:

For a comprehensive list of changes, see the release change log, and check out the latest documentation on mlflow.org.