PyTorch logo

Anatomy of torch.compile, Part 1: TorchDynamo, AOTAutograd, TorchInductor

We take torch.compile apart into its three components — TorchDynamo, AOTAutograd, and TorchInductor — and walk through what each one takes in, what it hands back, and how it actually works.

August 4, 2026 · 12 min · 2389 words