You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and the corresponding compilation paths for CPU and CUDA platforms. Currently, the CUDA path never calls MlirToXlaComputation which is unexpected per #20853 (comment) .
In particular, the difference of CPU and CUDA compilation paths is as follows:
In fact, no XlaComputation instance is created in the CUDA compilation path which indicates that calling MlirToXlaComputation is platform dependent.
The aim of this issue is to define a platform independent compilation path for the stablehlo-complex-math-expander pass that preferably uses MlirToXlaComputation.
There are a few StableHLO passes we want to run for all XLA PJRT plugins (complex math expanders, quantized math expanders, etc), and there isn't a good single place we can add these passes. Seems like plugins are using multiple methods to go from StableHLO->HLO which is surprising. This ticket is about consolidating to a single HLO conversion path for plugins.
Consider JAX expression
and the corresponding compilation paths for CPU and CUDA platforms. Currently, the CUDA path never calls
MlirToXlaComputation
which is unexpected per #20853 (comment) .In particular, the difference of CPU and CUDA compilation paths is as follows:
In fact, no
XlaComputation
instance is created in the CUDA compilation path which indicates that callingMlirToXlaComputation
is platform dependent.The aim of this issue is to define a platform independent compilation path for the
stablehlo-complex-math-expander
pass that preferably usesMlirToXlaComputation
.Originally posted by @pearu in #20853 (comment)
The text was updated successfully, but these errors were encountered: