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

### Add Link [advanced_source/semi_structured_sparse.py](https://pytorch.org/tutorials/advanced/semi_structured_sparse.html) ### Describe the bug The tutorials are failing with the following error: ``` Traceback (most recent call last): File "/var/lib/workspace/advanced_source/semi_structured_sparse.py", line 451, in trainer.train() File "/usr/local/lib/python3.10/dist-packages/transformers/trainer.py",...

bug
2.7

### Add Link https://pytorch.org/tutorials/intermediate/pinmem_nonblock.html ### Describe the bug Tutorial failing with the following error: ``` Unexpected failing examples: /var/lib/workspace/intermediate_source/pinmem_nonblock.py failed leaving traceback: Traceback (most recent call last): File "/var/lib/workspace/intermediate_source/pinmem_nonblock.py", line...

bug
rl
2.7

- the final model structure uses 3 channel input. - no data transformation was done to transform input images from 3 channel (RGB) to 1 channel (Grayscale). Fixes #ISSUE_NUMBER ##...

cla signed
intro
core
stale

### Add Link https://github.com/pytorch/tutorials/blob/main/intermediate_source/ddp_tutorial.rst#initialize-ddp-with-torchdistributedruntorchrun ### Describe the bug https://github.com/pytorch/tutorials/blob/main/intermediate_source/ddp_tutorial.rst#initialize-ddp-with-torchdistributedruntorchrun ![Image](https://github.com/user-attachments/assets/be7653dc-5584-4189-a4b9-06299cb9a4d3) `os` package is not imported insert `import os` in the first line ### Describe your environment . cc @wconstab @osalpekar...

bug
distributed

### Add Link Link to the tutorial on the website - https://pytorch.org/tutorials/beginner/basics/quickstart_tutorial.html#creating-models ### Describe the bug Below piece of code is returning `device = torch.accelerator.current_accelerator().type if torch.accelerator.is_available() else "cpu" print(f"Using...

bug
intro
core

## Description Updating blitz README.txt file link 3 formatting. The link is currently valid, but displays differently than the other links due to the trailing '#' character. ![Screenshot 2025-03-06 8...

## Description `sin_triton` is not defined but not used in the tutorial. The tutorial uses `mysin` to launch the triton kernel for torch tensors. ## Checklist - [x] The issue...

cla signed

- Add a Compiler category in left nav and torch.compile tutorials there - Ad Compiler tag to relevant tutorials

cla signed
no-stale

Thanks for the [article](https://github.com/pytorch/tutorials/blob/main/intermediate_source/TCPStore_libuv_backend.rst). Wondering if you can provide some details about the content of the TCPStore and what is its role in c10d .