TorchLean API

NN.Backend.Availability

Backend Availability #

Build-dependent availability for backend capsules.

KernelPolicy says which capsules selection may use. Availability says which devices and providers a build declares. CPU-only, CUDA, and optional LibTorch builds therefore share one semantic registry while exposing different capsule subsets to the planner. An availability declaration is not runtime discovery; executable paths still probe the linked runtime before launching work.

Devices and providers declared available to backend planning.

Instances For

    Whether a capsule can even be considered on this build.

    Instances For

      Keep only capsules available on this build.

      Instances For

        CPU/reference-only availability.

        Instances For

          CUDA availability with the native provider and, optionally, LibTorch.

          Instances For