Repository navigation
knowledge_base: add model_serving_endpoint example - #178
Open
andresgarciaf wants to merge 6 commits into
Open
andresgarciaf wants to merge 6 commits into
andresgarciaf wants to merge 6 commits into
Conversation
Add a bundle that registers a Unity Catalog model, trains it with a serverless job (environment_version 4), and serves one version through a model_serving_endpoints resource with AI Gateway rate limits, an inference table, usage tracking, and CAN_QUERY permissions. Dev uses scale to zero and a Small workload; prod uses Medium without scale to zero. The README documents the two-step first deploy with --select. Closes #15 Co-authored-by: Isaac <no-reply@databricks.com> Co-authored-by: omnigent <noreply@omnigent.ai>
Cut the README from 307 to 65 lines: intro, Prerequisites, Usage with the two-step first deploy and one query command, and four Notes. No config changes. Co-authored-by: Isaac <no-reply@databricks.com> Co-authored-by: omnigent <noreply@omnigent.ai>
…nd rate limits Say that the first deploy has two deploy phases (steps 1 and 4), and state the AI Gateway rate limit constraints for custom model endpoints. Docs only. Co-authored-by: Isaac <no-reply@databricks.com> Co-authored-by: omnigent <noreply@omnigent.ai>
…-examples, trim README
Set workspace.root_path to /Workspace/bundle-examples/${bundle.name}/
${bundle.target} (dev adds ${workspace.current_user.short_name}).
Remove the README Notes section and fold the champion-version hint into
the deploy step, to match the sibling knowledge_base READMEs.
Tested end to end in dev: deploy --select, bundle run train_model,
full deploy with model_version=1, endpoint READY, query OK, destroy.
Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: omnigent <noreply@omnigent.ai>
Co-authored-by: omnigent <noreply@omnigent.ai>
9 tasks
Author
|
@pietern could you please review this PR? Thank you. |
Move the serverless job environment from version 4 to version 6, the newest GA version. Co-authored-by: Isaac <no-reply@databricks.com> Co-authored-by: omnigent <noreply@omnigent.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
databricks bundle validatedatabricks bundle deploydatabricks bundle rundatabricks serving-endpoints querydatabricks bundle destroy