We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05f49e6 commit 44e3847Copy full SHA for 44e3847
src/diffusers/loaders/transformers_sd3.py
@@ -84,6 +84,6 @@ def _load_ip_adapter_weights(self, state_dict: Dict, low_cpu_mem_usage: bool = _
84
).to(device=self.device, dtype=self.dtype)
85
86
if not low_cpu_mem_usage:
87
- self.image_proj.load_state_dict(state_dict, strict=True)
+ self.image_proj.load_state_dict(state_dict["image_proj"], strict=True)
88
else:
89
- load_model_dict_into_meta(self.image_proj, state_dict, device=self.device, dtype=self.dtype)
+ load_model_dict_into_meta(self.image_proj, state_dict["image_proj"], device=self.device, dtype=self.dtype)
0 commit comments