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

Large refactoring: play well with a JAX workflow #6

Merged
merged 1 commit into from
Oct 11, 2023
Merged

Conversation

eguiraud
Copy link
Owner

Instead of applying jax.grad internally, expose
evaluate and eval_dict functions that play
well with jax.grad and jax.jit.

Instead of applying `jax.grad` internally, expose
`evaluate` and `eval_dict` functions that play
well with `jax.grad` and `jax.jit`.
@eguiraud eguiraud self-assigned this Oct 11, 2023
@codecov
Copy link

codecov bot commented Oct 11, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (70166b2) 73.07% compared to head (f10af48) 87.87%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #6       +/-   ##
===========================================
+ Coverage   73.07%   87.87%   +14.80%     
===========================================
  Files           2        2               
  Lines          52       33       -19     
  Branches       10        5        -5     
===========================================
- Hits           38       29        -9     
+ Misses         10        3        -7     
+ Partials        4        1        -3     
Files Coverage Δ
src/correctionlib_gradients/_base.py 86.66% <100.00%> (+15.23%) ⬆️

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

@eguiraud eguiraud merged commit ddcbc9d into main Oct 11, 2023
@eguiraud eguiraud deleted the jax-workflow branch October 11, 2023 22:35
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.

1 participant