Skip to content

Commit

Permalink
More debug printing
Browse files Browse the repository at this point in the history
  • Loading branch information
gpetters94 committed Sep 11, 2023
1 parent 479f5f6 commit eebc27f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ def encode_prompts_weight(
"the batch size of `prompt`."
)

print("PROMPT: " + str(prompt))
text_embeddings, uncond_embeddings = get_weighted_text_embeddings(
pipe=self,
prompt=prompt,
Expand All @@ -455,6 +456,7 @@ def encode_prompts_weight(
else None,
max_embeddings_multiples=max_embeddings_multiples,
)
print("EMBEDDINGS: " + str(text_embeddings))
# SHARK: we are not using num_images_per_prompt
# bs_embed, seq_len, _ = text_embeddings.shape
# text_embeddings = text_embeddings.repeat(
Expand Down

0 comments on commit eebc27f

Please sign in to comment.