When using the openvino backend, do not look for an nvidia gpu.

This commit is contained in:
chrismuzyn
2025-05-12 19:14:26 -04:00
parent 62da781959
commit 299d189276
+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':