-
Hello, What would be the best practice and most tracer friendly way to cache repeated computations in JAX In This is causing tracer leak issues in some cases (calling the same function from two places under the same jit) any suggestions of a better way to do this? |
Beta Was this translation helpful? Give feedback.
Answered by
jakevdp
Feb 3, 2025
Replies: 1 comment
-
If you want to cache values at runtime, probably |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ASKabalan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you want to cache values at runtime, probably
io_callback
would be the best bet.