Skip to content

Conversation

hertschuh
Copy link
Collaborator

Replacement for #21704

Copy link
Contributor

Summary of Changes

Hello @hertschuh, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on synchronizing and upgrading the versions of key deep learning framework dependencies, specifically Torch and TensorFlow, across various environment configurations. The primary goal is to ensure the project benefits from the latest features, performance improvements, and bug fixes provided by these updated library versions, thereby enhancing overall stability and compatibility.

Highlights

  • Torch Version Update: The Torch dependency has been updated across all relevant requirement files from version 2.6.0 to 2.8.0.
  • TensorFlow Version Update: The TensorFlow dependency, including both CPU-only and CUDA-enabled versions, has been updated from 2.18.1 to 2.20.0 in the respective requirement files.
  • Torch-XLA Update: The torch-xla dependency has been updated from 2.6.0 to 2.8.1 in files where it is specified.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the versions of TensorFlow and PyTorch across various requirement files. The changes are mostly straightforward version bumps. I've identified one potential issue in requirements.txt where the PyTorch dependency for macOS seems to have been accidentally removed. My review includes a suggestion to fix this.

@codecov-commenter
Copy link

codecov-commenter commented Oct 10, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 31.66%. Comparing base (22524e1) to head (d514ad4).
⚠️ Report is 1 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (22524e1) and HEAD (d514ad4). Click for more details.

HEAD has 4 uploads less than BASE
Flag BASE (22524e1) HEAD (d514ad4)
keras 5 3
keras-openvino 1 0
keras-torch 1 0
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #21732       +/-   ##
===========================================
- Coverage   82.59%   31.66%   -50.93%     
===========================================
  Files         572      572               
  Lines       58535    58535               
  Branches     9158     9158               
===========================================
- Hits        48345    18538    -29807     
- Misses       7853    38760    +30907     
+ Partials     2337     1237     -1100     
Flag Coverage Δ
keras 31.61% <ø> (-50.79%) ⬇️
keras-jax 28.25% <ø> (-34.95%) ⬇️
keras-numpy 25.42% <ø> (-32.15%) ⬇️
keras-openvino ?
keras-tensorflow 27.74% <ø> (-36.21%) ⬇️
keras-torch ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hertschuh hertschuh force-pushed the req_version branch 3 times, most recently from ddff6e5 to 3bbf56f Compare October 10, 2025 20:33
@hertschuh hertschuh force-pushed the req_version branch 6 times, most recently from e0b1683 to 4a55e58 Compare October 11, 2025 18:06
@hertschuh hertschuh marked this pull request as draft October 11, 2025 18:08
@hertschuh hertschuh force-pushed the req_version branch 11 times, most recently from 6a4b251 to e257167 Compare October 11, 2025 22:37
@hertschuh hertschuh force-pushed the req_version branch 10 times, most recently from 8a29ab8 to 42e3d55 Compare October 13, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants