MLflow 2.9.0 包含多项主要特性和改进。
MLflow AI Gateway 已弃用 (#10420, @harupy)
MLflow AI Gateway 这一特性已被移至使用 MLflow 部署 API。有关从 AI Gateway 迁移到新的部署 API 的指导,请参阅 [MLflow AI Gateway 迁移指南](https://mlflow.org.cn/docs/latest/llms/gateway/migration.html。
MLflow Tracking 文档全面更新 (#10471, @B-Step62)
MLflow Tracking 文档已全面更新。我们期待您对新 Tracking 文档的反馈!
安全修复
本次发布包含三项安全补丁,并已发布 CVE 详情,说明安全补丁涉及的具体内容和潜在攻击向量。如果您的 Tracking 服务器未安全部署且可公开访问互联网,请检查并更新您的 Tracking 服务器部署。
- 清理
HttpArtifactRepository.list_artifacts
中的path
(#10585, @harupy) - 清理
HTTPDatasetSource
的Content-Disposition
头中的filename
(#10584, @harupy)。 - 验证
Content-Type
头以防止 POST XSS (#10526, @B-Step62)
特性
- [Tracking] 发送 HTTP 请求时使用
backoff_jitter
(#10486, @ajinkyavbhandare) - [Tracking] 在
make_metric
API 中,如果分数类型是数字,则添加默认的aggregate_results
(#10490, @sunishsheth2009) - [Tracking] 为 genai 的度量值添加字符串类型的分数类型 (#10307, @sunishsheth2009)
- [Artifacts] 支持代理 Artifact 访问的多部分上传 (#9521, @harupy)
- [Models] 支持保存 transformers 模型的
torch_dtype
(#10586, @serena-ruan) - [Models] 为检索器评估添加内置度量
ndcg_at_k
(#10284, @liangz1) - [Model Registry] 实现通用的
copy_model_version
(#10308, @jerrylian-db) - [Models] 支持保存/加载
RunnableSequence
,RunnableParallel
, 和RunnableBranch
(#10521, #10611, @serena-ruan)
Bug 修复
- [Tracking] 恢复现有运行后,继续记录系统指标 (#10312, @chenmoneygithub)
- [UI] 修复折线图中错误的排序顺序 (#10553, @B-Step62)
- [UI] 移除 Git URL 中的多余空格 (#10506, @mrplants)
- [Models] 在 Databricks Runtime 和 Spark Connect 模式下,使 spark_udf 使用 NFS 将模型广播到 Spark executor (#10463, @WeichenXu123)
- [Models] 修复 promptlab pyfunc 模型在聊天路由中无法工作的问题 (#10346, @daniellok-db)
文档更新
- [Docs] 添加 TensorFlow 快速入门指南 (#10398, @chenmoneygithub)
- [Docs] 改进参数调优指南 (#10344, @chenmoneygithub)
- [Docs] 添加系统指标记录指南 (#10429, @chenmoneygithub)
- [Docs] 添加配置 Azure OpenAI 凭据的说明 (#10560, @BenWilson2)
- [Docs] 添加 Sentence Transformers Flavor 的文档和教程 (#10476, @BenWilson2)
- [Docs] 添加 Transformers Flavor 的教程、示例和指南 (#10360, @BenWilson2)
有关完整的更改列表,请参阅发布变更日志,并在mlflow.org 上查看最新文档。