Skip to content

Update on TorchVision’s future focus #9036

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
NicolasHug opened this issue Apr 23, 2025 · 1 comment
Open

Update on TorchVision’s future focus #9036

NicolasHug opened this issue Apr 23, 2025 · 1 comment

Comments

@NicolasHug
Copy link
Member

Dear contributors and users,

I wanted to share an update on what we’ll be prioritizing in TorchVision from now on. In short:

Image

In details:

  • The transforms.v2 module, and pre-processing in general, remains our principal area of investments. We’ll keep investing in performance improvements and in new features.
  • The utils and ops modules are maintained, but new features will only be added on a best-effort basis.
  • The datasets and models modules are still usable and they are not deprecated, but we’ll decrease support. This may mean for example that if a dataset URL breaks, we won’t necessarily actively try to fix the download functionality. The models are already very stable, so regressions are unlikely. New features will likely not be added.
  • The capabilities of the io module will eventually move to TorchCodec, where we’re consolidating all of PyTorch encoding/decoding capabilities:
    • For video, changes are effective from now (0.22): the video decoding and encoding capabilities are deprecated and will be removed in 0.24 (end of 2025)!. We strongly encourage you to migrate towards TorchCodec ASAP.
    • The image decoders/encoders remain in torchvision for the time being. They will eventually be migrated to TorchCodec, but there is no ETA on this for now. The migration will involve our usual 2-version deprecation cycle, so you’ll be given a heads-up.

Most of these changes are contributor-facing, not user-facing. As a result, contributors may observe reduced engagement on issues and PRs that relate to the de-prioritized areas (models, datasets, ops and utils).

@NicolasHug NicolasHug pinned this issue Apr 23, 2025
@twsl
Copy link

twsl commented May 7, 2025

will batch/list support be a part of the transforms.v2 focus? that is something I am currently missing

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

No branches or pull requests

2 participants