We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60d7385 commit 26c33efCopy full SHA for 26c33ef
src/diffusers/pipelines/chroma/pipeline_chroma.py
@@ -233,7 +233,6 @@ def _get_t5_prompt_embeds(
233
)
234
text_input_ids = text_inputs.input_ids
235
attention_mask = text_inputs.attention_mask.clone()
236
- attention_mask = attention_mask.bool()
237
238
# Chroma requires the attention mask to include one padding token
239
seq_lengths = attention_mask.sum(dim=1)
0 commit comments