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

Metadata

Release files for torch-model-archiver-nightly 2025.2.7

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-nightly 2025.2.7
File Interpreter ABI Platform Actions
torch_model_archiver_nightly-2025.2.7-py3-none-any.whl Python 3 none any Details for torch_model_archiver_nightly-2025.2.7-py3-none-any.whl

Release files / torch_model_archiver_nightly-2025.2.7-py3-none-any.whl

Download URL torch_model_archiver_nightly-2025.2.7-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3439bb0db6fd85499ab2cc8e080658d20695d8f30984b8ad1a7afd7182de4b5e
BLAKE2b-256 checksum
How to use checksums
22c4cdc6c5b0e26bb3e09f5672ef43cb43a031bec97bea1c6bb85bffa56db2bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.21

Security for torch-model-archiver-nightly 2025.2.7

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.

Release history Release notifications | RSS feed

This release

2025.2.7 This release

1 release file No provenance

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