Note
Go to the end to download the full example code.
Introduction || Tensors || Autograd || Building Models || TensorBoard Support || Training Models || Model Understanding
Introduction to PyTorch - YouTube Series#
Created On: Nov 04, 2024 | Last Updated: Mar 17, 2025 | Last Verified: Nov 05, 2024
Authors: Brad Heintz
This tutorial follows along with the PyTorch Beginner Series on YouTube.
This tutorial assumes a basic familiarity with Python and Deep Learning concepts.
Running the Tutorial Code#
You can run this tutorial in a couple of ways:
On the cloud: This is the easiest way to get started! Each section has a Colab link at the top, which opens a notebook with the code in a fully-hosted environment. Pro tip: Use Colab with a GPU runtime to speed up operations Runtime > Change runtime type > GPU
Locally: This option requires you to set up PyTorch and torchvision on your local machine (installation instructions). Download the notebook or copy the code into your favorite IDE.