mcframework.benchmark.default_backends#
- mcframework.benchmark.default_backends(*, include_torch: bool = True, include_mps: bool = True, include_cuda: bool = False) list[BackendSpec][source]#
Build the device-aware default backend matrix.
The CPU backends are always included. Torch backends are added only when their device is actually available, so a run never advertises a backend it cannot execute.
- Parameters:
- include_torch
bool, defaultTrue Include the Torch CPU backend when Torch is installed.
- include_mps
bool, defaultTrue Include the Apple-Silicon MPS backend when MPS is available.
- include_cuda
bool, defaultFalse Include the NVIDIA CUDA backend when CUDA is available. Off by default; CUDA support is the next milestone.
- include_torch
- Returns: