跳到主内容

MLflow 2.2.0

·阅读时长 4 分钟
MLflow maintainers

我们很高兴地宣布 MLflow 2.2.0 可用!

MLflow 2.2.0 包含多项主要功能和改进

功能特性

错误修复

  • [Recipes] 修复 ingest 步骤中自定义数据集源的数据集格式验证问题 (#7638, @sunishsheth2009)
  • [Recipes] 修复训练期间识别表现最差示例的错误 (#7658, @sunishsheth2009)
  • [Recipes] 确保调用 `inspect()` 时 recipe 图始终一致呈现 (#7852, @sunishsheth2009)
  • [Recipes] 在 transform 步骤中正确遵循 `positive_class` 配置 (#7626, @sunishsheth2009)
  • [Recipes] 使记录的指标名称与 `mlflow.evaluate()` 保持一致 (#7613, @sunishsheth2009)
  • [Recipes] 将 `run_id` 和 `artifact_path` 键添加到记录的 MLmodel 文件中 (#7651, @sunishsheth2009)
  • [UI] 修复 UI 中实验名称、模型名称和标签键验证的错误 (#7818, @subramaniam02)
  • [Tracking] 创建实验时将 Artifact 位置解析为绝对路径 (#7670, @bali0019)
  • [Tracking] 从 Spark 数据源自动日志记录中排除 Delta checkpoint (#7902, @harupy)
  • [Tracking] 当指标不存在时,GetMetricHistory 一致地返回空列表 (#7589, @bali0019; #7659, @harupy)
  • [Artifacts] 修复对 UNC 格式的 Windows 路径上的 Artifact 操作的支持 (#7750, @bali0019)
  • [Artifacts] 修复 HDFS Artifact 列表中的错误 (#7581, @pwnywiz)
  • [Model Registry] 在 `mlflow server` 中不允许创建具有本地文件系统源的模型版本 (#7908, @harupy)
  • [Model Registry] 修复 FileStore 中已删除模型版本的处理问题 (#7716, @harupy)
  • [Model Registry] 正确地独立于 MLflow Tracking 初始化 Model Registry SQL 表 (#7704, @harupy)
  • [Models] 使用 pyfunc 进行推理时,正确地将 PyTorch 模型输出从 GPU 移动到 CPU (#7885, @ankit-db)
  • [Build] 修复与使用 `PYTHONOPTIMIZE=2` 编译的 Python 安装的兼容性问题 (#7791, @dbczumar)
  • [Build] 修复与即将发布的 pandas 2.0 版本的兼容性问题 (#7899, @harupy; #7910, @dbczumar)

文档更新

  • [Docs] 添加使用 MLflow 保存和加载 Spark MLlib 模型的示例 (#7706, @dipanjank)
  • [Docs] 添加 `mlflow.lightgbm` API 的使用示例 (#7565, @canerturkseven)
  • [Docs] 添加使用 `sktime` 创建自定义模型风格的示例 (#7624, @benjaminbluhm)
  • [Docs] 澄清 `mlflow.evaluate()` 中 `precision_recall_auc` 指标的计算方法 (#7701, @BenWilson2)
  • [Docs] 移除过时的示例链接 (#7587, @asloan7)

有关完整的更改列表,请参阅发布变更日志,并在 mlflow.org 查看最新文档。