tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

PyTorch tutorials.

Results 200 tutorials issues
Sort by recently updated
recently updated
newest added

### 📚 The doc issue I think it would useful to expand AOTI tutorial to cover AMP trained models. https://pytorch.org/tutorials/recipes/torch_export_aoti_python.html ### Suggest a potential alternative/fix _No response_ cc @svekars @brycebortree...

triaged

Fixes #137285 ## Description Update Python code to better address the usage of python logging and `torch.compile`. ## Checklist - [x] The issue that is being fixed is referred in...

cla signed
torch.compile

Fixes # ## Description ## Checklist - [ ] The issue that is being fixed is referred in the description - [ ] Only one issue is addressed in this...

cla signed
incorrect link
skip-link-check

In the word language quantized model tutorial, we assume we already have pretrained model. But where can we download the model? https://github.com/pytorch/tutorials/blob/main/advanced_source/dynamic_quantization_tutorial.py#L151-L157

When checking out the conclusion of the tutorial for 2:4 sparsity [here](https://pytorch.org/tutorials/advanced/semi_structured_sparse.html), the claimed advantage of 2:4 sparsity over dense execution is given as 1.3x-2.0x. However, when checking the actual...

### Add Link https://pytorch.org/tutorials/beginner/basics/quickstart_tutorial.html ### Describe the bug When using len(train_dataloader.dataset) to get the dataset size in the [Google Colab notebook](https://colab.research.google.com/github/pytorch/tutorials/blob/gh-pages/_downloads/af0caf6d7af0dda755f4c9d7af9ccc2c/quickstart_tutorial.ipynb) from [Quickstart PyTorch](https://pytorch.org/tutorials/beginner/basics/quickstart_tutorial.html), I encountered the following error: ```...

bug
intro
core

### 🚀 Describe the improvement or the new tutorial The 3-series tutorial set (linked in existing tutorial set) is disconnected in term of concepts being introduced and reused; like the...

The link found here is broken and being caught by the linter: https://github.com/pytorch/tutorials/blob/6f54c88d360297fb255eb31bdaf710cc9a50b3fd/intermediate_source/inductor_debug_cpu.py#L22 https://github.com/pytorch/tutorials/blob/6f54c88d360297fb255eb31bdaf710cc9a50b3fd/intermediate_source/inductor_debug_cpu.py#L346 broken link URL: https://pytorch.org/docs/stable/dynamo/troubleshooting.html>

There is no tutorial that specifically talks about requires_grad, retain_grad, and leaf tensor/ non-leaf tensors and how they interact with each other. Can I write a tutorial specifically talking about...

tutorial-proposal

### 📚 The doc issue I am trying to follow https://pytorch.org/tutorials/recipes/torch_export_aoti_python.html but it seems it doesn't work on our nightly runtime images cause missing `CUDA_HOME`. ### Suggest a potential alternative/fix...

triaged