Skip to main content

Module reason

Module reason 

Source
Expand description

Stable machine-readable reason codes. Clients may switch on these; the human detail string beside them is free-form and may be reworded at any time.

Constants§

AVAILABLE
The capability is present and usable.
CPU_ONLY
No GPU backend is usable; work runs on CPU kernels.
CUDA_NOT_BUILT
This binary was compiled without --features cuda.
CUDA_UNAVAILABLE
Built with CUDA support, but no CUDA device was found.
DETECTING
Backend probing is still in flight; nothing beside this reason is a measurement yet.
DETECTION_TIMED_OUT
Backend probing did not finish inside its budget, so the answer beside this reason is provisional and may improve.
DISABLED
Supported by this build and this host, but switched off by configuration – the fix is a flag, not new hardware.
METAL_NOT_BUILT
This binary was compiled without --features metal.
METAL_UNAVAILABLE
Built with Metal support, but no usable Metal device was found.
MODEL_NOT_LOADED
No model is loaded, so generation endpoints will fail.