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.13.0.tar.gz (739.8 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.13.0-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jax2onnx-0.13.0.tar.gz
  • Upload date:
  • Size: 739.8 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.13.0.tar.gz
Algorithm Hash digest
SHA256 06977266e1974223d24a67287b1490198c8b9709515ef434998e6954ff0a8b80
MD5 266f900d8aebb36529dafe32a07fcae6
BLAKE2b-256 377ece7f311ed662c84b27b75dd23941c356815c400399974a3ef3d231f619e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jax2onnx-0.13.0-py3-none-any.whl
  • Upload date:
  • Size: 1.3 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.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b040b0a195f19dc6f6ffeadddac4dd319d3d88f44063e32f2fdcab9b50977066
MD5 70bc4ecca62a1353bb78ca23816af14a
BLAKE2b-256 3aea756fa8e169c180bfd9661d78a09d6fec025502216210b13a2e842f5710bb

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