Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jax2tf] A new experimental version with JAX native lowering.
In the future JAX will be able to use a serialization format based on a variant of MHLO. This is not yet ready, but in this PR we are starting to get jax2tf ready for this. As a temporary step, we had introduced a TF op called XlaCallModule which carries a serialized MHLO module and which e can use to wrap the JAX native MHLO as a TF op. We still reuse parts of jax2tf, in particular the gradient machinery. This functionality can be enabled locally with a `experimental_native_lowering` flag for `jax2tf.convert`, or globally with the flag `--jax2tf_default_experimental_native_lowering`.
- Loading branch information
Showing
6 changed files
with
310 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.