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

f-dangel / curvlinops / 24062381256
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: torch-compile-kfac-fx-precompute
DEFAULT BRANCH: main
Ran 07 Apr 2026 03:25AM UTC
Jobs 1
Files 49
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

07 Apr 2026 03:10AM UTC coverage: 91.453% (+0.2%) from 91.231%
24062381256

Pull #292

github

Felix Dangel
[REF] Add trace_kfac_batch and simplify KFAC FX computer

Introduce trace_kfac_batch() top-level function that combines IO tracing
and batch computation tracing in one call, analogous to
make_batch_hessian_vector_product for Hessian. This eliminates the
two-pass data iteration (separate _trace_io_functions and
_trace_batch_functions) from MakeFxKFACComputer.

Move _trace_io_functions, _trace_batch_functions, and
_compute_layer_output_grads to MakeFxEKFACComputer, which still needs
the two-step pattern for eigenvalue correction.

Also replace FakeTensorMode context managers with make_fx's
_allow_non_fake_inputs parameter, and add einops string comments
to the rearrange replacements in _base.py.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #292: [OPT] Make KFAC FX precompute compile-friendly and reduce tracing memory

137 of 137 new or added lines in 6 files covered. (100.0%)

12 existing lines in 3 files now uncovered.

2493 of 2726 relevant lines covered (91.45%)

0.91 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
94.59
0.05% curvlinops/computers/io_collector/collector.py
5
93.75
0.0% curvlinops/utils.py
1
99.22
0.18% curvlinops/computers/kfac_make_fx.py
Jobs
ID Job ID Ran Files Coverage
1 24062381256.1 07 Apr 2026 03:25AM UTC 49
91.45
GitHub Action Run
Source Files on build 24062381256
  • Tree
  • List 49
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #292
  • PR Base - main (#24047891896)
  • 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