{"library":"torch-model-archiver","type":"library","category":null,"description":"Torch Model Archiver is a dedicated command-line tool used for creating archives of trained PyTorch neural network models (typically `.pth` or TorchScript files) into a `.mar` (Model ARchive) format. These `.mar` files are specifically designed to be consumed and served by TorchServe for inference. The library is part of the larger PyTorch/Serve ecosystem and frequently updates in conjunction with TorchServe releases, with the current version being 0.12.0.","language":"python","status":"active","version":"0.12.0","tags":["pytorch","model deployment","machine learning","cli tool","torchserve","model archiving"],"last_verified":"Fri May 22","install":[{"cmd":"pip install torch-model-archiver","imports":["This library is primarily a command-line interface (CLI) tool and is not typically imported for direct Python usage. It's executed as a shell command."]}],"homepage":"https://pytorch.org/serve/","github":"https://github.com/pytorch/serve","docs":null,"changelog":null,"pypi":"https://pypi.org/project/torch-model-archiver/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/torch-model-archiver/compatibility"}}