### 🚀 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