Skip to content

Commit adccfb2

Browse files
committed
Remove populate_db_with_asset from load_torch_file for now, as nothing yet uses the hashes
1 parent 9f4c0f3 commit adccfb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comfy/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def load_torch_file(ckpt, safe_load=False, device=None, return_metadata=False):
103103
else:
104104
sd = pl_sd
105105

106-
populate_db_with_asset(ckpt)
106+
# populate_db_with_asset(ckpt) # surprise tool that can help us later - performs hashing on model file
107107
return (sd, metadata) if return_metadata else sd
108108

109109
def save_torch_file(sd, ckpt, metadata=None):

0 commit comments

Comments
 (0)