From 6229cdb1baa04cb6ea49023d79b1ab69af37cd37 Mon Sep 17 00:00:00 2001 From: Marc-Andre Ferland Date: Sat, 29 Oct 2022 17:47:45 -0400 Subject: [PATCH] Added a missing device_name --- ui/sd_internal/runtime.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/sd_internal/runtime.py b/ui/sd_internal/runtime.py index 1060889a..41673f12 100644 --- a/ui/sd_internal/runtime.py +++ b/ui/sd_internal/runtime.py @@ -183,6 +183,7 @@ def device_init(device_selection=None): return print('WARNING: No compatible GPU found. Using the CPU, but this will be very slow!') thread_data.device = 'cpu' + thread_data.device_name = get_processor_name() def is_first_cuda_device(device): if device is None: return False