Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Update dependency torchvision to v0.22.1 #102

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 3, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
torchvision 0.19.1 -> 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

v0.21.0: Torchvision 0.21 release

Compare Source

Highlights
Image decoding

Torchvision continues to improve its image decoding capabilities. For this version, we added support for HEIC and AVIF image formats. Things are a bit different this time: to enable it, you'll need to pip install torchvision-extra-decoders, and the decoders are available in torchvision as torchvision.io.decode_heic() and torchvision.io.decode_avif(). This is still experimental / BETA, so let us know if you encounter any issue.

Read more in our docs!

Detailed changes
New Features

[io] Add support for decoding AVIF and HEIC image formats (#​8671)

Improvements

[datasets] Don't error when dataset is already downloaded (#​8691)
[datasets] Don't print when dataset is already downloaded (#​8681)
[datasets] remove printing info in datasets (#​8683)
[utils] Add label_colors argument to draw_bounding_boxes (#​8578)
[models] Add __deepcopy__ support for DualGraphModule (#​8708)
[Docs] Various documentation improvements (#​8798, #​8709, #​8576, #​8620, #​8846, #​8758)
[Code quality] Various code quality improvements (#​8757, #​8755, #​8754, #​8689, #​8719, #​8772, #​8774, #​8791, #​8705)

Bug Fixes

[io] Fix memory leak in decode_webp (#​8712)
[io] Fix pyav 14 compatibility error (#​8776)
[models] Fix order of auxiliary networks in googlenet.py (#​8743)
[transforms] Fix adjust_hue on ARM (#​8618)
[reference scripts] Fix error when loading the cached dataset in video classification reference(#​8727)
[build] fix CUDA build with NVCC_FLAGS in env (#​8692)

Tracked Regressions

[build] aarch64 builds are build with manylinux_2_34_aarch64 tag according to auditwheel check (#​8883)

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:

amdfaa Andreas Floros, Andrey Talman , Beh Chuen Yang, David Miguel Susano Pinto, GdoongMathew, Jason Chou, Li-Huai (Allan) Lin, Maohua Li, Nicolas Hug , pblwk, R. Yao, sclarkson, vfdev, Ștefan Talpalaru

v0.20.1

Compare Source

v0.20.0: Torchvision 0.20 release

Compare Source

Highlights
Encoding / Decoding images

Torchvision is further extending its encoding/decoding capabilities. For this version, we added a WEBP decoder, and a batch JPEG decoder on CUDA GPUs, which can lead to 10X speed-ups over CPU decoding.

We have also improved the UX of our decoding APIs to be more user-friendly. The main entry point is now torchvision.io.decode_image(), and it can take as input either a path (as str or pathlib.Path), or a tensor containing the raw encoded data.

Read more on the docs!

We also added support for HEIC and AVIF decoding, but these are currently only available when building from source. We are working on making those available directly in the upcoming releases. Stay tuned!

Detailed changes
Bug Fixes

[datasets] Update URL of SBDataset train_noval (#​8551)
[datasets] EuroSAT: fix SSL certificate issues (#​8563)
[io] Check average_rate availability in video reader (#​8548)

New Features

[io] Add batch JPEG GPU decoding (decode_jpeg()) (#​8496)
[io] Add WEBP image decoder: decode_image(), decode_webp() (#​8527, #​8612, #​8610)
[io] Add HEIC and AVIF decoders, only available when building from source (#​8597, #​8596, #​8647, #​8613, #​8621)

Improvements

[io] Add support for decoding 16bits png (#​8524)
[io] Allow decoding functions to accept the mode parameter as a string (#​8627)
[io] Allow decode_image() to support paths (#​8624)
[io] Automatically send video to CPU in io.write_video (#​8537)
[datasets] Better progress bar for file downloading (#​8556)
[datasets] Add Path type annotation for ImageFolder (#​8526)
[ops] Register nms and roi_align Autocast policy for PyTorch Intel GPU backend (#​8541)
[transforms] Use Sequence for parameters type checking in transforms.RandomErase (#​8615)
[transforms] Support v2.functional.gaussian_blur backprop (#​8486)
[transforms] Expose transforms.v2 utils for writing custom transforms. (#​8670)
[utils] Fix f-string in color error message (#​8639)
[packaging] Revamped and improved debuggability of setup.py build (#​8535, #​8581, #​8581, #​8582, #​8590, #​8533, #​8528, #​8659)
[Documentation] Various documentation improvements (#​8605, #​8611, #​8506, #​8507, #​8539, #​8512, #​8513, #​8583, #​8633)
[tests] Various tests improvements (#​8580, #​8553, #​8523, #​8617, #​8518, #​8579, #​8558, #​8617, #​8641)
[code quality] Various code quality improvements (#​8552, #​8555, #​8516, #​8526, #​8602, #​8615, #​8639, #​8532)
[ci] #​8562, #​8644, #​8592, #​8542, #​8594, #​8530, #​8656

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:

Adam J. Stewart, AJS Payne, Andreas Floros, Andrey Talman, Bhavay Malhotra, Brizar, deekay42, Ehsan, Feng Yuan, Joseph Macaranas, Martin, Masahiro Hiramori, Nicolas Hug, Nikita Shulga , Sergii Dymchenko, Stefan Baumann, venkatram-dev, Wang, Chuanqi


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.

Copy link
Contributor Author

renovate bot commented Oct 3, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...

Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package
Directory /tmp/renovate/repos/github/IQTLabs/rfml/torchsig for torchsig does not seem to be a Python package

Because torchvision (0.22.1) depends on torch (2.7.1)
 and rfml depends on torch (2.4.1), torchvision is forbidden.
So, because rfml depends on torchvision (0.22.1), version solving failed.

@renovate renovate bot changed the title Update dependency torchvision to v0.19.1 Update dependency torchvision to v0.19.1 - autoclosed Oct 11, 2024
@renovate renovate bot closed this Oct 11, 2024
@renovate renovate bot deleted the renovate/torchvision-0.x branch October 11, 2024 19:30
@renovate renovate bot changed the title Update dependency torchvision to v0.19.1 - autoclosed Update dependency torchvision to v0.19.1 Oct 17, 2024
@renovate renovate bot reopened this Oct 17, 2024
@renovate renovate bot restored the renovate/torchvision-0.x branch October 17, 2024 16:13
@renovate renovate bot force-pushed the renovate/torchvision-0.x branch from c93781e to e79d2bd Compare October 19, 2024 05:55
@renovate renovate bot changed the title Update dependency torchvision to v0.19.1 Update dependency torchvision to v0.20.0 Oct 19, 2024
@renovate renovate bot force-pushed the renovate/torchvision-0.x branch from e79d2bd to 568ba84 Compare October 29, 2024 19:33
@renovate renovate bot changed the title Update dependency torchvision to v0.20.0 Update dependency torchvision to v0.20.1 Oct 29, 2024
@renovate renovate bot force-pushed the renovate/torchvision-0.x branch from 568ba84 to 09b9b8f Compare January 29, 2025 19:00
@renovate renovate bot changed the title Update dependency torchvision to v0.20.1 Update dependency torchvision to v0.21.0 Jan 29, 2025
@renovate renovate bot force-pushed the renovate/torchvision-0.x branch from 09b9b8f to a5578de Compare April 23, 2025 18:27
@renovate renovate bot changed the title Update dependency torchvision to v0.21.0 Update dependency torchvision to v0.22.0 Apr 23, 2025
@renovate renovate bot force-pushed the renovate/torchvision-0.x branch from a5578de to c7701db Compare June 4, 2025 20:08
@renovate renovate bot changed the title Update dependency torchvision to v0.22.0 Update dependency torchvision to v0.22.1 Jun 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant