-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
2. Acceleration
Henry Ruhs edited this page Jul 4, 2023
·
18 revisions
-
Install CUDA Toolkit 11.8
-
Install dependencies:
pip uninstall onnxruntime onnxruntime-gpu
pip install onnxruntime-gpu==1.15.0
- Usage in case the provider is available:
python run.py --execution-provider cuda
- Install dependencies:
pip uninstall onnxruntime onnxruntime-silicon
pip install onnxruntime-silicon==1.13.1
- Usage in case the provider is available:
python run.py --execution-provider coreml
- Install dependencies:
pip uninstall onnxruntime onnxruntime-directml
pip install onnxruntime-directml
- Install dependencies:
pip uninstall onnxruntime onnxruntime-openvino
pip install onnxruntime-openvino==1.15.0
- Usage in case the provider is available:
python run.py --execution-provider openvino
-
Build and install custom wheels from the onnxruntime source.
-
Usage in case the provider is available:
python run.py --execution-provider rocm