Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rten_convert-0.11.0.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

rten_convert-0.11.0-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file rten_convert-0.11.0.tar.gz.

File metadata

  • Download URL: rten_convert-0.11.0.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.9

File hashes

Hashes for rten_convert-0.11.0.tar.gz
Algorithm Hash digest
SHA256 003888eaa6c74c43947d35fe54efcbd4845bc78da3c30a6c015c72f4d3284ae3
MD5 42764a9a63746cce67392a14a3b673ef
BLAKE2b-256 26f537590793e7485008085b07f5503ab240c0ffd090631db0dae0fc4b0a3769

See more details on using hashes here.

File details

Details for the file rten_convert-0.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rten_convert-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 265222368330759726582d554b52926b2708e73233040f64b8f85e1f5d5d27e7
MD5 c613305e654112997a5ba4984999a8ef
BLAKE2b-256 8144db3ea66c471ded6ab624e8e23140a827aa372f5cb5447fb9f2cfbc1e157d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page