mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Merge branch 'main' into lstein-import-safetensors
This commit is contained in:
@ -349,7 +349,7 @@ class ModelManager(object):
|
||||
|
||||
if self.precision == 'float16':
|
||||
print(' | Using faster float16 precision')
|
||||
model.to(torch.float16)
|
||||
model = model.to(torch.float16)
|
||||
else:
|
||||
print(' | Using more accurate float32 precision')
|
||||
|
||||
@ -761,7 +761,7 @@ class ModelManager(object):
|
||||
for model in legacy_locations:
|
||||
source = models_dir /model
|
||||
if source.exists():
|
||||
print(f'DEBUG: Moving {models_dir / model} into hub')
|
||||
print(f'** Moving {models_dir / model} into hub')
|
||||
move(models_dir / model, hub)
|
||||
|
||||
# anything else gets moved into the diffusers directory
|
||||
|
Reference in New Issue
Block a user