Skip to content
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
2 changes: 1 addition & 1 deletion dataflow/gemma-flex-template/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-cloud-aiplatform==1.62.0
google-cloud-aiplatform==1.133.0
google-cloud-dataflow-client==0.8.14
google-cloud-pubsub==2.28.0
google-cloud-storage==2.18.2
Expand Down
2 changes: 1 addition & 1 deletion dataflow/run-inference/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
google-cloud-aiplatform==1.57.0
google-cloud-aiplatform==1.133.0
google-cloud-dataflow-client==0.8.14
google-cloud-storage==2.10.0
pytest==8.2.0
2 changes: 1 addition & 1 deletion gemma2/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
google-cloud-aiplatform[all]==1.64.0
google-cloud-aiplatform[all]==1.133.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The [all] extra installs a large number of additional dependencies that do not appear to be used by the code in the gemma2/ directory. The code only uses aiplatform.gapic.PredictionServiceClient for making predictions, which is available in the core google-cloud-aiplatform package. To reduce the dependency footprint and avoid potential conflicts, it's better to remove the [all] extra.

google-cloud-aiplatform==1.133.0

protobuf==5.29.5