fix perlin noise and txt2img2img

This commit is contained in:
Lincoln Stein
2023-01-16 22:50:13 -05:00
parent 7e8f364d8d
commit ce00c9856f
4 changed files with 12 additions and 7 deletions

View File

@ -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')