mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
revert
This commit is contained in:
@@ -4810,8 +4810,8 @@ class WanLoraLoaderMixin(LoraBaseMixin):
|
||||
transformer: torch.nn.Module,
|
||||
state_dict,
|
||||
):
|
||||
if transformer.config.image_dim is None:
|
||||
return state_dict
|
||||
# if transformer.config.image_dim is None:
|
||||
# return state_dict
|
||||
|
||||
target_device = transformer.device
|
||||
|
||||
|
||||
Reference in New Issue
Block a user