Skip to content

Commit 48c423d

Browse files
le1nuxBlueCrescent
andauthored
chore: removed comments
Co-authored-by: BlueCrescent <7198877+BlueCrescent@users.noreply.github.com>
1 parent 6daad37 commit 48c423d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/modalities/trainer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ def __init__(self, gc_freq: int = 10):
3535
assert gc_freq > 0, "gc_freq must be a positive integer"
3636
self.gc_freq = gc_freq
3737
gc.disable()
38-
self.collect() # GC invoked here
38+
self.collect()
3939

4040
def run(self, step_count: int):
4141
if step_count > 1 and step_count % self.gc_freq == 0:
42-
self.collect() # GC invoked here
42+
self.collect()
4343

4444
@staticmethod
4545
def collect(generation: int = 1):
46-
gc.collect(generation) # GC invoked here
46+
gc.collect(generation)
4747

4848

4949
class ThroughputAggregationKeys(Enum):

0 commit comments

Comments
 (0)