Extending jax MLIR with new dialect #10995
Unanswered
puzzleshark
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have created a new MLIR dialect containing ops and types. I would like to be able to extend jax with my new dialect. Is there a way to do this without creating a fork of jax and including my dialect in the bazel build files?
I see that in the
jaxlib/mlir
folder there are the fileslibjaxlib_mlir_capi.so
,_mlirDialectsSparseTensor.so
,_mlirHlo.so
,_mlir.so
,_mlirSparseTensorPasses.so
.Is it possible for me to build a PYBIND entry point
_myDialect.so
andmyDialect_capi.so
and then link to thelibjaxlib_mlir_capi.so
?Beta Was this translation helpful? Give feedback.
All reactions