-
How portable are checkpointed models - is it possible to convert to ONNX? Use case: doing real-time inference with a trained Linen model. I realize that JAX is primarily geared towards research use cases so this may fall outside of the primary scope of Flax as well. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @bryanhpchiang -- I'm not sure if folks have tried converting JAX models to ONNX, but I can ask. The current best practice for inference is to use |
Beta Was this translation helpful? Give feedback.
Hi @bryanhpchiang -- I'm not sure if folks have tried converting JAX models to ONNX, but I can ask. The current best practice for inference is to use
jax2tf
and existing infrastructure fortf.SavedModel
s. (We should probably add a short guide about that on our documentation)