-
Does complication_cache not for gpus and cpus? if not, can this be supported? Code for initializing persistent cache
Command
Output (every single run)
it never gets to the cache hit/miss log even with logging INFO enabled as suggested in #13325 even with |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Yes, the compilation cache is an experimental feature that is currently only implemented for TPU backends: https://github.com/google/jax/blob/357d04496579826aaa1d1bde009b458bd20b56d3/jax/_src/dispatch.py#L1040-L1042 @skye might be able to give more information on the status for other platforms. |
Beta Was this translation helpful? Give feedback.
-
It will be available when we’ll switch to a new xla runtime + compiler for
XLA:CPU, we still have few failing tests, but we are mostly there. I think
that it might be enabled in Jan-Feb, unless we’ll find large blockers.
…On Tue, Dec 20, 2022 at 1:34 PM Skye Wanderman-Milne < ***@***.***> wrote:
@ezhulenev <https://github.com/ezhulenev> do you know if there are any
plans for serializable CPU executables in the near future? (This is the
underlying feature needed for the compilation_cache to work on cpu)
—
Reply to this email directly, view it on GitHub
<#13736 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAI6W2VIFEE5MOTNTR2YXDDWOIQ6HANCNFSM6AAAAAATE5FLQ4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Note, it is now working on GPU, but not enabled by default: https://github.com/google/jax/blob/main/jax/_src/compilation_cache.py#L56 |
Beta Was this translation helpful? Give feedback.
Yes, the compilation cache is an experimental feature that is currently only implemented for TPU backends: https://github.com/google/jax/blob/357d04496579826aaa1d1bde009b458bd20b56d3/jax/_src/dispatch.py#L1040-L1042
@skye might be able to give more information on the status for other platforms.