tutorials
tutorials copied to clipboard
PyTorch tutorials.
### 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",...
### 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...
- 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 ##...
### 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  `os` package is not imported insert `import os` in the first line ### Describe your environment . cc @wconstab @osalpekar...
### 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...
## 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...
- Add a Compiler category in left nav and torch.compile tutorials there - Ad Compiler tag to relevant tutorials
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 .