pytorch/torchdynamo
A Python-level JIT compiler that dynamically optimizes unmodified PyTorch programs at runtime.

Velocity · 7d
+0.6
★ / day
Trend
→steady
star history
TorchDynamo is a Python-level JIT compiler designed to make unmodified PyTorch programs faster. It works by dynamically analyzing Python code as it executes and compiling optimized paths using graph compilation and optimizations. The project has been integrated directly into the main PyTorch repository as torch._dynamo, providing the underlying optimization engine for torch.compile.