mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix error with long prompts when controlnet used
This commit is contained in:
committed by
Kent Keirsey
parent
29afde7f6e
commit
6aefd8600a
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user