export JAX to ONNX
Project description
jax2onnx 🌟
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! 🎉
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jax2onnx-0.12.1.tar.gz.
File metadata
- Download URL: jax2onnx-0.12.1.tar.gz
- Upload date:
- Size: 553.9 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c32ea38d1df9010267c96d7d2ec1ad4028b70a583c226461e013173ae6d93b2
|
|
| MD5 |
c39ef9a7c2b6812ff3954bb10bf9f12b
|
|
| BLAKE2b-256 |
da1e8e283426b032f048e2dc2a05de529244a86619b2297c7256f99f6b4ac692
|
File details
Details for the file jax2onnx-0.12.1-py3-none-any.whl.
File metadata
- Download URL: jax2onnx-0.12.1-py3-none-any.whl
- Upload date:
- Size: 905.6 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7edf58991d90cc9d361457a368a52a8785d0866d15a7cafa348c9a0df34bd2f5
|
|
| MD5 |
133ef89661897b4c58aa5b0cc370b854
|
|
| BLAKE2b-256 |
f0b72625bc8498b19b01e625d8284597e2d6cf639c429a5d0816c0c7c29bfd39
|