Closed FFroehlich closed 3 months ago
Attention: Patch coverage is 75.86207%
with 7 lines
in your changes are missing coverage. Please review.
Project coverage is 84.43%. Comparing base (
38d91c4
) to head (67ec64f
).
Files | Patch % | Lines |
---|---|---|
pypesto/objective/jax/base.py | 75.86% | 7 Missing :warning: |
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Now no longer requires passing of input function. Extended tests to demonstrate jax transformations of inputs and outputs.
host_callback
calls in jax, which are now deprecated, withpure_callback
calls.jax.jit
inJax.Objective
.jax.vmap
. This required quite a bit of refactoring as the base objective assumes inputs/outputs to be numpy arrays, which is incompatible with jax batch tracers.jax.grad
andjax.vmap
.