G-Research / fasttrackml

Experiment tracking server focused on speed and scalability
https://fasttrackml.io/
Apache License 2.0
97 stars 18 forks source link

Bump mlflow from 2.14.3 to 2.15.1 #1382

Closed dependabot[bot] closed 1 week ago

dependabot[bot] commented 1 month ago

Bumps mlflow from 2.14.3 to 2.15.1.

Release notes

Sourced from mlflow's releases.

MLflow 2.15.1 is a patch release that addresses several bug fixes.

Bug fixes:

  • [Tracking] Fix silent disabling of LangChain autologging for LangChain >= 0.2.10. (#12779, @​B-Step62)
  • [Tracking] Fix mlflow.evaluate crash on binary classification with data subset only contains single class (#12825, @​serena-ruan)
  • [Tracking] Fix incompatibility of MLflow Tracing with LlamaIndex >= 0.10.61 (#12890, @​B-Step62)
  • [Tracking] Record exceptions in OpenAI autolog tracing (#12841, @​B-Step62)
  • [Tracking] Fix regression of connecting to MLflow tracking server on other Databricks workspace (#12861, @​WeichenXu123)
  • [UI] Fix refresh button for model metrics on Experiment and Run pages (#12869, @​beomsun0829)

Documentation updates:

  • [Docs] Update doc for Spark ML vector type (#12827, @​WeichenXu123) Small bug fixes and documentation updates:

#12823, #12860, #12844, #12843, @​B-Step62; #12863, #12828, @​harupy; #12845, @​djliden; #12820, @​annzhang-db; #12831, #12873, @​chenmoneygithub

MLflow 2.15.0 includes many major features and improvements:

Major features:

  • 🦙 LlamaIndex Flavor - MLflow now offers a native integration with LlamaIndex, one of the most popular libraries for building GenAI apps centered around custom data. This integration allows you to log LlamaIndex indices within MLflow, allowing for the loading and deployment of your indexed data for inference tasks with different engine types. MLflow also provides comprehensive tracing support for LlamaIndex operations, offering unprecedented transparency into complex queries. Check out the MLflow LlamaIndex documentation to get started! (#12633, @​michael-berk, @​B-Step62)
  • 🔍 OpenAI Tracing - We've enhanced our OpenAI integration with a new tracing feature that works seamlessly with MLflow OpenAI autologging. You can now enable tracing of their OpenAI API usage with a single mlflow.openai.autolog() call, thereby MLflow will automatically log valuable metadata such as token usage and a history of your interactions, providing deeper insights into your OpenAI-powered applications. To start exploring this new capability, please check out the tracing documentation! (#12267, @​gabrielfu)
  • Enhanced Model Deployment Validation - To improve the reliability of model deployments, MLflow has added a new method to validate your model before deploying it to an inference endpoint. This feature helps to eliminate typical errors in input and output handling, streamlining the process of model deployment and increasing confidence in your deployed models. By catching potential issues early, you can ensure a smoother transition from development to production. (#12710, @​serena-ruan)
  • 📊 Custom Metrics Definition Recording for Eval - We've strengthened the flexibility of defining custom metrics for model evaluation by automatically logging and versioning metrics definitions, including models used as judges and prompt templates. With this new capability, you can ensure reproducibility of evaluations across different runs and easily reuse evaluation setups for consistency, facilitating more meaningful comparisons between different models or versions. (#12487, #12509, @​xq-yin)
  • 🔐 Databricks SDK Integration - MLflow's interaction with Databricks endpoints has been fully migrated to use the Databricks SDK. This change brings more robust and reliable connections between MLflow and Databricks, and access to the latest Databricks features and capabilities. We mark the legacy databricks-cli support as deprecated and will remove in the future release. (#12313, @​WeichenXu123)
  • 💥 Spark VectorUDT Support - MLflow's Model Signature framework now supports Spark Vector UDT (User Defined Type), enabling logging and deployment of models using Spark VectorUDT with robust type validation. (#12758, @​WeichenXu123)

Other Notable Changes

Features:

  • [Tracking] Add parent_id as a parameter to the start_run fluent API for alternative control flows (#12721, @​Flametaa)
  • [Tracking] Add U2M authentication support for connecting to Databricks from MLflow (#12713, @​WeichenXu123)
  • [Tracking] Support deleting remote artifacts with mlflow gc (#12451, @​M4nouel)
  • [Tracing] Traces can now be deleted conveniently via UI from the Traces tab in the experiments page (#12641, @​daniellok-db)
  • [Models] Introduce additional parameters for the ChatModel interface for GenAI flavors (#12612, @​WeichenXu123)
  • [Models] [Transformers] Support input images encoded with b64.encodebytes (#12087, @​MadhuM02)
  • [Models Registry] Add support for AWS KMS encryption for the Unity Catalog model registry integration (#12495, @​artjen)
  • [Models] Fix MLflow Dataset hashing logic for Pandas dataframe to use iloc for accessing rows (#12410, @​julcsii)
  • [Models Registry] Support presigned urls without headers for artifact location (#12349, @​artjen)
  • [UI] The experiments page in the MLflow UI has an updated look, and comes with some performance optimizations for line charts (#12641, @​hubertzub-db)
  • [UI] Line charts can now be configured to ignore outliers in the data (#12641, @​daniellok-db)
  • [UI] Creating compatibility with Kubeflow Dashboard UI (#12663, @​cgilviadee)
  • [UI] Add a new section to the artifact page in the Tracking UI, which shows code snippet to validate model input format before deployment (#12729, @​serena-ruan)

Bug fixes:

  • [Tracking] Fix the model construction bug in MLflow SHAP evaluation for scikit-learn model (#12599, @​serena-ruan)
  • [Tracking] File store get_experiment_by_name returns all stage experiments (#12788, @​serena-ruan)

... (truncated)

Changelog

Sourced from mlflow's changelog.

2.15.1 (2024-08-06)

MLflow 2.15.1 is a patch release that addresses several bug fixes.

Bug fixes:

Documentation updates:

Small bug fixes and documentation updates:

#12823, #12860, #12844, #12843, @​B-Step62; #12863, #12828, @​harupy; #12845, @​djliden; #12820, @​annzhang-db; #12831, @​chenmoneygithub

2.15.0 (2024-07-29)

We are excited to announce the release candidate for MLflow 2.15.0. This release includes many major features and improvements!

Major features:

  • LlamaIndex Flavor🦙 - MLflow now offers a native integration with LlamaIndex, one of the most popular libraries for building GenAI apps centered around custom data. This integration allows you to log LlamaIndex indices within MLflow, allowing for the loading and deployment of your indexed data for inference tasks with different engine types. MLflow also provides comprehensive tracing support for LlamaIndex operations, offering unprecedented transparency into complex queries. Check out the MLflow LlamaIndex documentation to get started! (#12633, @​michael-berk, @​B-Step62)

  • OpenAI Tracing🔍 - We've enhanced our OpenAI integration with a new tracing feature that works seamlessly with MLflow OpenAI autologging. You can now enable tracing of their OpenAI API usage with a single mlflow.openai.autolog() call, thereby MLflow will automatically log valuable metadata such as token usage and a history of your interactions, providing deeper insights into your OpenAI-powered applications. To start exploring this new capability, please check out the tracing documentation! (#12267, @​gabrielfu)

  • Enhanced Model Deployment with New Validation Feature✅ - To improve the reliability of model deployments, MLflow has added a new method to validate your model before deploying it to an inference endpoint. This feature helps to eliminate typical errors in input and output handling, streamlining the process of model deployment and increasing confidence in your deployed models. By catching potential issues early, you can ensure a smoother transition from development to production. (#12710, @​serena-ruan)

  • Custom Metrics Definition Recording for Evaluations📊 - We've strengthened the flexibility of defining custom metrics for model evaluation by automatically logging and versioning metrics definitions, including models used as judges and prompt templates. With this new capability, you can ensure reproducibility of evaluations across different runs and easily reuse evaluation setups for consistency, facilitating more meaningful comparisons between different models or versions. (#12487, #12509, @​xq-yin)

  • Databricks SDK Integration🔐 - MLflow's interaction with Databricks endpoints has been fully migrated to use the Databricks SDK. This change brings more robust and reliable connections between MLflow and Databricks, and access to the latest Databricks features and capabilities. We mark the legacy databricks-cli support as deprecated and will remove in the future release. (#12313, @​WeichenXu123)

  • Spark VectorUDT Support💥 - MLflow's Model Signature framework now supports Spark Vector UDT (User Defined Type), enabling logging and deployment of models using Spark VectorUDT with robust type validation. (#12758, @​WeichenXu123)

Other Notable Changes

Features:

  • [Tracking] Add parent_id as a parameter to the start_run fluent API for alternative control flows (#12721, @​Flametaa)
  • [Tracking] Add U2M authentication support for connecting to Databricks from MLflow (#12713, @​WeichenXu123)
  • [Tracking] Support deleting remote artifacts with mlflow gc (#12451, @​M4nouel)
  • [Tracing] Traces can now be deleted conveniently via UI from the Traces tab in the experiments page (#12641, @​daniellok-db)
  • [Models] Introduce additional parameters for the ChatModel interface for GenAI flavors (#12612, @​WeichenXu123)
  • [Models] [Transformers] Support input images encoded with b64.encodebytes (#12087, @​MadhuM02)

... (truncated)

Commits
  • 608f334 Run python3 dev/update_mlflow_versions.py pre-release ... (#12891)
  • 28985ae Bump OpenAI version in LangChain tests (#12823)
  • 605fcd7 Add **kwargs to the new span handler in the LlamaIndex Tracer (#12890)
  • 74158c1 [BUG] able to refresh model metrics chart manually (#12869)
  • 7f1c34c Add note for external vector store limitation (#12860)
  • 9256363 Fix url with e2 proxy (#12873)
  • aee4757 Fix: Regression connecting to MLFlow tracking server on other Databricks work...
  • 49abe2c Fix disable_for_unsupported_versions value (#12863)
  • 82771d8 Add label_list in evaluator_config (#12825)
  • 6fe5e77 Wrap async logging batch submit by try except (#12831)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 week ago

Superseded by #1403.