TorchLean API

NN.Backend.Availability

Backend Availability #

Machine- and build-dependent availability for backend capsules.

ExecutionConfig says what a run is allowed to use. Availability says what this checkout/machine can actually provide. Keeping those separate is the cross-platform story: CPU-only builds, CUDA builds, and optional LibTorch builds all use the same semantic registry, but expose different available capsule subsets to the planner.

Runtime/build capabilities visible to backend planning.

Instances For

    Whether a device is available on this machine/build.

    Instances For

      Whether a provider is available.

      Instances For

        Whether a capsule can even be considered on this machine/build.

        Instances For

          Keep only capsules available on this machine/build.

          Instances For

            CPU/reference-only availability.

            Instances For

              CUDA availability without optional external providers.

              Instances For

                CUDA availability with optional LibTorch enabled and installed.

                Instances For