Skip to content

Commit 6720c51

Browse files
danhipkeDN6
andauthored
Update src/diffusers/loaders/single_file_model.py
Co-authored-by: Dhruv Nair <[email protected]>
1 parent a6e3745 commit 6720c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/loaders/single_file_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def from_single_file(cls, pretrained_model_link_or_path_or_dict: Optional[str] =
362362

363363
else:
364364
_, unexpected_keys = model.load_state_dict(
365-
diffusers_format_checkpoint, strict=False, disable_mmap=disable_mmap
365+
diffusers_format_checkpoint, strict=False
366366
)
367367

368368
if model._keys_to_ignore_on_load_unexpected is not None:

0 commit comments

Comments
 (0)