-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
vertex-ai
: add google_vertex_ai_models
resource with create-via-copy
#12074
Conversation
2900c02
to
f964094
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
f964094
to
d9a7bde
Compare
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_vertex_ai_model" "primary" {
artifact_uri = # value needed
container_spec {
args = # value needed
command = # value needed
deployment_timeout = # value needed
env {
name = # value needed
value = # value needed
}
grpc_ports {
container_port = # value needed
}
health_probe {
exec {
command = # value needed
}
period_seconds = # value needed
timeout_seconds = # value needed
}
health_route = # value needed
image_uri = # value needed
ports {
container_port = # value needed
}
predict_route = # value needed
shared_memory_size_mb = # value needed
startup_probe {
exec {
command = # value needed
}
period_seconds = # value needed
timeout_seconds = # value needed
}
}
encryption_spec {
kms_key_name = # value needed
}
metadata {
config {
algorithm_config {
tree_ah_config {
leaf_node_embedding_count = # value needed
leaf_nodes_to_search_percent = # value needed
}
}
approximate_neighbors_count = # value needed
dimensions = # value needed
distance_measure_type = # value needed
feature_norm_type = # value needed
shard_size = # value needed
}
}
metadata_schema_uri = # value needed
model_name = # value needed
pipeline_job = # value needed
predict_schemata {
instance_schema_uri = # value needed
parameters_schema_uri = # value needed
prediction_schema_uri = # value needed
}
supported_export_formats {
exportable_content = # value needed
}
version_aliases = # value needed
}
|
Tests analyticsTotal tests: 61 Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_vertex_ai_model" "primary" {
artifact_uri = # value needed
container_spec {
args = # value needed
command = # value needed
deployment_timeout = # value needed
env {
name = # value needed
value = # value needed
}
grpc_ports {
container_port = # value needed
}
health_probe {
exec {
command = # value needed
}
period_seconds = # value needed
timeout_seconds = # value needed
}
health_route = # value needed
image_uri = # value needed
ports {
container_port = # value needed
}
predict_route = # value needed
shared_memory_size_mb = # value needed
startup_probe {
exec {
command = # value needed
}
period_seconds = # value needed
timeout_seconds = # value needed
}
}
encryption_spec {
kms_key_name = # value needed
}
metadata {
config {
algorithm_config {
tree_ah_config {
leaf_node_embedding_count = # value needed
leaf_nodes_to_search_percent = # value needed
}
}
approximate_neighbors_count = # value needed
dimensions = # value needed
distance_measure_type = # value needed
feature_norm_type = # value needed
shard_size = # value needed
}
}
metadata_schema_uri = # value needed
model_name = # value needed
pipeline_job = # value needed
predict_schemata {
instance_schema_uri = # value needed
parameters_schema_uri = # value needed
prediction_schema_uri = # value needed
}
supported_export_formats {
exportable_content = # value needed
}
version_aliases = # value needed
}
|
Tests analyticsTotal tests: 61 Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_vertex_ai_model" "primary" {
artifact_uri = # value needed
container_spec {
args = # value needed
command = # value needed
deployment_timeout = # value needed
env {
name = # value needed
value = # value needed
}
grpc_ports {
container_port = # value needed
}
health_probe {
exec {
command = # value needed
}
period_seconds = # value needed
timeout_seconds = # value needed
}
health_route = # value needed
image_uri = # value needed
ports {
container_port = # value needed
}
predict_route = # value needed
shared_memory_size_mb = # value needed
startup_probe {
exec {
command = # value needed
}
period_seconds = # value needed
timeout_seconds = # value needed
}
}
encryption_spec {
kms_key_name = # value needed
}
metadata {
config {
algorithm_config {
tree_ah_config {
leaf_node_embedding_count = # value needed
leaf_nodes_to_search_percent = # value needed
}
}
approximate_neighbors_count = # value needed
dimensions = # value needed
distance_measure_type = # value needed
feature_norm_type = # value needed
shard_size = # value needed
}
}
metadata_schema_uri = # value needed
pipeline_job = # value needed
predict_schemata {
instance_schema_uri = # value needed
parameters_schema_uri = # value needed
prediction_schema_uri = # value needed
}
supported_export_formats {
exportable_content = # value needed
}
version_aliases = # value needed
}
|
Tests analyticsTotal tests: 61 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
Just so it doesn't get lost: #12074 (comment) once this is approved I can merge it into UPLOAD and include UPLOAD as part of the copy tests for initial setup prior to actually testing the copy method by itself. |
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 last comments to get this PR 100% about create via copy and to allow all code changes necessary for upload to be added in the separate upload PR
Co-authored-by: Sarah French <[email protected]>
Co-authored-by: Sarah French <[email protected]>
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_vertex_ai_model" "primary" {
artifact_uri = # value needed
container_spec {
args = # value needed
command = # value needed
deployment_timeout = # value needed
env {
name = # value needed
value = # value needed
}
grpc_ports {
container_port = # value needed
}
health_probe {
exec {
command = # value needed
}
period_seconds = # value needed
timeout_seconds = # value needed
}
health_route = # value needed
image_uri = # value needed
ports {
container_port = # value needed
}
predict_route = # value needed
shared_memory_size_mb = # value needed
startup_probe {
exec {
command = # value needed
}
period_seconds = # value needed
timeout_seconds = # value needed
}
}
encryption_spec {
kms_key_name = # value needed
}
metadata {
config {
algorithm_config {
tree_ah_config {
leaf_node_embedding_count = # value needed
leaf_nodes_to_search_percent = # value needed
}
}
approximate_neighbors_count = # value needed
dimensions = # value needed
distance_measure_type = # value needed
feature_norm_type = # value needed
shard_size = # value needed
}
}
metadata_schema_uri = # value needed
pipeline_job = # value needed
predict_schemata {
instance_schema_uri = # value needed
parameters_schema_uri = # value needed
prediction_schema_uri = # value needed
}
supported_export_formats {
exportable_content = # value needed
}
version_aliases = # value needed
}
|
Tests analyticsTotal tests: 61 Click here to see the affected service packages
🟢 All tests passed! View the build log |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_vertex_ai_model" "primary" {
artifact_uri = # value needed
container_spec {
args = # value needed
command = # value needed
deployment_timeout = # value needed
env {
name = # value needed
value = # value needed
}
grpc_ports {
container_port = # value needed
}
health_probe {
exec {
command = # value needed
}
period_seconds = # value needed
timeout_seconds = # value needed
}
health_route = # value needed
image_uri = # value needed
ports {
container_port = # value needed
}
predict_route = # value needed
shared_memory_size_mb = # value needed
startup_probe {
exec {
command = # value needed
}
period_seconds = # value needed
timeout_seconds = # value needed
}
}
encryption_spec {
kms_key_name = # value needed
}
metadata {
config {
algorithm_config {
tree_ah_config {
leaf_node_embedding_count = # value needed
leaf_nodes_to_search_percent = # value needed
}
}
approximate_neighbors_count = # value needed
dimensions = # value needed
distance_measure_type = # value needed
feature_norm_type = # value needed
shard_size = # value needed
}
}
metadata_schema_uri = # value needed
pipeline_job = # value needed
predict_schemata {
instance_schema_uri = # value needed
parameters_schema_uri = # value needed
prediction_schema_uri = # value needed
}
supported_export_formats {
exportable_content = # value needed
}
version_aliases = # value needed
}
|
addressed the last couple changes, should be good for another review and then I could look into upload support. @SarahFrench |
Tests analyticsTotal tests: 61 Click here to see the affected service packages
🟢 All tests passed! View the build log |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_vertex_ai_model" "primary" {
artifact_uri = # value needed
container_spec {
args = # value needed
command = # value needed
deployment_timeout = # value needed
env {
name = # value needed
value = # value needed
}
grpc_ports {
container_port = # value needed
}
health_probe {
exec {
command = # value needed
}
period_seconds = # value needed
timeout_seconds = # value needed
}
health_route = # value needed
image_uri = # value needed
ports {
container_port = # value needed
}
predict_route = # value needed
shared_memory_size_mb = # value needed
startup_probe {
exec {
command = # value needed
}
period_seconds = # value needed
timeout_seconds = # value needed
}
}
encryption_spec {
kms_key_name = # value needed
}
metadata {
config {
algorithm_config {
tree_ah_config {
leaf_node_embedding_count = # value needed
leaf_nodes_to_search_percent = # value needed
}
}
approximate_neighbors_count = # value needed
dimensions = # value needed
distance_measure_type = # value needed
feature_norm_type = # value needed
shard_size = # value needed
}
}
metadata_schema_uri = # value needed
pipeline_job = # value needed
predict_schemata {
instance_schema_uri = # value needed
parameters_schema_uri = # value needed
prediction_schema_uri = # value needed
}
supported_export_formats {
exportable_content = # value needed
}
version_aliases = # value needed
}
|
Tests analyticsTotal tests: 61 Click here to see the affected service packages
🟢 All tests passed! View the build log |
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.
Approving, but just a heads up that this PR is currently due to go into main branch. If you merge it as-is then it'll be in the December 16th release, despite a lack of test coverage etc.
@SarahFrench changed base to |
This initial PR will begin with supporting
:COPY
replaces #10628
Will include PRs to support
:UPLOAD
in separate PRs.:COPY
:UPLOAD
vertex-ai
: add:UPLOAD
support for model resource #12075 - The merging of this PR will introduce renaming ofdisplayName
->modelName
. This is meant to make it easier for users to differentiate how to COPY or UPLOAD a model (COPY requiressource_model
field while UPLOAD requiresdisplayName
field but will be renamed to bemodelName
.explanation_spec_examples
vertex-ai
: add:UPLOAD
explanation_spec_examples
tests #12170explanation_gradients
vertex-ai
: add:UPLOAD
integrated_gradients
tests #12171explanation_xrai
vertex-ai
: add:UPLOAD
xrai_attributions
test #12173explanation_shapley
vertex-ai
: add:UPLOAD
sampled_shapley_attributions
test #12172Release Note Template for Downstream PRs (will be copied)
See Write release notes for guidance.