Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ikalinic committed Dec 19, 2024
1 parent 9a9a849 commit 542805a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/diffusion/python_stable_diffusion_3/txt2img.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ def get_embeddings(self, prompt_tokens):
# stable-diffusion-3-lite-onnx has swapped outputs for clip-l text encoder
if l_out.shape != (1, 77, 768):
l_out, l_pooled = l_pooled, l_out

g_out, g_pooled = self.encode_token_weights("clip-g",
prompt_tokens["g"])
if not self.skip_t5:
Expand Down

0 comments on commit 542805a

Please sign in to comment.