Apply denoising_start/end, add torch-sdp to memory effictiend attention func

This commit is contained in:
Sergey Borisov
2023-08-07 19:57:11 +03:00
parent b0738b7f70
commit 2539e26c18
3 changed files with 88 additions and 45 deletions

View File

@ -320,8 +320,6 @@ class SDXLCompelPromptInvocation(BaseInvocation, SDXLPromptInvocationBase):
else:
c2, c2_pooled, ec2 = self.run_clip_compel(context, self.clip2, self.style, True, "lora_te2_", zero_on_empty=True)
print(f"{c1.shape=} {c2.shape=} {c2_pooled.shape=} {self.prompt=}")
original_size = (self.original_height, self.original_width)
crop_coords = (self.crop_top, self.crop_left)
target_size = (self.target_height, self.target_width)