Skip to content

Commit

Permalink
Fix FluxIPAdapterTesterMixin (#10354)
Browse files Browse the repository at this point in the history
  • Loading branch information
hlky authored Dec 23, 2024
1 parent c34fc34 commit 71cc201
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/diffusers/loaders/transformer_flux.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,5 @@ def _load_ip_adapter_weights(self, state_dicts, low_cpu_mem_usage=False):

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)

0 comments on commit 71cc201

Please sign in to comment.