-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Save estimated norm scaling factor during checkpointing (#395)
* refactor saving * save estimated_norm_scaling_factor * use new constant names elsewhere * estimate norm scaling factor in `ActivationsStore` init * fix tests * add test * tweaks * safetensors path * remove scaling factor on fold * test scaling factor value * format * format * undo silly change * format * save fn protocol * make save fn static * test which checkpoints have estimated norm scaling factor * fix test * fmt
- Loading branch information
1 parent
53180e0
commit 63a15a0
Showing
9 changed files
with
228 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.