Skip to content

Commit

Permalink
[fbsync] Add note about improvements only happening on v2 now (#8114)
Browse files Browse the repository at this point in the history
Reviewed By: vmoens

Differential Revision: D51391965

fbshipit-source-id: d3cd456e0f8e3d5db4a378cb3313a5ac099a03ea
  • Loading branch information
NicolasHug authored and facebook-github-bot committed Nov 16, 2023
1 parent e4c291a commit c84a652
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/transforms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ V1 or V2? Which one should I use?

**TL;DR** We recommending using the ``torchvision.transforms.v2`` transforms
instead of those in ``torchvision.transforms``. They're faster and they can do
more things. Just change the import and you should be good to go.
more things. Just change the import and you should be good to go. Moving
forward, new features and improvements will only be considered for the v2
transforms.

In Torchvision 0.15 (March 2023), we released a new set of transforms available
in the ``torchvision.transforms.v2`` namespace. These transforms have a lot of
Expand Down

0 comments on commit c84a652

Please sign in to comment.