Skip to main content

export JAX to ONNX

Project description

jax2onnx 🌟

CI PyPI version License Documentation

jax2onnx converts your JAX, Flax NNX, Flax Linen, Equinox functions directly into the ONNX format.

jax2onnx.svg

📚 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! 🎉

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jax2onnx-0.12.3.tar.gz (691.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jax2onnx-0.12.3-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file jax2onnx-0.12.3.tar.gz.

File metadata

  • Download URL: jax2onnx-0.12.3.tar.gz
  • Upload date:
  • Size: 691.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.5 Linux/6.6.87.2-microsoft-standard-WSL2

File hashes

Hashes for jax2onnx-0.12.3.tar.gz
Algorithm Hash digest
SHA256 e067830d9d07355719b7f6e31c3a95371930dcaf52ba9c451d414d1d2d54666d
MD5 0e3fa68509e26f7d1590e8bd9fab41b1
BLAKE2b-256 d97435a51b48326f643b31825461a225a9e8d4703abc534471e4ddadb9f2fef6

See more details on using hashes here.

File details

Details for the file jax2onnx-0.12.3-py3-none-any.whl.

File metadata

  • Download URL: jax2onnx-0.12.3-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.5 Linux/6.6.87.2-microsoft-standard-WSL2

File hashes

Hashes for jax2onnx-0.12.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4e2835d24c62ab85f10c34cc30885b0aaccb177e63d9e10f8f930a015fbec42f
MD5 7b76f98335bf466d1353bdea7574ec86
BLAKE2b-256 e5b4f25aec313788e16c98881a693d53f318181d34f19c669009a29756e0da9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page