Skip to content

Commit

Permalink
Fix typo for auto_detect_ep function (#40)
Browse files Browse the repository at this point in the history
## Type of Change

bug fix

---------

Signed-off-by: Wang, Mengni <[email protected]>
  • Loading branch information
mengniwang95 authored Nov 18, 2024
1 parent aabbf96 commit 3dd43d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion onnx_neural_compressor/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def auto_detect_ep():
if "DnnlExecutionProvider" in eps:
return "DnnlExecutionProvider"
elif "DmlExecutionProvider" in eps:
return "DnnlExecutionProvider"
return "DmlExecutionProvider"
elif "CUDAExecutionProvider" in eps:
return "CUDAExecutionProvider"
else:
Expand Down
2 changes: 1 addition & 1 deletion test/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
optimum
pytest
torch
torch < 2.5.0

0 comments on commit 3dd43d3

Please sign in to comment.