You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a note from a user-perspective: It's very confusing to have the tutorials updated before the features are actually available.
I installed Pytorch yesterday, in order to try out https://pytorch.org/tutorials/beginner/transfer_learning_tutorial.html. By chance, this happened to be directly after the documentation was updated, I suppose.
Anyway, pip gave me torch 2.5.1, which means that the tutorial code doesn't actually work for me. And the problem isn't google-able, since it's so new, and the documentation doesn't hint at this 2.6 version requirement either. I only found this explanation, because I happened to look the tutorial page up on GitHub, where I noticed this very recent commit.
🚀 Describe the improvement or the new tutorial
We should use the latest device-generic APIs when they come out in 2.6 in all tutorials to improve readability.
Existing tutorials on this topic
https://pytorch.org/tutorials/beginner/basics/buildmodel_tutorial is an example of one we should update. There is most likely more.
Additional context
cc @guangyey that might be a good follow up to consider before 2.6
The text was updated successfully, but these errors were encountered: