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`:
@@ -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