Skip to content

Commit

Permalink
Allow using SD3 type te output on flux model.
Browse files Browse the repository at this point in the history
  • Loading branch information
comfyanonymous committed Oct 3, 2024
1 parent abcd006 commit d854ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comfy/ldm/flux/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def forward_orig(
raise ValueError("Didn't get guidance strength for guidance distilled model.")
vec = vec + self.guidance_in(timestep_embedding(guidance, 256).to(img.dtype))

vec = vec + self.vector_in(y)
vec = vec + self.vector_in(y[:,:self.params.vec_in_dim])
txt = self.txt_in(txt)

ids = torch.cat((txt_ids, img_ids), dim=1)
Expand Down

0 comments on commit d854ed0

Please sign in to comment.