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

f-dangel / curvlinops / 8818810086
90%

Build:
DEFAULT BRANCH: main
Ran 24 Apr 2024 03:10PM 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

24 Apr 2024 03:04PM UTC coverage: 88.59% (+0.2%) from 88.363%
8818810086

push

github

web-flow
[ADD] Support arbitrary `X` in `data` (e.g. HuggingFace models) (#100)

* [ADD] Generalize assumption about X

* Update typehint

* [REF] Add example how to use the UserDict input for HuggingFace models

* Add tests for `UserDict` and `dict` `X`s

* Add Huggingface `transformers` and `datasets` to the docs deps

* Address comments in `_base.py`

* Resolves comments in `fisher.py` and `kfac.py`

* Update docstrings and example in documentation

* Update `functorch.py` to accomodate dict-like inputs

* Make `*JacobianLinearOperator` aware of dict-like inputs

* Update tests

* Remove unused test case

* Add `to(device)` in `ModelWithDictInput` test model

* Run

                 _                 _
                (_) ___  ___  _ __| |_
                | |/ _/ / _ \/ '__  _/
                | |\__ \/\_\/| |  | |_
                |_|\___/\___/\_/   \_/

      isort your imports, so you don't have to.

                    VERSION 5.13.2

Nothing to do: no files or paths have have been passed in!

Try one of the following:

    `isort .` - sort all Python files, starting from the current directory, recursively.
    `isort . --interactive` - Do the same, but ask before making any changes.
    `isort . --check --diff` - Check to see if imports are correctly sorted within this project.
    `isort --help` - In-depth information about isort's available command-line options.

Visit https://pycqa.github.io/isort/ for complete information about how to use isort.

* Fix import error in unit test

* Address @f-dangel's comments

* Better explanation in ignoring KFAC reduce & expand cases

* Merge with main

* Fix `y` device in `_base.py`

* Resolves flake8 warnings

71 of 82 new or added lines in 8 files covered. (86.59%)

2 existing lines in 2 files now uncovered.

1219 of 1376 relevant lines covered (88.59%)

0.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
28.57
1.15% curvlinops/fisher.py
4
88.3
-1.47% curvlinops/examples/functorch.py
6
91.23
2.72% curvlinops/jacobian.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
28.57
1.15% curvlinops/fisher.py
1
88.3
-1.47% curvlinops/examples/functorch.py
Jobs
ID Job ID Ran Files Coverage
1 8818810086.1 24 Apr 2024 03:10PM UTC 28
88.59
Source Files on build 8818810086
  • Tree
  • List 28
  • Changed 8
  • Source Changed 0
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 30c77b4a on github
  • Prev Build on main (#8773141288)
  • Next Build on main (#8840487861)
  • 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