jax2onnx ๐
February 9, 2026 ยท View on GitHub
jax2onnx converts your JAX, Flax NNX, Flax Linen, Equinox functions directly into the ONNX format.
๐ Documentation
Read the full documentation here
๐ Quick Install
pip install jax2onnx
โก Quick Usage
from jax2onnx import to_onnx
from flax import nnx
model = MyFlaxModel(...)
to_onnx(model, [("B", 32)], return_mode="file", output_path="model.onnx")
๐ค Contributing
We warmly welcome contributions! Please check our Developer Guide for plugin tutorials and architecture details.
๐ License
Apache License, Version 2.0. See LICENSE.
๐ Special Thanks
A huge thank you to all our contributors and the community for their help and inspiration!
Happy converting! ๐