Skip to main content

export JAX to ONNX

Project description

jax2onnx 🌟

CI PyPI version 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.0.tar.gz (504.5 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.0-py3-none-any.whl (795.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jax2onnx-0.12.0.tar.gz
  • Upload date:
  • Size: 504.5 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.0.tar.gz
Algorithm Hash digest
SHA256 fb20d1d34835fb11d0d402b0428273679660cd6c314bee069b712976c0f97def
MD5 be3c2fb54147e1ed561c596562ed16d3
BLAKE2b-256 c287df17b35ea55247443d4fabb06607c79e9100875d69bc8d39e31ca60cc9c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jax2onnx-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 795.1 kB
  • 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6bb65bfae110e2acf4b9a265956a7e882ca7ee281dab6eec8414b2149c9a9e62
MD5 64098ba36619e67b200993350ee3c44b
BLAKE2b-256 6a445b9b4f0cc5bc1b082394848cbfb1f3e987dab0ab2942c0a975d623b108d0

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