Skip to content

Commit bb6e8bb

Browse files
authored
Update how-to-manage-models-mlflow.md
1 parent 1a8975d commit bb6e8bb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

articles/machine-learning/how-to-manage-models-mlflow.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,13 @@ client = mlflow.tracking.MlflowClient()
7676
The following sample prints all the model's names:
7777

7878
```python
79-
for model in client.list_registered_models():
79+
for model in client.search_registered_models():
8080
print(f"{model.name}")
8181
```
8282

83+
> [!NOTE]
84+
> __MLflow 2.0 advisory:__ In older versions of Mlflow (<2.0), use method `MlflowClient.list_registered_models()` instead.
85+
8386
### Getting specific versions of the model
8487

8588
The command above will retrieve the model object which contains all the model versions. However, if you want to get the last registered model version of a given model, you can use `get_registered_model`:
@@ -203,7 +206,7 @@ The MLflow client exposes several methods to retrieve and manage models. The fol
203206
| Registering models in MLflow format | **&check;** | **&check;** | **&check;** | **&check;** |
204207
| Registering models not in MLflow format | | | **&check;** | **&check;** |
205208
| Registering models from runs outputs/artifacts | **&check;** | **&check;**<sup>1</sup> | **&check;**<sup>2</sup> | **&check;** |
206-
| Registering models from runs outputs/artifacts in a different tracking server/workspace | **&check;** | | | |
209+
| Registering models from runs outputs/artifacts in a different tracking server/workspace | **&check;** | | **&check;**<sup>5</sup> | **&check;**<sup>5</sup> |
207210
| Listing registered models | **&check;** | **&check;** | **&check;** | **&check;** |
208211
| Retrieving details of registered model's versions | **&check;** | **&check;** | **&check;** | **&check;** |
209212
| Editing registered model's versions description | **&check;** | **&check;** | **&check;** | **&check;** |
@@ -221,9 +224,10 @@ The MLflow client exposes several methods to retrieve and manage models. The fol
221224
> - <sup>2</sup> Use URIs with format `azureml://jobs/<job-id>/outputs/artifacts/<path>`.
222225
> - <sup>3</sup> Registered models are immutable objects in Azure ML.
223226
> - <sup>4</sup> Use search box in Azure ML Studio. Partial match supported.
227+
> - <sup>5</sup> Use [registries](how-to-manage-registries.md).
224228
225229
## Next steps
226230

227231
- [Logging MLflow models](how-to-log-mlflow-models.md)
228232
- [Query & compare experiments and runs with MLflow](how-to-track-experiments-mlflow.md)
229-
- [Guidelines for deploying MLflow models](how-to-deploy-mlflow-models.md)
233+
- [Guidelines for deploying MLflow models](how-to-deploy-mlflow-models.md)

0 commit comments

Comments
 (0)