Skip to content

Commit 007048a

Browse files
committed
Remove print
1 parent eadeb01 commit 007048a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

aurora/model/aurora.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -523,11 +523,7 @@ def configure_activation_checkpointing(self):
523523

524524
def check(x: torch.nn.Module) -> bool:
525525
name = x.__class__.__name__
526-
if name in module_names:
527-
print(name)
528-
return True
529-
else:
530-
return False
526+
return name in module_names
531527

532528
apply_activation_checkpointing(self, check_fn=check)
533529

0 commit comments

Comments
 (0)