TorchLean API

NN.Runtime.Autograd.Compiled

Compiled Autograd Runtime #

This is the runtime umbrella for TorchLean's compiled execution path.

The compiled path is the middle layer between:

It has three pieces:

Correctness proofs for the IR bridge live under NN.Runtime.Autograd.Compiled.IRExec.Correctness. They are intentionally kept in their own umbrella so ordinary runtime imports do not have to elaborate the full semantic-equivalence proof.

Trust Boundary #

IRExec compiles forward semantics. Its generated node payloads intentionally use sentinel JVP/VJP implementations, so training-style gradients should continue to use the autograd-capable GraphM / TorchLean compiled backend rather than the shared-IR execution bridge.