Skip to content

Commit

Permalink
Add support for onnxruntime-directml in import utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
kazssym committed Feb 2, 2025
1 parent e6d15fe commit 66ed0ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions optimum/utils/import_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ def _is_package_available(
"onnxruntime-migraphx",
"ort-migraphx-nightly",
"ort-rocm-nightly",
# For DirectML
"onnxruntime-directml",
],
)
_tf_available, _tf_version = _is_package_available(
Expand Down

0 comments on commit 66ed0ff

Please sign in to comment.