Closed yinxi-db closed 1 month ago
@yinxi-db bit confused, if aliases are case-insensitive, wouldn't this change be a no-op? Have we confirmed this works?
@yinxi-db bit confused, if aliases are case-insensitive, wouldn't this change be a no-op? Have we confirmed this works?
yes, see the registered model here. Without the change, it will create a version with 2 alias as shown in the screenshot earlier and with the update, version 3 has the alias champion
since it passed validation
This was done as part of https://github.com/databricks/mlops-stacks/pull/165
change all alias to lower case, mlflow UC model registry does not different upper/lower case in alias. The original code leads to model in UC have both alias "champion" and "challenger"![image](https://github.com/databricks/mlops-stacks/assets/80770057/f71511c6-a13f-4c79-9d74-e557223551ed)