mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-04-28 10:11:42 +00:00
Cleanup
This commit is contained in:
@@ -214,8 +214,6 @@ class LLLiteModule(torch.nn.Module):
|
|||||||
|
|
||||||
if self.cond_emb is None:
|
if self.cond_emb is None:
|
||||||
# print(f"cond_emb is None, {self.name}")
|
# print(f"cond_emb is None, {self.name}")
|
||||||
# test bad idea
|
|
||||||
#self.cond_image = self.cond_image.view(dtype=x.dtype)
|
|
||||||
cx = self.conditioning1(self.cond_image.to(x.device, dtype=x.dtype))
|
cx = self.conditioning1(self.cond_image.to(x.device, dtype=x.dtype))
|
||||||
if not self.is_conv2d:
|
if not self.is_conv2d:
|
||||||
# reshape / b,c,h,w -> b,h*w,c
|
# reshape / b,c,h,w -> b,h*w,c
|
||||||
|
|||||||
Reference in New Issue
Block a user