Skip to main content

Torch Model Archiver is used for creating archives of trained neural net models that can be consumed by TorchServe inference

Project description

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file torch_model_archiver_nightly-2025.2.7-py3-none-any.whl.

File metadata

File hashes

Hashes for torch_model_archiver_nightly-2025.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3439bb0db6fd85499ab2cc8e080658d20695d8f30984b8ad1a7afd7182de4b5e
MD5 011ae48292b571316fd969629b30d6ef
BLAKE2b-256 22c4cdc6c5b0e26bb3e09f5672ef43cb43a031bec97bea1c6bb85bffa56db2bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page