Repository navigation
Update transformers bounds and tests - #40745
Conversation
There was a problem hiding this comment.
📋 Review Summary
This PR updates the transformers and torch version bounds in the transformers extra, updates the corresponding tox.ini and Gradle test environments to test against transformers 4.41, 4.57, and 5.20 (latest), and removes TFAutoModel references in huggingface_inference_test.py for compatibility with transformers 5.x (which dropped TensorFlow support).
🔍 General Feedback
- The changes across
setup.py,tox.ini,build.gradle, andhuggingface_inference_test.pyare clean, well-documented with inline comments explaining dependency constraints, and properly synchronized.
💡 Tip: Comment /gemini review on this pull request to trigger a new Gemini code review.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #40745 +/- ##
==========================================
- Coverage 80.04% 79.93% -0.12%
==========================================
Files 490 493 +3
Lines 82916 83402 +486
==========================================
+ Hits 66373 66670 +297
- Misses 16543 16732 +189
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
CC: @aIbrahiim |
|
Assigning reviewers: R: @tvalentyn for label python. Note: If you would like to opt out of this review, comment Available commands:
The PR bot will only process comments in the main thread (not review comments). |
Fix transformers bounds, update to new test environments.