Skip to contents

Explicitly downloads the native ONNX Runtime used by the CRAN package `onnxr`. This is never called during package installation or loading.

Usage

install_runtime(cuda = NULL)

Arguments

cuda

Passed to [onnxr::onnx_install()]. Use `FALSE` for the portable CPU runtime, `TRUE` to request CUDA on supported systems, or `NULL` for automatic detection.

Value

The result returned by [onnxr::onnx_install()], invisibly.

Examples

if (FALSE) { # \dontrun{
install_runtime()
} # }