-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
2. Acceleration
Henry Ruhs edited this page Jun 21, 2023
·
18 revisions
- 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
- 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
- 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
-
Build custom wheels from the onnxruntime source.
-
Install the custom wheels.
-
Usage in case the provider is available:
python run.py --execution-provider rocm