Skip to content

Commit

Permalink
Merge pull request #1208 from bghira/chore/apple-quanto-dependency
Browse files Browse the repository at this point in the history
apple: update quanto dependency to upstream repository
  • Loading branch information
bghira authored Dec 11, 2024
2 parents ea66ac8 + 71bd7e6 commit d3cb505
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion helpers/training/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2987,7 +2987,7 @@ def train(self):
}
if self.grad_norm is not None:
if self.config.grad_clip_method == "norm":
logs["grad_norm"] = self.grad_norm
logs["grad_norm"] = float(self.grad_norm.clone().detach())
elif self.config.grad_clip_method == "value":
logs["grad_absmax"] = self.grad_norm

Expand Down
6 changes: 3 additions & 3 deletions install/apple/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d3cb505

Please sign in to comment.