Skip to content

Commit

Permalink
hotfix memory profiler none
Browse files Browse the repository at this point in the history
  • Loading branch information
samsja committed Oct 2, 2024
1 parent 2356b1c commit 0ba28db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zeroband/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def train(config: Config):

logger.info(log)

if memory_profiler is not None:
if config.train.memory_profiler is not None:
memory_profiler.step()

if config.diloco is not None:
Expand Down

0 comments on commit 0ba28db

Please sign in to comment.