Skip to main content

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

Metadata

Release files for rten-convert 0.22.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rten-convert 0.22.0
File Size Uploaded Provenance Actions
rten_convert-0.22.0.tar.gz 41.1 kB Without provenance Details for rten_convert-0.22.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rten-convert 0.22.0
File Interpreter ABI Platform Actions
rten_convert-0.22.0-py3-none-any.whl Python 3 none any Details for rten_convert-0.22.0-py3-none-any.whl

Total release size: 83.8 kB

Release files / rten_convert-0.22.0.tar.gz

Download URL rten_convert-0.22.0.tar.gz
Size 41.1 kB
Tags Source
SHA-256 checksum
How to use checksums
40a0e501977ab3f3af65227ca7ef4b96b3c539f59955fa3efa610211d16e9dc0
BLAKE2b-256 checksum
How to use checksums
9f86571b4c219329c23fd3ca9165e60bf95055c12952320a443335352d3656d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / rten_convert-0.22.0-py3-none-any.whl

Download URL rten_convert-0.22.0-py3-none-any.whl
Size 42.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63eec760f5cccbd726ff556848ca040cbd6fea5c9d7cf0e2ff840d5c2b870ecb
BLAKE2b-256 checksum
How to use checksums
df747a3233ddcca64fd82382349268a7bcd44095de575ee74b4b8e4a2d4d7a7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Security for rten-convert 0.22.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page