From b79740d61d1dddf801e1a1c757a206314cf8d8ea Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Sun, 2 Jul 2023 23:03:24 -0400 Subject: [PATCH] back out torch.no_grad() --- invokeai/app/invocations/compel.py | 1 - invokeai/version/invokeai_version.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/invokeai/app/invocations/compel.py b/invokeai/app/invocations/compel.py index 35499014fd..8c6b23944c 100644 --- a/invokeai/app/invocations/compel.py +++ b/invokeai/app/invocations/compel.py @@ -56,7 +56,6 @@ class CompelInvocation(BaseInvocation): }, } - @torch.no_grad() def invoke(self, context: InvocationContext) -> CompelOutput: tokenizer_info = context.services.model_manager.get_model( diff --git a/invokeai/version/invokeai_version.py b/invokeai/version/invokeai_version.py index 6646528ced..64532d14da 100644 --- a/invokeai/version/invokeai_version.py +++ b/invokeai/version/invokeai_version.py @@ -1 +1 @@ -__version__ = "3.0.0+a5" +__version__ = "3.0.0+a6"