mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-20 01:48:21 +02:00
Added a missing device_name
This commit is contained in:
parent
b7a663ed20
commit
6229cdb1ba
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user