Skip to main content

training Pytorch models with onnxruntime

Project description

training pytorch models with onnxruntime

to build (you need to update version number in version.txt in order to be able to upload python whl):

rm dist/*
python setup.py bdist_wheel

to publish:

twine upload dist/*

to install:

stable:

pip install torchort

nightly:

pip install --pre torchort

to use torchort within PyTorch training scripts:

import onnxruntime
from torchort import ORTModule
model = ORTModule(model)
# normal PyTorch training script follows

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

torchort-0.0.7.dev20210315-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file torchort-0.0.7.dev20210315-py3-none-any.whl.

File metadata

  • Download URL: torchort-0.0.7.dev20210315-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.48.1 CPython/3.6.9

File hashes

Hashes for torchort-0.0.7.dev20210315-py3-none-any.whl
Algorithm Hash digest
SHA256 981bd29b7d93dbfa32ea81d5f2e057efbfe033815066d274b17e335d5321e772
MD5 7402325cccb0865c8b34e34421481237
BLAKE2b-256 6f562da5c8f2a6f7eb7c3a8020b4ce63ee89d3c09f1f90619e4fbf606732cb2a

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