mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
print GPU device at startup
This commit is contained in:
parent
5de820f2dc
commit
1cf61feead
@ -168,6 +168,8 @@ class ModelManagerService(ModelManagerServiceBase):
|
|||||||
logger.debug(f'config file={config_file}')
|
logger.debug(f'config file={config_file}')
|
||||||
|
|
||||||
device = torch.device(choose_torch_device())
|
device = torch.device(choose_torch_device())
|
||||||
|
logger.debug(f'GPU device = {device}')
|
||||||
|
|
||||||
precision = config.precision
|
precision = config.precision
|
||||||
if precision == "auto":
|
if precision == "auto":
|
||||||
precision = choose_precision(device)
|
precision = choose_precision(device)
|
||||||
|
Loading…
Reference in New Issue
Block a user