🎓 A1Learner
🔍

Home / PyTorch Advanced

PyTorch Advanced

Worked by hand: custom autograd and gradcheck, attention and transformers, distributions, VAEs, GANs and diffusion, export and quantization, FX graphs, distributed honestly and distillation — ending in an export capstone. Builds on PyTorch Intermediate.

Start learning ❯❯71 lessons · 17 topics · 0/71 completed

Course contents

Work top to bottom — the sidebar is the course. Topics later in the list assume the ones before them.

PyTorch Advanced Intro

Advanced · ⏱ 8 min · standalone lesson

Autograd in Depth

Start: PyTorch Custom Autograd Functions ❯

Attention from Scratch

Start: PyTorch Why Attention ❯

Transformer Blocks

Start: PyTorch Positional Encoding ❯

Custom Modules

Start: PyTorch Writing a Custom Layer ❯

Distributions and Sampling

Start: PyTorch torch.distributions ❯

Generative Models — VAE

Start: PyTorch Autoencoder Basics ❯

Generative Models — GAN and Diffusion

Start: PyTorch The GAN Idea ❯

Optimizer Maths

Start: PyTorch What Adam Remembers ❯

Export and Deployment

Start: PyTorch TorchScript Tracing ❯

Performance on CPU

Start: PyTorch Benchmarking Honestly ❯

Graph Mode with FX

Start: PyTorch FX Symbolic Tracing ❯

Distributed, Honestly

Start: PyTorch Why Distributed ❯

Knowledge Distillation

Start: PyTorch The Teacher–Student Idea ❯

Robustness

Start: PyTorch Adversarial Examples (FGSM) ❯

Advanced Training Patterns

Start: PyTorch EMA of Weights ❯

PyTorch Advanced Capstone

Advanced · ⏱ 12 min · standalone lesson