mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
When using the openvino backend, do not look for an nvidia gpu.
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user