Skip to content

Commit aee2908

Browse files
Remove useless log. (#8166)
1 parent dc46db7 commit aee2908

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

comfy/utils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ def load_torch_file(ckpt, safe_load=False, device=None, return_metadata=False):
7878
pl_sd = torch.load(ckpt, map_location=device, weights_only=True, **torch_args)
7979
else:
8080
pl_sd = torch.load(ckpt, map_location=device, pickle_module=comfy.checkpoint_pickle)
81-
if "global_step" in pl_sd:
82-
logging.debug(f"Global Step: {pl_sd['global_step']}")
8381
if "state_dict" in pl_sd:
8482
sd = pl_sd["state_dict"]
8583
else:

0 commit comments

Comments
 (0)