mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-12 11:46:37 +08:00
Rollback minor change
This commit is contained in:
parent
b6ad02282a
commit
7e7e40f7e3
@ -133,9 +133,9 @@ class Flux(nn.Module):
|
||||
if self.params.guidance_embed:
|
||||
if guidance is None:
|
||||
raise ValueError("Didn't get guidance strength for guidance distilled model.")
|
||||
vec.add_(self.guidance_in(timestep_embedding(guidance, 256).to(img.dtype)))
|
||||
vec = vec + self.guidance_in(timestep_embedding(guidance, 256).to(img.dtype))
|
||||
|
||||
vec.add_(self.vector_in(y))
|
||||
vec = vec + self.vector_in(y)
|
||||
txt = self.txt_in(txt)
|
||||
|
||||
ids = torch.cat((txt_ids, img_ids), dim=1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user