You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following sample prints all the model's names:
77
77
78
78
```python
79
-
for model in client.list_registered_models():
79
+
for model in client.search_registered_models():
80
80
print(f"{model.name}")
81
81
```
82
82
83
+
> [!NOTE]
84
+
> __MLflow 2.0 advisory:__ In older versions of Mlflow (<2.0), use method `MlflowClient.list_registered_models()` instead.
85
+
83
86
### Getting specific versions of the model
84
87
85
88
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`:
@@ -158,7 +161,7 @@ model = mlflow.pyfunc.load_model(f"models:/{model_name}/Staging")
158
161
159
162
## Editing and deleting models
160
163
161
-
Editing registered models is supported in both Mlflow and Azure ML, however, there are some differences between them that are important to notice:
164
+
Editing registered models is supported in both Mlflow and Azure ML. However, there are some differences important to be noticed:
162
165
163
166
> [!WARNING]
164
167
> Renaming models is not supported in Azure Machine Learning as model objects are immmutable.
@@ -203,7 +206,7 @@ The MLflow client exposes several methods to retrieve and manage models. The fol
203
206
| Registering models in MLflow format |**✓**|**✓**|**✓**|**✓**|
204
207
| Registering models not in MLflow format |||**✓**|**✓**|
205
208
| Registering models from runs outputs/artifacts |**✓**|**✓**<sup>1</sup> |**✓**<sup>2</sup> |**✓**|
206
-
| Registering models from runs outputs/artifacts in a different tracking server/workspace |**✓**||||
209
+
| Registering models from runs outputs/artifacts in a different tracking server/workspace |**✓**||**✓**<sup>5</sup>|**✓**<sup>5</sup>|
0 commit comments