Skip to main content

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)

Table of built distributions (wheels) for torch-model-archiver 0.12.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.12.0 This release

1 release file

0.11.1

1 release file

0.11.0

1 release file

0.10.0

1 release file

0.9.0

1 release file

0.8.2

1 release file

0.8.1

1 release file

0.8.0

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.3

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page