Skip to content

build(deps): update torchvision requirement from <0.22.0,>=0.15.1 to >=0.15.1,<0.23.0 in /requirements #3072

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 29, 2025

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Updates the requirements on torchvision to permit the latest version.

Release notes

Sourced from torchvision's releases.

Torchvision 0.22 release

Key info

⚠️ We are updating the areas that TorchVision will be prioritizing in the future. Please take a look at pytorch/vision#9036 for more details.

⚠️ We are deprecating the video decoding and encoding capabilities of TorchVision, and they will be removed soon in version 0.25 (aimed for end of 2025). We encourage users to migrate existing video decoding code to rely on TorchCodec project, where we are consolidating all media decoding/encoding functionalities of PyTorch.

Detailed Changes

Deprecations

[io] Video decoding and encoding capabilities are deprecated and will be removed soon in 0.25! Please migrate to TorchCodec! (#8997)

Bug Fixes

[io] Fix sync bug with encode_jpeg on CUDA (#8929) [transforms] pin_memory() now preserves TVTensor class and metadata (#8921)

Improvements

[datasets] Most datasets now support a loader parameter, which allow you to decode images directly into tensors with torchvision.io.decode_image(), instead of relying on PIL. This should lead to faster pipelines! (#8945, #8972, #8939, #8922) [datasets] Add classes attribute to the Flowers102 dataset (#8838) [datasets] Added 'test' split support for Places365 dataset (#8928) [datasets] Reduce output log on MNIST (#8865) [ops] Perf: greatly speed-up NMS on CUDA when num_boxes is high (#8766, #8925) [ops] Add roi_align nondeterministic support for XPU (#8931) [all] Improvements on input checks and error messages (#8959, #8994, #8944, #8995, #8993, #8866, #8882, #8851, #8844, #8991) [build] Various build improvements / platforms support (#8913, #8933, #8936, #8792) [docs] Various documentation improvements (#8843, #8860, #9014, #9015, #8932) [misc] Other non-user-facing changes (#8872, #8982, #8976, #8935, #8977, #8978, #8963, #8975, #8974, #8950, #8970, #8924, #8964, #8996, #8920, #8873, #8876, #8885, #8890, #8901, #8999, #8998, #8973, #8897, #9007, #8852)

Contributors

We're grateful for our community, which helps us improve torchvision by submitting issues and PRs, and providing feedback and suggestions. The following persons have contributed patches for this release:

Aditya Kamath, Alexandre Ghelfi, PhD, Alfredo Tupone, amdfaa, Andrey Talman, Antoine Simoulin, Aurélien Geron, bjarzemb, deekay42, Frost Mitchell, frost-intel , GdoongMathew, Hangxing Wei, Huy Do, Nicolas Hug, Nikita Shulga, Noopur, Ruben, tvukovic-amd, Wenchen Li, Wieland Morgenstern , Yichen Yan, Yonghye Kwon, Zain Rizvi

Commits
  • 9eb57cd [Cherry-pick for 0.22] Put back docs of decode_png (#9016)
  • 2ddb698 [Cherry-pick for 0.22 release] Remove stanford cars download instructions (#9...
  • fb8cdf8 0.22 Cherry-picks continued (#9004)
  • d434a1e Revert rotated bboxes (#9000)
  • b1e9dfc 0.22 Cherry-picks (#8983)
  • 8dcfb1c [Release only] Use Release 2.7 instead of main for CI jobs (#8969)
  • 697340a [release-only] Update version.txt for version .22 (#8968)
  • 124dfa4 Remove quiet option from pre_build_script. Install libjpeg-turbo and ffmpeg i...
  • dcd1e42 Fix RandomResizedCrop scale & ratio argument. (#8944)
  • 05decc3 feats: add loader in classification task datasets. (#8939)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

📚 Documentation preview 📚: https://torchmetrics--3072.org.readthedocs.build/en/3072/

@dependabot dependabot bot requested a review from a team April 29, 2025 00:32
Updates the requirements on [torchvision](https://github.com/pytorch/vision) to permit the latest version.
- [Release notes](https://github.com/pytorch/vision/releases)
- [Commits](pytorch/vision@v0.15.1...v0.22.0)

---
updated-dependencies:
- dependency-name: torchvision
  dependency-version: 0.22.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the test / CI testing or CI label Apr 29, 2025
Copy link

codecov bot commented Apr 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99%. Comparing base (5c40622) to head (461a1b9).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #3072      +/-   ##
=========================================
+ Coverage      70%     99%     +29%     
=========================================
  Files         357      14     -343     
  Lines       19759     188   -19571     
=========================================
- Hits        13852     187   -13665     
+ Misses       5907       1    -5906     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Borda Borda merged commit a8367f8 into master Apr 29, 2025
73 of 74 checks passed
@Borda Borda deleted the dependabot-pip-requirements-torchvision-gte-0.15.1-and-lt-0.23.0 branch April 29, 2025 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test / CI testing or CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants