-
-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): Support GPU acceleration via ONNX Runtime DirectML on Wind…
…ows (#176) * feat(cli): Support GPU acceleration via ONNX Runtime DirectML on Windows This commit adds support for GPU acceleration in the CLI using ONNX Runtime DirectML. This allows users with compatible GPUs on Windows to leverage their hardware for faster inference. * fix small bug
- Loading branch information
Showing
2 changed files
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
pyclipper>=1.2.0 | ||
onnxruntime>=1.7.0 | ||
opencv_python>=4.5.1.48 | ||
numpy>=1.19.5 | ||
six>=1.15.0 | ||
Shapely>=1.7.1 | ||
PyYAML | ||
Pillow | ||
# install the onnxruntime-directml if on windows platform, notice that the onnxruntime-directml is conflict with onnxruntime, we can only install one of them | ||
onnxruntime-directml;platform_system=="Windows" | ||
onnxruntime>=1.7.0;platform_system!="Windows" |