Skip to content

Learn PyTorch

Learn to reason about tensors, shapes, memory and autograd. Start with the essentials and work toward writing efficient, reliable PyTorch code.

Practice with small, testable exercises. You will learn how to spot unwanted copies, trace gradients and measure performance on your own machine.

A learning path groups tracks in a recommended order. Start with the first track, or use the summaries below to choose a topic that builds on what you already know.

A place to begin

Orientation and the Grade

Open this track for its reading and exercises.

Explore first track

Completion counts solved exercises. Reading and knowledge checks are available for review. Sign in to save your progress.