Skip to main content

training Pytorch models with onnxruntime

Project description

training pytorch models with onnxruntime

to build (you need to increase version minor number in version.txt in order to upload python whl):

rm dist/*
python setup.py bdist_wheel

to publish:

twine upload dist/*

to install:

pip install torch-ort-poc

to use torch_ort within PyTorch training scripts:

import onnxruntime
from torch_ort 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

File details

Details for the file torch_ort_poc-0.0.4.dev20210313-py3-none-any.whl.

File metadata

  • Download URL: torch_ort_poc-0.0.4.dev20210313-py3-none-any.whl
  • Upload date:
  • Size: 2.7 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 torch_ort_poc-0.0.4.dev20210313-py3-none-any.whl
Algorithm Hash digest
SHA256 e8fa3f0330cd1833972b139830c58240fb7681fbd967c764e2a1407d1dddcd33
MD5 89d045ad30361f24b261b6992d9ec882
BLAKE2b-256 5f4f013798aee23c1d6d53903e42af587ecdff98aa04bd890a76e2bbca1c9caf

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