mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user