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 b0ffe92 commit 0f079b9Copy full SHA for 0f079b9
src/diffusers/utils/hub_utils.py
@@ -457,7 +457,7 @@ def _get_checkpoint_shard_files(
457
ignore_patterns = ["*.json", "*.md"]
458
if not local_files_only:
459
# `model_info` call must guarded with the above condition.
460
- model_files_info = model_info(pretrained_model_name_or_path, revision=revision)
+ model_files_info = model_info(pretrained_model_name_or_path, revision=revision, token=token)
461
for shard_file in original_shard_filenames:
462
shard_file_present = any(shard_file in k.rfilename for k in model_files_info.siblings)
463
if not shard_file_present:
0 commit comments