Skip to contents

Returns the execution providers compiled into the ONNX Runtime library that pliman loads for engine (for example "DmlExecutionProvider", "CUDAExecutionProvider", "CPUExecutionProvider"). A provider being listed means the library supports it; it can still fail to start if the matching drivers or libraries are missing, in which case pliman falls back as described in pliman_gpu_provider().

Usage

onnx_available_providers(engine = c("gpu", "cpu"))

Arguments

engine

"gpu" (default) or "cpu": which library to query.

Value

A character vector of provider names.

Examples

if (FALSE) { # interactive()
onnx_available_providers()
}