Torch Model Archiver is a tool used for creating archives of trained neural net models that can be consumed by TorchServe for inference.
Use the Torch Model Archiver CLI to create a .mar file.
Torch Model Archiver is part of TorchServe. However, you can install Torch Model Archiver stand alone.
Detailed documentation and examples are provided in the README.
Installation
python -m pip install torch-model-archiver
Source code
You can check the latest source code as follows:
git clone https://github.com/pytorch/serve.git
Citation
If you use torchserve in a publication or project, please cite torchserve: https://github.com/pytorch/serve
Metadata
Release files for torch-model-archiver 0.12.0
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_model_archiver-0.12.0-py3-none-any.whl | Python 3 | none | any | Details for torch_model_archiver-0.12.0-py3-none-any.whl |
Release files / torch_model_archiver-0.12.0-py3-none-any.whl
| Download URL | torch_model_archiver-0.12.0-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
baaf66065396c3512030b3b2c57cce333edab9fffe9e528352cb4cc291645a78
|
|
BLAKE2b-256 checksum How to use checksums |
4d0690a14e757eadc9a3590199b5bd8eec82aaf59183776fb18b457d1ccefcb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for torch-model-archiver 0.12.0
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.