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
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 | Reset |
|---|---|---|---|---|
| torch_model_archiver-0.12.0-py3-none-any.whl | Python 3 | none | any | Details |
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
|