Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Project Description

TorchServe (PyTorch mdoel server) is a flexible and easy to use tool for serving deep learning models exported from PyTorch.

Use the TorchServe CLI, or the pre-configured Docker images, to start a service that sets up HTTP endpoints to handle model inference requests.

Prerequisites

  • java 8: Required. TorchServe use java to serve HTTP requests. You must install java 8 (or later) and make sure java is on available in $PATH environment variable before installing torchserve. If you have multiple java installed, you can use $JAVA_HOME environment vairable to control which java to use.

  • PyTorch: Required. Latest version of PyTorch will be installed as a part of TorchServe installation.

For ubuntu:

sudo apt-get install openjdk-8-jdk

For centos

sudo yum install java-1.8.0-openjdk

For Mac:

brew tap caskroom/versions
brew update
brew cask install java8

Install PyTorch:

pip install torch torchvision torchtext

Installation

pip install torchserve

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

Metadata

Release files for torchserve 0.0.1b20200409

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for torchserve 0.0.1b20200409
File Interpreter ABI Platform
torchserve-0.0.1b20200409-py3-none-any.whl Python 3 none any Details

Release files / torchserve-0.0.1b20200409-py3-none-any.whl

Download URL torchserve-0.0.1b20200409-py3-none-any.whl
Size 4.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
20c8ae3e4ac8fc0d430f779f3b812aaef70573c9de8639566bff0803ec537c96
BLAKE2b-256 checksum
How to use checksums
ad6a626c2168d2d755e8b5f427292cf88d7cda72cbea9c1286566b3d2823d77e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.1.0.post20200127 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1

Security for torchserve 0.0.1b20200409

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page