MindSpore is a new open source deep learning training/inference framework that could be used for mobile, edge and cloud scenarios.
Project description
MindSpore Serving
Overview
MindSpore Serving is a lightweight and high-performance service module that helps MindSpore developers efficiently deploy online inference services in the production environment. After completing model training on MindSpore, you can export the MindSpore model and use MindSpore Serving to create an inference service for the model.
MindSpore Serving architecture:
MindSpore Serving includes two parts: Client
and Server
. On a Client
node, you can deliver inference service
commands through the gRPC or RESTful API. The Server
consists of a Main
node and one or more Worker
nodes.
The Main
node manages all Worker
nodes and their model information, accepts user requests from Client
s, and
distributes the requests to Worker
nodes. Servable
is deployed on a worker node, indicates a single model or a
combination of multiple models and can provide different services in various methods. `
On the server side, when MindSpore is used as the inference backend,, MindSpore Serving supports the Ascend 910/310P/310 and Nvidia GPU environments. When MindSpore Lite is used as the inference backend, MindSpore Serving supports Ascend 310, Nvidia GPU and CPU environments. Client` does not depend on specific hardware platforms.
MindSpore Serving provides the following functions:
- gRPC and RESTful APIs on clients
- Pre-processing and post-processing of assembled models
- Batch. Multiple instance requests are split and combined to meet the
batch size
requirement of the model. - Simple Python APIs on clients
- The multi-model combination is supported. The multi-model combination and single-model scenarios use the same set of interfaces.
- Distributed model inference
Installation
For details about how to install and configure MindSpore Serving, see the MindSpore Serving installation page.
Quick Start
MindSpore-based Inference Service Deployment is used to demonstrate how to use MindSpore Serving.
Documents
Developer Guide
- gRPC-based MindSpore Serving Access
- RESTful-based MindSpore Serving Access
- Services Provided Through Model Configuration
- Services Composed of Multiple Models
- MindSpore Serving-based Distributed Inference Service Deployment
For more details about the installation guide, tutorials, and APIs, see MindSpore Python API.
Community
Governance
Communication
- MindSpore Slack developer communication platform
Contributions
Welcome to MindSpore contribution.
Release Notes
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file mindspore_serving-2.0.2-cp39-none-any.whl
.
File metadata
- Download URL: mindspore_serving-2.0.2-cp39-none-any.whl
- Upload date:
- Size: 7.4 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81bef8dbaf0cbd6a33db382bdeed6e2af1ec24b7516544cbb2c2973d714352cd |
|
MD5 | 449269408ff8b26a1e60edf8dd8743f2 |
|
BLAKE2b-256 | b3a5dfbfab7531c553d8a333f738255dd198fd15e5dd94d7f6a1368e00d45d80 |
File details
Details for the file mindspore_serving-2.0.2-cp39-cp39-manylinux1_x86_64.whl
.
File metadata
- Download URL: mindspore_serving-2.0.2-cp39-cp39-manylinux1_x86_64.whl
- Upload date:
- Size: 7.8 MB
- Tags: CPython 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 962046e09aa043d609d3e90642ab76d0f5604b9e0fb658d55cbf1a32435a7f5f |
|
MD5 | 7f243124a66077d8f0f3ab6e7dc5a3b2 |
|
BLAKE2b-256 | 848c0143bcb5fceeb2e7f9fc4c066e9101c2b929a3455a6f91a82a1fcb12aa3b |
File details
Details for the file mindspore_serving-2.0.2-cp38-none-any.whl
.
File metadata
- Download URL: mindspore_serving-2.0.2-cp38-none-any.whl
- Upload date:
- Size: 7.4 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0fc3cb67b81c1221ef517b07e6c6314a1f287cfaf537053bf0f31d15a22bcc3 |
|
MD5 | acb3b4ccf300362875c98735a1981ed3 |
|
BLAKE2b-256 | 6ff9558297aebe2a13b9db602e7b3252cd250dfa9459b531067c4388f40ebd92 |
File details
Details for the file mindspore_serving-2.0.2-cp38-cp38-manylinux1_x86_64.whl
.
File metadata
- Download URL: mindspore_serving-2.0.2-cp38-cp38-manylinux1_x86_64.whl
- Upload date:
- Size: 7.8 MB
- Tags: CPython 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae9f023d4bdee7631ac4ab4c7badf30ad04ab5338f5065fbf597a71c6af7ede3 |
|
MD5 | 1180f20f862bc2074d77cb4b39d37293 |
|
BLAKE2b-256 | 3fdd871b5a5de2cbf06d16143e8909c016f59e7e46a88b68ece89fa4403aa45b |
File details
Details for the file mindspore_serving-2.0.2-cp37-none-any.whl
.
File metadata
- Download URL: mindspore_serving-2.0.2-cp37-none-any.whl
- Upload date:
- Size: 7.4 MB
- Tags: CPython 3.7
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 445f5e8de313be786785de1bbd6916d404cc232d9a1b3c2934b8039f462cd627 |
|
MD5 | 30f4d88f152ff88a3609dd5aff123813 |
|
BLAKE2b-256 | 4e2ddb33e53e0c37b62cb81b51d16febce2fa2b02941b968e6b45a7b8e3566d5 |
File details
Details for the file mindspore_serving-2.0.2-cp37-cp37m-manylinux1_x86_64.whl
.
File metadata
- Download URL: mindspore_serving-2.0.2-cp37-cp37m-manylinux1_x86_64.whl
- Upload date:
- Size: 7.8 MB
- Tags: CPython 3.7m
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9283a64dc650de8efa7b9de24c6153c7ed6c2300630ef4257f689ae973c9046 |
|
MD5 | da5f9ac6f91fc5eb78422d2b11d1fbf2 |
|
BLAKE2b-256 | 7e76a295af110859320bfe1be880377dc62a8d03e5c38c8c77be127b6ea9fda4 |