databricks / mlops-stacks

This repo provides a customizable stack for starting new ML projects on Databricks that follow production best-practices out of the box.
https://docs.databricks.com/en/dev-tools/bundles/mlops-stacks.html
Apache License 2.0
416 stars 141 forks source link

`bundle init` asks for schema to use when registering a model in Unity Catalog when selected to not use Unity Catalog for Model Registry #124

Closed woropajj closed 7 months ago

woropajj commented 8 months ago

databricks bundle init mlops-stacks prompts to set schema and privileges in Unity Catalog when I selected that I don't want to use Unity Catalog:

# other steps

Whether to use the Model Registry with Unity Catalog: no

Name of schema to use when registering a model in Unity Catalog. 
Note that this schema must already exist, and we recommend keeping the name the same as the project name as well as giving the service principals the right access. Default [my-mlops-project]: 

User group name to give EXECUTE privileges to models in Unity Catalog. A group with this name must exist in the Unity Catalog that the staging and prod workspaces can access. Default [account users]: 

Whether to include Feature Store: no

Whether to include MLflow Recipes: no

✨ Your MLOps Stack has been created in the 'my-mlops-project-no-unity' directory!

Please refer to the README.md of your project for further instructions on getting started.

Side question: will this stack work if I don't have Unity Catalog enabled at all in my workspace?

arpitjasa-db commented 7 months ago

@woropajj we fixed this issue, thanks for flagging! And yes, this Stack will work if you don't have UC enabled!