Skip to content

2. Acceleration

Henry Ruhs edited this page Jun 21, 2023 · 18 revisions

CUDA Execution Provider (Nvidia)

Uninstall dependencies:

pip uninstall onnxruntime onnxruntime-gpu

Install dependencies:

pip install onnxruntime onnxruntime-gpu

Usage in case the provider is available:

python run.py --execution-provider cuda

CoreML Execution Provider (Apple)

Uninstall dependencies:

pip uninstall onnxruntime onnxruntime-silicon

Install dependencies:

pip install onnxruntime onnxruntime-silicon

Usage in case the provider is available:

python run.py --execution-provider coreml

OpenVINO™ Execution Provider (Intel)

Uninstall dependencies:

pip uninstall onnxruntime onnxruntime-openvino

Install dependencies:

pip install onnxruntime onnxruntime-openvino

Usage in case the provider is available:

python run.py --execution-provider openvino
Clone this wiki locally