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

Fix size-1 Jacobian with Enzyme #374

Merged
merged 3 commits into from
Jul 22, 2024
Merged

Fix size-1 Jacobian with Enzyme #374

merged 3 commits into from
Jul 22, 2024

Conversation

gdalle
Copy link
Owner

@gdalle gdalle commented Jul 22, 2024

DI extensions

  • Use onehot instead of chunkedonehot to initialize shadows for Enzyme's Jacobian when the batch size is 1

DIT source

  • Add functions from $R^1$ to $R^1$ to the default scenarios

@codecov-commenter
Copy link

codecov-commenter commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.58%. Comparing base (5419f9a) to head (400f365).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #374   +/-   ##
=======================================
  Coverage   96.57%   96.58%           
=======================================
  Files          99       99           
  Lines        4876     4887   +11     
=======================================
+ Hits         4709     4720   +11     
  Misses        167      167           

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

@gdalle gdalle merged commit 73a2ddd into main Jul 22, 2024
51 checks passed
@gdalle gdalle deleted the gd/jac_size1 branch July 22, 2024 18:14
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