Replies: 1 comment 3 replies
-
I don't believe so. Everything inside of the top-level JIT is inlined and so the inner JIT decorator doesn't actually do anything. FWIW there is also |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to tell the jax compilation cache (https://jax.readthedocs.io/en/latest/persistent_compilation_cache.html) to store a specific jitten function?
I have something like:
The compilation cache seems to just save
outer_fn
on disk, but I also wantinner_fn
to be saved as well sinceinner_fn
will always stay the same, but the static arguments 'params' may change from run to run. So I don't want inner_fn to be recompiled every time outer_fn changes (its params or implementation).Note that inner_fn is very slow to compile (uses mjx).
Beta Was this translation helpful? Give feedback.
All reactions