Skip to content

Deprecation of enable_xla in jax2tf.convert and onnx exports #25770

Answered by gnecula
TheMr33 asked this question in General
Discussion options

You must be logged in to vote

We have deprecated converting JAX to TF ops, and we plan to remove that. In particular the option that you see to use (enable_xla=False) was really never finished, and never got to the point where we could guarantee fidelity. That conversion was useful while the TF-independent toolchain matured, but not we can do almost everything we did with TF graph without the conversion. StableHLO is now the only recommended and supported export from JAX.

This means, that sadly, you cannot continue to rely on the conversion to ONNX by way of TF. The real solution here would be to write a StableHLO to ONNX converter. But this could be a very large task.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TheMr33
Comment options

Answer selected by TheMr33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants