Core concept

Modes: default, reduce-overhead, max-autotune. Each trades compile time vs runtime perf.

Advertisement

How it works

Compile time slow. Dynamic shapes challenging. Some Python patterns break tracing.

Advertisement

Trade-offs + gotchas

Training + inference speedup 30-100% typical. Standard for new PyTorch code.