# TorchServe

> Serve, optimize and scale PyTorch models in production

Source: https://talira.ai/catalog/torchserve-a70851zz
Every listing: https://talira.ai/catalog.md

Status: TorchServe's makers archived or ended it on 7 Aug 2025. Limited maintenance: no planned updates, bug fixes, new features or security patches; the GitHub repository was archived on 7 Aug 2025. Last release 0.12.0 (30 Sep 2024). Source: https://github.com/pytorch/serve

- Kind: Open source
- Types: Infrastructure, Command-line tool
- Categories: [ai / inference / model serving](https://talira.ai/categories/ai/inference/model-serving), [ai / inference / servers](https://talira.ai/categories/ai/inference/servers)
- Platforms: linux, macos, docker, kubernetes[^2]
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (Apache-2.0).
- Free tier: yes[^1]
- Self-hostable: yes[^2]
- API: yes[^2]
- Backed by: [Amazon](https://talira.ai/orgs/amazon.md), [Meta](https://talira.ai/orgs/meta.md)
- Funding: Amazon: public company (NASDAQ:AMZN); Meta: public company (NASDAQ:META)[^3][^4]

TorchServe is a model server for PyTorch models, made by Amazon and Meta and derived from AWS's Multi Model Server. You package a model and its handler with torch-model-archiver and TorchServe serves it over REST and gRPC inference APIs, with a management API for registering and scaling models, a metrics API with [Prometheus](https://talira.ai/catalog/prometheus-198e2rss.md) export, batched inference, workflows (DAGs of models), and LLM deployment through [vLLM](https://talira.ai/catalog/vllm-f1czevpj.md) or [TensorRT-LLM](https://talira.ai/catalog/tensorrt-llm-343p07g7.md) engines. It was integrated into Amazon SageMaker, Google Vertex AI and [KServe](https://talira.ai/catalog/kserve-dyg77y3g.md), and from 0.12 enforces token authorization and turns off model API control by default. The project is in limited maintenance and its [GitHub](https://talira.ai/catalog/github-ppcgj756.md) repository was archived on 7 August 2025: existing releases remain available, with no further updates, bug fixes or security patches.

## Links

- Website: https://docs.pytorch.org/serve/
- GitHub: https://github.com/pytorch/serve
- Docs: https://docs.pytorch.org/serve/

## Problems it solves

- serve a trained PyTorch model behind a REST endpoint with batching
- package a PyTorch model with its preprocessing code into one archive to deploy
- register, scale and unregister models on a running server through an API
- expose PyTorch model inference over gRPC as well as HTTP
- Prometheus metrics for our PyTorch model server
- run several PyTorch models on one GPU server with separate workers
- chain several PyTorch models into one inference workflow
- serve a PyTorch model on SageMaker with the standard PyTorch model server

## Features

- REST and gRPC inference APIs with batched inference
- management API to register, scale and unregister models
- metrics API with Prometheus export and custom metrics
- torch-model-archiver (.mar model archives) and custom handlers
- workflows: DAGs of models
- LLM deployment with vLLM or TensorRT-LLM engines
- CPU, GPU, AWS Inferentia/Trainium and Google Cloud TPU inference
- TorchScript, torch.compile, ONNX Runtime, IPEX and TensorRT optimizations
- token authorization on by default; model API control off by default
- Kubernetes deployment with autoscaling and session affinity
- KServe integration (v1 and v2 protocols)

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known

## Trust

Overall: 0.12 out of 1.
Signals: maintenance 0.00, backing 0.55, extensibility 0.40.

- backed by Amazon and Meta
- funding: Amazon: public company (NASDAQ:AMZN); Meta: public company (NASDAQ:META)

Warnings:

- archived by its makers since 7 Aug 2025
- GitHub activity not fetched yet

## Alternatives

- [NVIDIA Dynamo-Triton](https://talira.ai/catalog/nvidia-dynamo-triton-fng441hm.md): Open source inference serving software that deploys AI models from any major framework
- [Ray Serve](https://talira.ai/catalog/ray-serve-aegjvek5.md): Scalable model serving library for building online inference APIs
- [BentoML](https://talira.ai/catalog/bentoml-r7wvghvm.md): Unified model serving framework for building model inference APIs and multi-model serving systems
- [KServe](https://talira.ai/catalog/kserve-dyg77y3g.md): Standardized distributed generative and predictive AI inference platform for scalable, multi-framework deployment on Kubernetes
- [Seldon Core](https://talira.ai/catalog/seldon-core-89r626cx.md): An MLOps and LLMOps framework for deploying, managing and scaling AI systems in Kubernetes

## Sources

[^1]: https://github.com/pytorch/serve/blob/master/LICENSE (checked 20 Nov 2026)
[^2]: https://github.com/pytorch/serve/blob/master/README.md (checked 20 Nov 2026)
[^3]: https://data.sec.gov/submissions/CIK0001018724.json (checked 20 Nov 2026)
[^4]: https://data.sec.gov/submissions/CIK0001326801.json (checked 20 Nov 2026)
