-
Notifications
You must be signed in to change notification settings - Fork 398
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
Added databricks_model_serving
resource
#2054
Conversation
20412f7
to
f592dcb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- comments from @alexott
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please provide a PR description? It would make it easier to review for people not familiar with the codebase already.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@arpitjasa-db mind holding merge on this? We have to change the name of the product, and the link to the docs will change. Not sure right now what the link name will be, so give us till the end of the day if that's ok?
Yeah no worries, I'll update the PR with the new name once you have it. |
@ankit-db I saw the email from Craig that the name is changing from Serverless Real-time Inference to Model Serving, so I updated the PR accordingly. Please take a look at the PR along with any other ML Inference folks (@sueann or @mehtayogita ) to make sure the rest of the naming and the docs line up with what is expected. |
@nfx @alexott Some of my unit tests seem to be failing with this cryptic error message
Do you know what could be causing this? Stepped through the tests in a debugger and it's weird this error seems to show up after the test passes the assertions. |
@arpitjasa-db basically the json parsing error comes from https://github.com/databricks/terraform-provider-databricks/blob/master/qa/testing.go#L426, where I then notice this definition in the sdk - Name string `json:"-" url:"-"` This might be causing the problem with json marshal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, pending the successful acceptance test results
client.create_model_version(name="%[1]s-model", source=source, run_id=run1_id) | ||
while client.get_model_version(name="%[1]s-model", version="1").getStatus() != ModelRegistry.ModelVersionStatus.READY: | ||
time.sleep(10) | ||
while client.get_model_version(name="%[1]s-model", version="2").getStatus() != ModelRegistry.ModelVersionStatus.READY: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wonder how can be encode this in our Python SDK :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with nit
Co-authored-by: Ankit Mathur <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggested changes in docs
Co-authored-by: vuong-nguyen <[email protected]>
Co-authored-by: vuong-nguyen <[email protected]>
Co-authored-by: vuong-nguyen <[email protected]>
* Added databricks_model_serving resource (#2054). * Added Unity Catalog on GCP support (#2000). * Deprecate schedule block in databricks_sql_query resource (#2078). * Fixed InitScripts Type to work with GCS and ABFS in databricks_cluster resource (#2067). * Added more testing for databricks_tables data source (#2075). * Added more testing for databricks_schemas data source (#2074). * Migrate databricks_node_type data source to Go SDK (#2070). * Migrate databricks_schemas data to Go SDK (#2065). * Migrate databricks_tables data source to SDK (#2068). * Migrate databricks_views data source to Go SDK (#2073). * Migrated databricks_git_credential to Go SDK (#2069). * Migrated databricks_shares data source to Go SDK (#2072). Updated dependency versions: * Bump github.com/databricks/databricks-sdk-go from v0.3.3 to v0.4.0 (#2086). * Bump golang.org/x/mod from 0.8.0 to 0.9.0 (#2076).
* Added databricks_model_serving resource (#2054). * Added Unity Catalog on GCP support (#2000). * Deprecate schedule block in databricks_sql_query resource (#2078). * Fixed InitScripts Type to work with GCS and ABFS in databricks_cluster resource (#2067). * Added more testing for databricks_tables data source (#2075). * Added more testing for databricks_schemas data source (#2074). * Migrate databricks_node_type data source to Go SDK (#2070). * Migrate databricks_schemas data to Go SDK (#2065). * Migrate databricks_tables data source to SDK (#2068). * Migrate databricks_views data source to Go SDK (#2073). * Migrated databricks_git_credential to Go SDK (#2069). * Migrated databricks_shares data source to Go SDK (#2072). Updated dependency versions: * Bump github.com/databricks/databricks-sdk-go from v0.3.3 to v0.4.0 (#2086). * Bump golang.org/x/mod from 0.8.0 to 0.9.0 (#2076).
This PR adds Model Serving Endpoints as a Terraform resource to the Databricks Terraform Provider, addressing #2040.