tutorials
tutorials copied to clipboard
PyTorch tutorials.
### Add Link https://pytorch.org/tutorials/beginner/introyt/tensors_deeper_tutorial.html ### Describe the bug  ``` /var/lib/workspace/beginner_source/introyt/tensors_deeper_tutorial.py:462: UserWarning: Using torch.cross without specifying the dim arg is deprecated. Please either pass the dim explicitly or simply use...
Fixes #2858 ## Description Based on the discussion on #2858 I added a few examples on how to use `torch.compile` in nested modules and functions. Also, I added a few...
### Add Link https://pytorch.org/tutorials/beginner/text_sentiment_ngrams_tutorial.html ### Describe the bug Running the text classification tutorial line by line results in the following: /pytorch/aten/src/ATen/native/cuda/Loss.cu:247: nll_loss_forward_reduce_cuda_kernel_2d: block: [0,0,0], thread: [0,0,0] Assertion `t >= 0...
### Add Link https://github.com/pytorch/tutorials/blob/main/intermediate_source/TP_tutorial.rst#how-to-apply-tensor-parallel ### Describe the bug Hi, in this tutorial, there is an example command suggested to run the tutorial code. However, as of today, `tp_tutorial.py` file does...
Fixes #2924 Re-implements #2914 (accidental deletion from forked repo) ## Description New beginner recipe on how to access model parameters, collect trainable parameters, and use `torchinfo.summary()` - How to inspect...
## Description `batch_size` is not currently exposed as `train_loop()` parameter - Re-implements #2920 (accidental deletion from forked repo) ## Checklist - [X] The issue that is being fixed is referred...
Fixes #2917 Re-implements #2927 (accidental removal from forked repo) ## Description ## Checklist - [X] The issue that is being fixed is referred in the description (see above "Fixes #ISSUE_NUMBER")...
Fixes #2926 Replaces #2923 (accidental deletion) ## Description New recipe tutorial on how to calculate layer output dimensions - How to transition from convolution and pooling layers to linear layers...
Fixes #2925 Re-implements #2921 (accidental deletion from forked repo) ## Description New recipe tutorial on how to implement a keras progress bar in the training/test loop - How to implement...
### Add Link https://pytorch.org/tutorials/intermediate/torch_export_tutorial.html ### Describe the bug ## The [intermediate_source/torch_export_tutorial.py](https://github.com/pytorch/tutorials/blob/main/intermediate_source/torch_export_tutorial.py) is failing with the following error message: ``` Unexpected failing examples: 2024-06-17T23:56:15.4845763Z /var/lib/workspace/intermediate_source/torch_export_tutorial.py failed leaving traceback: 2024-06-17T23:56:15.4846533Z Traceback (most...