Skip to content

Commit 9f98833

Browse files
a-r-r-o-wsayakpaul
andauthored
Update src/diffusers/models/modeling_utils.py
Co-authored-by: Sayak Paul <[email protected]>
1 parent 2663e94 commit 9f98833

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/models/modeling_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,7 @@ def from_pretrained(cls, pretrained_model_name_or_path: Optional[Union[str, os.P
819819
revision=revision,
820820
subfolder=subfolder or "",
821821
)
822+
# TODO: https://github.com/huggingface/diffusers/issues/10013
822823
if hf_quantizer is not None:
823824
model_file = _merge_sharded_checkpoints(sharded_ckpt_cached_folder, sharded_metadata)
824825
logger.info("Merged sharded checkpoints as `hf_quantizer` is not None.")

0 commit comments

Comments
 (0)