• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

f-dangel / curvlinops / 8476309724
90%

Build:
DEFAULT BRANCH: main
Ran 29 Mar 2024 02:26AM UTC
Jobs 1
Files 28
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Mar 2024 02:14AM UTC coverage: 89.937% (+0.4%) from 89.491%
8476309724

push

github

web-flow
Add heuristic and exact damping to `KFACInverseLinearOperator` (#93)

* Add tests for torch_matmat and torch_matvec

* Add torch_matmat and torch_matvec methods to KFACLinearOperator

* Nicer if-statement

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Fix doc string

* Add tests for torch_matmat and torch_matvec for KFACInverseLinearOperator

* Add torch_matmat and torch_matvec to KFACInverseLinearOperator

* Increase test tolerance

* Add tests for heuristic and exact KFAC damping

* Add heuristic and exact damping to KFACInverseLinearOperator

* Simplify if-statement

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Merge nested if-statements

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Simplify if-statement

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Deduce torch_matmat return type from input type

* Remove device check

* Make constant explicit

* Remove leftover import

* Add support for list inputs to torch_matvec

* Add tests for list inputs to torch_matmat and torch_matvec

* Address review feedback

* Switch to case for kfac tests and minor fixes

* Fix flake8

* Refactor torch_matmat of KFACLinearInverse

* Improve docs for damping strategies

* Minor fixes

* Add reference for exact damping

* Run inverse KFAC tests in float64

* Add KFACInverseLinearOperator to docs and improve docstrings

* Improve docstring math

* Add missing backslashes

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

65 of 66 new or added lines in 1 file covered. (98.48%)

1144 of 1272 relevant lines covered (89.94%)

0.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
98.0
1.13% curvlinops/inverse.py
Jobs
ID Job ID Ran Files Coverage
1 8476309724.1 29 Mar 2024 02:26AM UTC 28
89.94
Source Files on build 8476309724
  • Tree
  • List 28
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e684ce9b on github
  • Prev Build on main (#8451245135)
  • Next Build on main (#8484560719)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc