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.22.0.tar.gz (41.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rten_convert-0.22.0-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rten_convert-0.22.0.tar.gz
  • Upload date:
  • Size: 41.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for rten_convert-0.22.0.tar.gz
Algorithm Hash digest
SHA256 40a0e501977ab3f3af65227ca7ef4b96b3c539f59955fa3efa610211d16e9dc0
MD5 2bbb941f0698e17f7e178ebfee6190b7
BLAKE2b-256 9f86571b4c219329c23fd3ca9165e60bf95055c12952320a443335352d3656d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rten_convert-0.22.0-py3-none-any.whl
  • Upload date:
  • Size: 42.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for rten_convert-0.22.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63eec760f5cccbd726ff556848ca040cbd6fea5c9d7cf0e2ff840d5c2b870ecb
MD5 506ac0ebfc5864c20592fc456ea72188
BLAKE2b-256 df747a3233ddcca64fd82382349268a7bcd44095de575ee74b4b8e4a2d4d7a7b

See more details on using hashes here.

Supported by

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