-
Hi everyone, I came across the following statement in some notes about JAX’s XLA CPU backend: “The standalone XLA CPU backend will lower most HLO ops (including dot/generalized GEMM) into calls to Eigen’s C++ routines.” However, I haven’t been able to find any official documentation or source in the JAX repository (or in the XLA docs) that confirms this behavior. Thanks in advance for any pointers! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's hard to provide too much useful feedback without more details about why you want to know this information :D, but it looks like that statement is currently accurate for dot at least. Here's the relevant XLA source code AFAICT: https://github.com/openxla/xla/blob/9c8f9ea2bd606918b25d881cfcf78a68ca1bc642/xla/backends/cpu/runtime/dot_thunk.h But, even as a full time JAX developer, I wouldn't say that I know all the details of exactly how every HLO op gets implemented in the CPU backend. If you have specific cases where it would be useful to understand the full lowering path for a particular operation, you might get more useful feedback on the XLA repo! |
Beta Was this translation helpful? Give feedback.
It's hard to provide too much useful feedback without more details about why you want to know this information :D, but it looks like that statement is currently accurate for dot at least. Here's the relevant XLA source code AFAICT: https://github.com/openxla/xla/blob/9c8f9ea2bd606918b25d881cfcf78a68ca1bc642/xla/backends/cpu/runtime/dot_thunk.h
But, even as a full time JAX developer, I wouldn't say that I know all the details of exactly how every HLO op gets implemented in the CPU backend. If you have specific cases where it would be useful to understand the full lowering path for a particular operation, you might get more useful feedback on the XLA repo!