Repository navigation
chore(deps): update transformers and dependencies in dataflow/run-inference - #14608
Merged
XrossFox merged 1 commit intoSep 29, 2026
Merged
Conversation
…erence Bumps `transformers` (to 5.17.0), `apache-beam[gcp]` (to 2.76.0), `torch` (to 2.12.1), and updates various test dependencies (`google-cloud-aiplatform`, `google-cloud-dataflow-client`, `google-cloud-storage`, `pytest`) to resolve Dependabot security alerts. Also adjusts Python testing versions in `noxfile_config.py`. Note on test failure and deprecation: One test is currently failing due to obsolete usage of pre-built containers which only support up to `torch 2.4`. Rather than repairing this, the sample has been deemed obsolete and is no longer feasible to maintain. A new page in the documentation supersedes this sample: https://docs.cloud.google.com/dataflow/docs/notebooks/run_inference_pytorch The old doc (https://docs.cloud.google.com/dataflow/docs/tutorials/streaming-llm.md) and this sample should both be retired. This deprecation and removal process is being tracked in b/565898242.
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates dependency versions in requirements.txt and requirements-test.txt, and modifies the ignored Python versions in noxfile_config.py. Feedback on the pull request suggests updating the ignored_versions list in noxfile_config.py to ensure only the oldest and newest supported Python versions (3.10 and 3.13) are tested, rather than ignoring 3.13 and adding 3.14.
XrossFox
marked this pull request as ready for review
September 28, 2026 21:10
amcolin
approved these changes
Sep 28, 2026
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bumps
transformers(to 5.17.0),apache-beam[gcp](to 2.76.0),torch(to 2.12.1), and updates various test dependencies (google-cloud-aiplatform,google-cloud-dataflow-client,google-cloud-storage,pytest) to resolve Dependabot security alerts. Also adjusts Python testing versions innoxfile_config.py.Note on test failure and deprecation:
One test is currently failing due to obsolete usage of pre-built containers which only support up to
torch 2.4. Rather than repairing this, the sample has been deemedobsolete and is no longer feasible to maintain.
A new page in the documentation supersedes this sample:
https://docs.cloud.google.com/dataflow/docs/notebooks/run_inference_pytorch
The old doc (https://docs.cloud.google.com/dataflow/docs/tutorials/streaming-llm.md) and this sample should both be retired. This deprecation and removal process is being
tracked in b/565898242.
Fixes b/559808079
Checklist
Testing
Compliance & Style
Post-Approval Actions