TorchLean API

NN.Runtime.Autograd.Engine.LibTorch

LibTorch backend for eager execution #

This umbrella collects TorchLean's LibTorch adapter, currently targeting CUDA devices.

The modules separate native execution from the tape and proof-facing contracts:

The LibTorch bridge executes without recording a LibTorch autograd graph. TorchLean keeps tape traversal and selected local VJPs. Lean proves the pure specs and graph-level connections; runtime controls and tests do not prove the compiled native implementation.