Expected output with jax.config.update("jax_explain_cache_misses", True)? #24859
-
I profiled a code I'm working on recently and noticed some cache misses, so I set Is this what I should expect? I'm using the tensorboard profiler and am seeing blocks like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
When compiled code is called, you're likely hitting the jit cache, so you shouldn't see any cache miss logs at that point. Does that make sense? |
Beta Was this translation helpful? Give feedback.
I'm not sure what the
cache_miss
blocks in the profiler mean, but thejax_explain_cache_misses
logs will only trigger during initial compilation, not when the compiled function is called. Does that help?