Merge pull request #3933 from vladmandic/master

OpenVINO force device
This commit is contained in:
Disty0
2025-05-13 03:30:33 +03:00
committed by GitHub
+2
View File
@@ -183,6 +183,8 @@ def get_cuda_device_string():
def get_optimal_device_name():
if backend == 'openvino':
return "cpu"
if cuda_ok or backend == 'directml':
return get_cuda_device_string()
if has_mps() and backend != 'openvino':