Skip to main content

execution_providers

Function execution_providers 

Source
pub(super) fn execution_providers(
    cache_dir: &Path,
) -> Vec<ExecutionProviderDispatch>
Expand description

Returns the execution providers to use for this platform.

On macOS: uses the CoreML EP with MLProgram format and FastPrediction specialisation strategy (overridable via BGE_M3_COREML_STRATEGY=default). On all other platforms: returns an empty list, so ORT falls back to MLAS (CPU).