使用旧的项目存储位置时出现试验警告Experiment warning when legacy artifact storage location is used

问题Problem

MLflow 试验页面上显示一个新图标,其中包含以下打开访问警告:A new icon appears on the MLflow Experiments page with the following open access warning:

no-alternative-textno-alternative-text

原因Cause

现在,会对 MLflow 跟踪中的项目强制执行 MLflow 试验权限,这使你可以轻松控制对数据集、模型和其他文件的访问。MLflow experiment permissions are enforced on artifacts in MLflow Tracking, enabling you to easily control access to datasets, models, and other files.

在 MLflow 1.11 及更高版本中,新试验将项目存储在强制实施试验访问控制的 MLflow 托管位置 (dbfs:/databricks/mlflow-tracking/) 中。In MLflow 1.11 and above, new experiments store artifacts in an MLflow-managed location (dbfs:/databricks/mlflow-tracking/) that enforces experiment access controls.

某些较早的试验使用可供工作区的所有用户访问的旧存储位置 (dbfs:/databricks/mlflow/)。Certain older experiments use a legacy storage location (dbfs:/databricks/mlflow/) that can be accessed by all users of your workspace.

此警告指示试验使用旧的项目存储位置。This warning indicates that your experiment uses a legacy artifact storage location.

解决方案Solution

在将项目记录到试验时,应始终使用 MLflow 托管的 DBFS 存储位置。You should always use the MLflow-managed DBFS storage locations when logging artifacts to experiments. 这样可以防止对 MLflow 项目进行意外或未经授权的访问。This protects against unintended or unauthorized access to your MLflow artifacts.