Create a PyTorch Docker image ready for production
rpadovani.com › pytorch-docker-imageNov 03, 2020 · The Torch Serve Docker image needs a model archive to work: it’s a file with inside a model, and some configurations file. To create it, first install Torch Serve, and have a PyTorch model available somewhere on the PC. To create this model archive, we need only one command: torch-model-archiver --model-name <MODEL_NAME> --version <MODEL ...