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

Uploaded Source

Built Distribution

rten_convert-0.13.1-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rten_convert-0.13.1.tar.gz
  • Upload date:
  • Size: 33.8 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.13.1.tar.gz
Algorithm Hash digest
SHA256 f89a670451f6fad5e836844ffea3d6a7a5efe4adcaec32105116239130be8af8
MD5 37aea31157164f6237df88aa64e10434
BLAKE2b-256 6bd919d5cf54c35edb59a6e4203afabdbd7070f57823112fe0c8c4946c3bbbdf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for rten_convert-0.13.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75dd99eb0dea0770e82b3030d94b73535df1d4f9efcbf8176b3e826442e046de
MD5 1953e00419678bea55bc2db7b0f69fea
BLAKE2b-256 18b6a27ca96b5ac7c5dcb7227615003ee8a5d0532876f9304c8156d4e1207a91

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