Jaxonnxruntime: JAX based ONNX Runtime.
Project description
JAX ONNX Runtime
JAX ONNX Runtime is a robust and user-friendly tool chain that enables the seamless execution of ONNX models using JAX as the backend.
More specifically, this tool chain has the abilities:
-
ONNX Model Conversion: Converts ONNX models into JAX format modules. Tested on popular large language models including GPT-2, BERT, and LLaMA.
-
Hardware Acceleration: Enable the jit mode of the converted JAX modules, which accelerates execution on GPU and/or TPU.
-
Compatibility with JAX ecosystem: E.g., export models by Orbax, and serve the saved models by Tensorflow Serving system.
Get Started
-
We follow most of the interface definitions by
onnx.backend
here. -
Please check a brief example on model conversion and forward calling in
examples/imagenet/imagenet_main.py
.
Contributions and Discussions
We believe that collaboration is the key to building remarkable software, and we wholeheartedly welcome contributions from developers like you. You can make a real impact and help shape the future of our project with contributions such as implementing new operators and increasing support for more ML models.
Our contributors will have a chance to earn Google Open Source Peer Bonus, so that your valuable contributions won't go unnoticed. Your hard work will be rewarded both by the community and by Google. Together, let's create an amazing library and foster a supportive environment for open-source enthusiasts.
Thank you for taking the time to contribute! Please see the contribution guidelines.
License
This project is licensed under the Apache License.
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
Built Distribution
File details
Details for the file jaxonnxruntime-0.3.0.tar.gz
.
File metadata
- Download URL: jaxonnxruntime-0.3.0.tar.gz
- Upload date:
- Size: 111.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64340d83f280f725ef068326aedc87489a39f5da67ceebcdbcb24ce777cf8198 |
|
MD5 | 195520bbe375cd57ba33ed699e38fcca |
|
BLAKE2b-256 | 18122e087eb9930d3dcf9f2ca9d745a68d324cf6f7c70896f864832e8b88bebc |
File details
Details for the file jaxonnxruntime-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: jaxonnxruntime-0.3.0-py3-none-any.whl
- Upload date:
- Size: 177.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72814405d611d549c1a172cfff214c1e7cff5d2b3737c3129970630f8ea5e466 |
|
MD5 | 3fea9da1f7a0c15c5f3fc57d127b1c27 |
|
BLAKE2b-256 | 6b99979546f0d1f57bdd4479da74e31de15d006f0035fcf47680723aa0693741 |