Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REF] Use built in functorch, use BackPACK 1.6 #36

Merged
merged 2 commits into from
Jul 19, 2023

Conversation

f-dangel
Copy link
Owner

Updates the dependencies such that BackPACK with PyTorch>=2 is used.
Refactors the functorch utilities to use the new API from torch.func.
Removes dependency from separate functorch package.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 5600498494

  • 36 of 41 (87.8%) changed or added relevant lines in 1 file are covered.
  • 39 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-6.2%) to 86.644%

Changes Missing Coverage Covered Lines Changed/Added Lines %
curvlinops/examples/functorch.py 36 41 87.8%
Files with Coverage Reduction New Missed Lines %
curvlinops/examples/functorch.py 1 88.75%
curvlinops/examples/utils.py 4 50.0%
curvlinops/fisher.py 34 28.85%
Totals Coverage Status
Change from base Build 5600122843: -6.2%
Covered Lines: 519
Relevant Lines: 599

💛 - Coveralls

@f-dangel f-dangel merged commit 5468dbe into development Jul 19, 2023
12 checks passed
@f-dangel f-dangel deleted the use-built-in-functorch branch July 19, 2023 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants