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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for jax2onnx-0.15.0.tar.gz
Algorithm Hash digest
SHA256 b5600d4b19fd9f793a5e3a525496f6a7d89ab4bdbe4e3c3d221c071e7d6a0549
MD5 9b34b36ff4b8fc11d6d9c2bb6079c096
BLAKE2b-256 0fa5cb2d05dd8627f14e9b5d31843973c8728b81cc8f2648de7d65fdbf84e76f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jax2onnx-0.15.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.18.33.2-microsoft-standard-WSL2

File hashes

Hashes for jax2onnx-0.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e914b15b15ac048356a9f50173981f002e5c6676700ce31a6de77467dc1aa9ea
MD5 39d2d09be22df6f5f900f6a520545bae
BLAKE2b-256 ffd79542e1dbcaa631dbe443ec4c14d390af458e8792e38076b76e0b16ea1f7c

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