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
71cc2013
Unverified
Commit
71cc2013
authored
Dec 23, 2024
by
hlky
Committed by
GitHub
Dec 23, 2024
Browse files
Fix FluxIPAdapterTesterMixin (#10354)
parent
c34fc345
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/diffusers/loaders/transformer_flux.py
src/diffusers/loaders/transformer_flux.py
+2
-0
No files found.
src/diffusers/loaders/transformer_flux.py
View file @
71cc2013
...
...
@@ -177,3 +177,5 @@ class FluxTransformer2DLoadersMixin:
self
.
encoder_hid_proj
=
MultiIPAdapterImageProjection
(
image_projection_layers
)
self
.
config
.
encoder_hid_dim_type
=
"ip_image_proj"
self
.
to
(
dtype
=
self
.
dtype
,
device
=
self
.
device
)
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