Skip to content

Commit 9cb5913

Browse files
author
Googler
committed
chore(components): Fix bug due to protobuf library being upgraded by pinning protobuf version
Signed-off-by: Googler <nobody@google.com> PiperOrigin-RevId: 652610202
1 parent 4930bee commit 9cb5913

File tree

2 files changed

+7
-1
lines changed
  • components/google-cloud

2 files changed

+7
-1
lines changed

components/google-cloud/RELEASE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## Upcoming release
22
* Updated the Starry Net pipeline's template gallery description, and added dataprep_nan_threshold and dataprep_zero_threshold args to the Starry Net pipeline.
3+
* Fix bug in Starry Net's upload decomposition plot step due to protobuf upgrade, by pinning protobuf library to 3.20.*.
34
* Add support for running tasks on a `PersistentResource` (see [CustomJobSpec](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/CustomJobSpec)) via `persistent_resource_id` parameter on `v1.custom_job.CustomTrainingJobOp` and `v1.custom_job.create_custom_training_job_from_component`
45
* Bump image for Structured Data pipelines.
56

components/google-cloud/google_cloud_pipeline_components/_implementation/starry_net/upload_decomposition_plots/component.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@
1616
from kfp import dsl
1717

1818

19-
@dsl.component(packages_to_install=['google-cloud-aiplatform[tensorboard]'])
19+
@dsl.component(
20+
packages_to_install=[
21+
'google-cloud-aiplatform[tensorboard]',
22+
'protobuf==3.20.*',
23+
]
24+
)
2025
def upload_decomposition_plots(
2126
project: str,
2227
location: str,

0 commit comments

Comments
 (0)