Skip to content

Commit c9b680d

Browse files
committed
checking
1 parent d4e2976 commit c9b680d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/diffusers/models/model_loading_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,7 @@ def load_shard_files_with_threadpool(args_list):
388388

389389
# Do not spawn anymore workers than you need
390390
num_workers = min(len(args_list), num_workers)
391-
print(f"{num_workers=}")
392-
391+
393392
logger.info(f"Loading model weights in parallel with {num_workers} workers...")
394393

395394
error_msgs = []

src/diffusers/models/modeling_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,6 @@ def _load_pretrained_model(
15021502
for shard_file in resolved_model_file
15031503
]
15041504

1505-
print(f"{is_parallel_loading_enabled=}, {is_file=}")
15061505
if is_parallel_loading_enabled and is_file:
15071506
offload_index, state_dict_index, _mismatched_keys, _error_msgs = load_shard_files_with_threadpool(
15081507
args_list

0 commit comments

Comments
 (0)