This release is a pre-release and may not be stable for production use.
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 torch-ort
nightly:
pip install --pre torch-ort
to use torch_ort within PyTorch training scripts:
import onnxruntime
from torch_ort import ORTModule
model = ORTModule(model)
# normal PyTorch training script follows
Metadata
Release files for torch-ort 0.0.7.dev20210314
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| torch_ort-0.0.7.dev20210314-py3-none-any.whl | Python 3 | none | any | Details for torch_ort-0.0.7.dev20210314-py3-none-any.whl |
Release files / torch_ort-0.0.7.dev20210314-py3-none-any.whl
| Download URL | torch_ort-0.0.7.dev20210314-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a4a0e1d322ff7281c1b4c098bb252d1ed7d8cb1178dd575e615963467fd4a63
|
|
BLAKE2b-256 checksum How to use checksums |
9f33ca7d39eec06ecad89a3aa018e73baa119653ebf66cf28f4cf39009d9fc72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
|
Security for torch-ort 0.0.7.dev20210314
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.