Skip to content
Open
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.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# For reproducible builds, it is better to also include transitive dependencies:
# https://github.com/GoogleCloudPlatform/python-docs-samples/blob/c93accadf3bd29e9c3166676abb2c95564579c5e/dataflow/flex-templates/pipeline_with_dependencies/requirements.txt#L22,
# but for simplicity of this example, we are only including the top-level dependencies.
apache_beam[gcp]==2.66.0
apache_beam[gcp]==2.73.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

Updating apache_beam to 2.73.0 here increases the version mismatch with the Dockerfile. The Dockerfile (line 33) currently copies the Beam SDK from apache/beam_python3.10_sdk:2.62.0. As noted in the Dockerfile comments (line 32), these versions should match to ensure the Flex Template functions correctly at runtime. Please update the Dockerfile to use the matching Beam SDK version (e.g., apache/beam_python3.10_sdk:2.73.0) to maintain consistency.

immutabledict==4.2.0

# Also required, please download and install gemma_pytorch.
Expand Down