From 7eef8c972fe2a22af4f4be12607cdd41792a87d7 Mon Sep 17 00:00:00 2001 From: Extraltodeus Date: Wed, 27 Mar 2024 06:53:11 +0100 Subject: [PATCH] Update nodes.py --- nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes.py b/nodes.py index 378f827..8f87cb9 100644 --- a/nodes.py +++ b/nodes.py @@ -87,7 +87,7 @@ class advancedDynamicCFG: uncond_pred = args["uncond_denoised"] if lerp_uncond: uncond_pred = torch.lerp(cond_pred,uncond_pred,lerp_uncond_strength) - uncond_pred = uncond_pred * cond_pred.norm() / uncond_pred.norm() + # uncond_pred = uncond_pred * cond_pred.norm() / uncond_pred.norm() cond = input_x - cond_pred uncond = input_x - uncond_pred sigma = args["sigma"][0]