Skip to content

Commit

Permalink
that kwargs (#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
snarayan21 committed Mar 10, 2024
1 parent 2b17497 commit 36ab1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/utils/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def build_callback(
if name == 'lr_monitor':
return LRMonitor()
elif name == 'memory_monitor':
return MemoryMonitor()
return MemoryMonitor(**kwargs)
elif name == 'oom_observer':
return OOMObserver(**kwargs)
elif name == 'memory_snapshot':
Expand Down

0 comments on commit 36ab1ba

Please sign in to comment.