TorchLean API

NN.Backend.Registry

Backend Registry #

Registry of backend capsules known to TorchLean's planner.

The default registry keeps TorchLean/native providers ahead of external providers. Optional external registries, such as LibTorch, are appended only when the caller explicitly enables that backend and chooses a trust policy that admits it.

Default capsules: cross-platform reference paths plus native CUDA paths.

Instances For

    Default capsules plus optional LibTorch providers.

    Instances For

      Select the registry used by an execution configuration.

      Instances For