1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Fix FluxIPAdapterTesterMixin (#10354)

This commit is contained in:
hlky
2024-12-23 08:50:06 +00:00
committed by GitHub
parent c34fc34563
commit 71cc2013fe

View File

@@ -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)