mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
Update transformer_flux.py (#9060)
This commit is contained in:
committed by
GitHub
parent
b1f43d7189
commit
a054c78495
@@ -373,7 +373,6 @@ class FluxTransformer2DModel(ModelMixin, ConfigMixin, PeftAdapterMixin):
|
||||
)
|
||||
encoder_hidden_states = self.context_embedder(encoder_hidden_states)
|
||||
|
||||
print(f"{txt_ids.shape=}, {img_ids.shape=}")
|
||||
ids = torch.cat((txt_ids, img_ids), dim=1)
|
||||
image_rotary_emb = self.pos_embed(ids)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user