-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] KFAC scale for
loss_average="batch+sequence"
(#110)
* Fix EF scale for >2d outputs * Fix scale of MC Fisher for >2d outputs * Increase tolerance of CG test * Increase CG precision * Increase tolerance of CG test (again) * Increase tolerance of CG test (again) * Increase tolerance of CG test (again) * Exclude numerically unstable cases from inverse tests * Increase tolerance of Jacobian tests * Adjust loss scale for KFAC-EF * Add test for KFAC-MC with weight sharing * Increase tolerance of KFAC (log)det tests * Add test case for #107 (expand setting scaling issue) * Fix KFAC scale for batch+sequence loss average * Fix isort * Fix test_multi_dim_output * Change how _num_per_example_loss_terms is inferred and allow setting it explicitly * Fix darglint and flake8 * Improve docstring for num_per_example_loss_terms * Minor review fixes
- Loading branch information
Showing
3 changed files
with
215 additions
and
18 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