Skip to content
Discussion options

You must be logged in to vote

Do you mean that tracers are being passed into your vector field? This is expected, and is due to the JIT compilation.

If you're trying to call a non-JAX operation then try using jax.pure_callback inside your vector field.

Side note, you may wish to try using Diffrax, which is much more featureful (and typically a bit faster) than odeint.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pulkitchhabra19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants