mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
Update onnxruntime package candidates (#2666)
* update import onnxruntime package, enable onnxruntime-rocm and onnxruntime-training * add ort_nightly_gpu
This commit is contained in:
@@ -153,9 +153,12 @@ if _onnx_available:
|
||||
candidates = (
|
||||
"onnxruntime",
|
||||
"onnxruntime-gpu",
|
||||
"ort_nightly_gpu",
|
||||
"onnxruntime-directml",
|
||||
"onnxruntime-openvino",
|
||||
"ort_nightly_directml",
|
||||
"onnxruntime-rocm",
|
||||
"onnxruntime-training",
|
||||
)
|
||||
_onnxruntime_version = None
|
||||
# For the metadata, we have to look for both onnxruntime and onnxruntime-gpu
|
||||
|
||||
Reference in New Issue
Block a user