1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00
This commit is contained in:
DN6
2025-06-10 23:51:08 +05:30
parent c5c7588648
commit 7787ec11c8

View File

@@ -263,8 +263,7 @@ class FluxPipeline(
)
prompt_embeds = self.text_encoder_2(
text_input_ids.to(device),
output_hidden_states=False,
text_input_ids.to(device), output_hidden_states=False, attention_mask=text_inputs.attention_mask.to(device)
)[0]
dtype = self.text_encoder_2.dtype