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

Add DenseSparsityDetector #297

Merged
merged 8 commits into from
Jun 4, 2024
Merged

Add DenseSparsityDetector #297

merged 8 commits into from
Jun 4, 2024

Conversation

gdalle
Copy link
Owner

@gdalle gdalle commented Jun 4, 2024

Versions

  • Bump DI version to v0.5.3

DI source

  • Implement DenseSparsityDetector to compute a Jacobian or Hessian sparsity pattern based on a dense backend

DI tests

  • Test DenseSparsityDetector in forward and reverse mode with Enzyme and ForwardDiff, with various input shapes

DI docs

  • Add DenseSparsityDetector to the list of detector options

@codecov-commenter
Copy link

codecov-commenter commented Jun 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.73%. Comparing base (23526d8) to head (1da5d81).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #297      +/-   ##
==========================================
+ Coverage   96.65%   96.73%   +0.07%     
==========================================
  Files          70       71       +1     
  Lines        3801     3889      +88     
==========================================
+ Hits         3674     3762      +88     
  Misses        127      127              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gdalle gdalle linked an issue Jun 4, 2024 that may be closed by this pull request
@gdalle gdalle merged commit 1cf497c into main Jun 4, 2024
32 checks passed
@gdalle gdalle deleted the gd/dense_sparsity_detector branch June 4, 2024 08:34
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.

Sparsity detection fallback method
2 participants