Fix error with long prompts when controlnet used

This commit is contained in:
Sergey Borisov
2023-07-16 18:08:38 +03:00
committed by Kent Keirsey
parent 29afde7f6e
commit 6aefd8600a
5 changed files with 675 additions and 34 deletions

View File

@ -39,6 +39,7 @@ from .invocations.baseinvocation import BaseInvocation
import torch
import invokeai.backend.util.hotfixes
if torch.backends.mps.is_available():
import invokeai.backend.util.mps_fixes