Skip to content

Update dependency torchvision to v0.22.1 #236

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 23, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
torchvision ==0.21.0 -> ==0.22.1 age adoption passing confidence

Release Notes

pytorch/vision (torchvision)

v0.22.1: TorchVision 0.22.1 Release

Compare Source

Key info

⚠️ We are updating the areas that TorchVision will be prioritizing in the future. Please take a look at https://github.com/pytorch/vision/issues/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.

This is a patch release, which is compatible with PyTorch 2.7.1. There are no new features added.

v0.22.0: Torchvision 0.22 release

Compare Source

Key info

⚠️ We are updating the areas that TorchVision will be prioritizing in the future. Please take a look at https://github.com/pytorch/vision/issues/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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from shcheklein as a code owner April 23, 2025 17:23
@renovate renovate bot changed the title Update dependency torchvision to v0.22.0 Update dependency torchvision to v0.22.1 Jun 4, 2025
@renovate renovate bot force-pushed the renovate/torchvision-0.x branch from 998ba84 to 5741027 Compare June 4, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants