Update onnxruntime (second try)
This commit is contained in:
parent
4bffa0d183
commit
f89398d686
@ -37,7 +37,7 @@ def create_execution_providers(execution_device_id : str, execution_provider_key
|
||||
execution_providers.append((execution_provider_set.get(execution_provider_key),
|
||||
{
|
||||
'device_id': execution_device_id,
|
||||
'cudnn_conv_algo_search': 'EXHAUSTIVE' if use_exhaustive() else 'DEFAULT'
|
||||
'cudnn_conv_algo_search': 'EXHAUSTIVE' if use_exhaustive() else 'HEURISTIC'
|
||||
}))
|
||||
if execution_provider_key == 'tensorrt':
|
||||
execution_providers.append((execution_provider_set.get(execution_provider_key),
|
||||
|
@ -13,10 +13,10 @@ from facefusion.common_helper import is_linux, is_macos, is_windows
|
||||
ONNXRUNTIMES : Dict[str, Tuple[str, str]] = {}
|
||||
|
||||
if is_macos():
|
||||
ONNXRUNTIMES['default'] = ('onnxruntime', '1.19.2')
|
||||
ONNXRUNTIMES['default'] = ('onnxruntime', '1.20.0')
|
||||
else:
|
||||
ONNXRUNTIMES['default'] = ('onnxruntime', '1.19.2')
|
||||
ONNXRUNTIMES['cuda'] = ('onnxruntime-gpu', '1.19.2')
|
||||
ONNXRUNTIMES['default'] = ('onnxruntime', '1.20.0')
|
||||
ONNXRUNTIMES['cuda'] = ('onnxruntime-gpu', '1.20.0')
|
||||
ONNXRUNTIMES['openvino'] = ('onnxruntime-openvino', '1.19.0')
|
||||
if is_linux():
|
||||
ONNXRUNTIMES['rocm'] = ('onnxruntime-rocm', '1.18.0')
|
||||
|
@ -3,7 +3,7 @@ gradio==5.4.0
|
||||
gradio-rangeslider==0.0.8
|
||||
numpy==2.1.2
|
||||
onnx==1.17.0
|
||||
onnxruntime==1.19.2
|
||||
onnxruntime==1.20.0
|
||||
opencv-python==4.10.0.84
|
||||
psutil==6.1.0
|
||||
tqdm==4.66.6
|
||||
|
Loading…
Reference in New Issue
Block a user