mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Print out the device type which is used
Print out the device type which is used for generating images.
This commit is contained in:
parent
c82e94811b
commit
057fc95aa3
@ -172,6 +172,7 @@ class Generate:
|
||||
# device to Generate(). However the device was then ignored, so
|
||||
# it wasn't actually doing anything. This logic could be reinstated.
|
||||
device_type = choose_torch_device()
|
||||
print(f'>> Using device_type {device_type}')
|
||||
self.device = torch.device(device_type)
|
||||
if full_precision:
|
||||
if self.precision != 'auto':
|
||||
|
Loading…
x
Reference in New Issue
Block a user