mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
add no_grad() to compel node invoke() method
This commit is contained in:
parent
6935858ef3
commit
fa8ccd2a94
@ -56,6 +56,7 @@ class CompelInvocation(BaseInvocation):
|
||||
},
|
||||
}
|
||||
|
||||
@torch.no_grad()
|
||||
def invoke(self, context: InvocationContext) -> CompelOutput:
|
||||
|
||||
tokenizer_info = context.services.model_manager.get_model(
|
||||
|
Loading…
Reference in New Issue
Block a user