Shortcuts

⚠️ Notice: Limited Maintenance

This project is no longer actively maintained. While existing releases remain available, there are no planned updates, bug fixes, new features, or security patches. Users should be aware that vulnerabilities may not be addressed.

TorchServe REST API

TorchServe uses a RESTful API for both inference and management calls. The API is compliant with the OpenAPI specification 3.0. You can easily generate client side code for Java, Scala, C#, or Javascript by using swagger codegen.

When TorchServe starts, it starts two web services:

By default, TorchServe listens on port 8080 for the Inference API and 8081 for the Management API. Both APIs are accessible only from localhost by default. To enable access from a remote host, see TorchServe Configuration.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources