Convert ONNX models to .rten format
Project description
rten-convert
rten-convert converts ONNX models to .rten
format, for use with the
RTen machine learning runtime.
Installation
The conversion tool requires Python >= 3.10. To install the tool, run:
pip install rten-convert
Usage
rten-convert your-model.onnx your-model.rten
The second argument is optional. If omitted the output filename will be the
input filename with the .onnx
extension replaced with .rten
.
Versioning
The rten-convert
tool and rten
library use common version numbering. A
model produced by rten-convert
version X can be executed by rten
version X
or newer.
Development
To install this tool from a checkout of the Git repository, run:
pip install -e .
After making changes, run the QA checks. First, install the development dependencies:
pip install -r requirements.dev.txt
Then run:
make check
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
File details
Details for the file rten_convert-0.13.0.tar.gz
.
File metadata
- Download URL: rten_convert-0.13.0.tar.gz
- Upload date:
- Size: 33.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c52efe7454110a641438973ef8821a0743bbe9e4ed2a420301cdf18c38bb56d |
|
MD5 | f778098cfa01de4a85797ec00075a58e |
|
BLAKE2b-256 | b5da767e4069e290e5e399a1be58973ec464f2daa85fea37e74fe7667143f29a |
File details
Details for the file rten_convert-0.13.0-py3-none-any.whl
.
File metadata
- Download URL: rten_convert-0.13.0-py3-none-any.whl
- Upload date:
- Size: 34.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c119fd82b00f298d44f49beaf0356035cf9a905fdfdc96c8beb3c6964c192bc4 |
|
MD5 | fa1520cf61af2c25d153b07f647ff2f9 |
|
BLAKE2b-256 | fc5cfe2eac6f045cf8aebb86c13ce9cc5e3c3f62875c85da56bc9166301f054a |