Quick-guide directory
PyTorch quick guides
Six connected summaries of the concepts, functions and decisions across all three PyTorch courses. Choose a topic below for a short review.
New to PyTorch? Read 1 → 2 → 3 → 4 → 5 → 6. Returning to one topic? Go straight to its guide for the main ideas, useful functions and common mistakes.
Choose a topic
Tensors and the training loop
Read tensor shapes, follow a batch through learning, understand ReLU and CNNs, and validate without updating the model.
Read quick guide →02 · Course 2 training toolsMetrics, tuning and efficiency
Compare experiments fairly, schedule the learning rate, find slow steps, and reduce memory use.
Read quick guide →03 · Course 2 image workflowsImages and pretrained models
Choose transforms and noise, read model outputs, and adapt pretrained features to a new set of classes.
Read quick guide →04 · Course 2 text workflowsTokens and text classifiers
Turn different-length sentences into batches, pool embeddings, and decide when a contextual model is useful.
Read quick guide →05 · Course 3Advanced architectures and attention
Choose how information flows: reusable image features, interpretable CNN outputs, generated images and contextual token representations.
Read quick guide →06 · Course 3Save, compress and deploy models
Keep the right model state, reuse components, and prepare predictions for a CPU or another compatible runtime.
Read quick guide →