Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update permissions to common_permissions #16

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion mlops_stacks/mlops_stacks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@

This directory contains python code, notebooks and ML resource configs related to one ML project.

See the [Project overview](../docs/project-overview.md) for details on code structure of project directory.
See the [Project overview](../docs/project-overview.md) for details on code structure of project directory.

## Set up mlops_stacks
- Create a catalog called `dev` in your workspace (this is pre-defined in `databricks.yml`)
- Add your workspace url to the host fields in `databricks.yml`
- For running `databricks run batch_inference_job` first create an input table for inference and add the definiton in `resources/batch-inference-workflow-resource.yml`
- For development and pull requests
- `pip install -r requirements.txt`
- Its recommended to create a dev environment with Python 3.10
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ new_cluster: &new_cluster
custom_tags:
clusterSource: mlops-stack/0.2

permissions: &permissions
common_permissions: &permissions
permissions:
- level: CAN_VIEW
group_name: users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ targets:


# Allow users to read the experiment
permissions: &permissions
common_permissions: &permissions
permissions:
- level: CAN_READ
group_name: users
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ new_cluster: &new_cluster
custom_tags:
clusterSource: mlops-stack/0.2

permissions: &permissions
common_permissions: &permissions
permissions:
- level: CAN_VIEW
group_name: users
Expand Down