How to choose legacy MLflow to upgrade Unity Catalog models

Yuki
Contributor

Hi there,

I'm trying to upgrade MLflow models to Unity Catalog from legacy Models.

I'm referencing this document. https://docs.databricks.com/aws/en/machine-learning/manage-model-lifecycle/upgrade-models

But I'm facing the error when I run `workspace_client.search_model_versions(filter_string=f"name='{model_name}'", page_token=None)` of function: `_upgrade_registered_model`.

The error message is following,
INVALID_PARAMETER_VALUE: Bad model name: please specify all three levels of the model in the form `catalog_name.schema_name.model_name`

I'm using Runtime 13.0 or above and having permissions to UC.

This message seems that the `workspace_client = MlflowClient()` is connected UC MLflow formats.
How should I access legacy Models?

Thank you.