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

File details

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

File metadata

File hashes

Hashes for torch_model_archiver_nightly-2024.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 facf9b2352d0ae04a67c17e3380a2ca9a4d29066fb114c9acd7f31dace45e3f8
MD5 4cfb26ab5c9dd135de10e1b1cc9e33c9
BLAKE2b-256 b4f279ea0aa44b4791c9e449f0d45e8bdf9f8a006b85e64dcecf320de2bf3b67

See more details on using hashes here.

Supported by

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