Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
a054c784
Unverified
Commit
a054c784
authored
Aug 03, 2024
by
Frank (Haofan) Wang
Committed by
GitHub
Aug 03, 2024
Browse files
Update transformer_flux.py (#9060)
parent
b1f43d71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
src/diffusers/models/transformers/transformer_flux.py
src/diffusers/models/transformers/transformer_flux.py
+0
-1
No files found.
src/diffusers/models/transformers/transformer_flux.py
View file @
a054c784
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment