Skip to content

Commit

Permalink
comment out GradWatchCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwh committed Nov 26, 2024
1 parent 0a7d78f commit fa0786f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/levanter/main/train_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def main(config: TrainLmConfig):
every=config.hf_save_steps,
)

trainer.add_hook(callbacks.GradWatchCallback(include_histogram=True), every=5)
# trainer.add_hook(callbacks.GradWatchCallback(include_histogram=True), every=5)

state = trainer.initial_state(training_key, model_init=lambda: config.model.build(Vocab, key=model_key))

Expand Down

0 comments on commit fa0786f

Please sign in to comment.