Skip to content

Commit 360935c

Browse files
committed
print
1 parent b062bd9 commit 360935c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/pipelines/pipeline_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,7 @@ def remove_all_hooks(self):
986986
print("Within remove_all_hooks().")
987987
for _, model in self.components.items():
988988
if isinstance(model, torch.nn.Module) and hasattr(model, "_hf_hook"):
989+
print(f"{model.__class__.__name__=}")
989990
accelerate.hooks.remove_hook_from_module(model, recurse=True)
990991
self._all_hooks = []
991992

0 commit comments

Comments
 (0)