Research questionHow can PyTorch 2 programs avoid graph breaks without manual refactoring?Graph breaks interrupt FX graph compilation and send execution back to Python eager mode, causing CPU-GPU synchronization and reducing optimization opportunities. Developers therefore face performance costs or must refactor otherwise valid model code.