PyTorch at the Middle level
The skills of this level in learning order. Mark the ones you know on the check page to see your own level.
Middle · 5 skills
-
Custom PyTorch Modules and Losses
Composable nn.Module design, parameters and buffers, forward hooks, weight initialization, custom losses and torch.autograd.Function
-
PyTorch GPU Training Performance
Mixed precision with autocast and bfloat16, torch.profiler, DataLoader workers and pinned memory, activation checkpointing and gradient accumulation
-
Compiling Models with torch.compile
TorchDynamo and TorchInductor, graph breaks and recompilations, compile modes, dynamic shapes and debugging with TORCH_LOGS
-
PyTorch Distributed Data Parallel
Launching with torchrun, DistributedDataParallel, DistributedSampler, NCCL process groups, multi-node jobs and rank-aware checkpointing
-
PyTorch Model Optimization
Model optimization, quantization, and ONNX export