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

Uploaded Source

Built Distribution

rten_convert-0.9.0-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rten_convert-0.9.0.tar.gz
Algorithm Hash digest
SHA256 226605da37ee24c3798fff6c9a540fa5fba9c5c75b4f538cbc4590a29fbe285b
MD5 07d65ece512baa64448597bd7eed32ea
BLAKE2b-256 7bf4c18ad03e17b7345cf8c403b531caa6a1ca1ebdf5ec12fe51a651b452d78a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rten_convert-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for rten_convert-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 78400a40bd1264c6e6603edbe2011c21b400631bfe07246e4a0fcdea96a4283f
MD5 18bc954afdecab5449c3366d9e33cd28
BLAKE2b-256 3c167f0a3642233521c22518dfe19a7b7469b097dcc81e6d8c94d76318a19dae

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