Unlock instant, AI-driven research and patent intelligence for your innovation.

Deep learning model online reasoning method, device, electronic equipment and storage medium

A deep learning and reasoning method technology, applied in the field of deep learning, can solve problems such as high learning cost and poor online reasoning performance

Active Publication Date: 2021-08-20
BEIJING 58 INFORMATION TTECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing technology, these two deep learning frameworks are deployed on a single node, which leads to poor online reasoning performance when the amount of data is large
Moreover, there are various deep learning frameworks. If developers use different deep learning frameworks, they need to be familiar with multiple frameworks, and the learning cost is high.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Deep learning model online reasoning method, device, electronic equipment and storage medium
  • Deep learning model online reasoning method, device, electronic equipment and storage medium
  • Deep learning model online reasoning method, device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0082] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0083] figure 1 It is a flow chart of the steps of an online inference method for a deep learning model provided by an embodiment of the present invention, which can be executed by a server that provides a unified call RPC service, such as figure 1 As shown, the method may include:

[0084] Step 101, receiving an online reasoning request through an RPC call interface corresponding to a deep learning framework.

[0085] Among them, a deep lear...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a deep learning model online reasoning method, device, electronic equipment and storage medium. The method includes: receiving an online reasoning request through an RPC call interface corresponding to the deep learning framework; acquiring the depth based on the deployment of the deep learning framework A node configuration file corresponding to the learning model, the node configuration file including IP addresses and ports of multiple nodes; determining a node from the multiple nodes as an inference node, and according to the IP address and port of the inference node The online inference request is sent to the inference node, so that the inference node invokes the deep learning model to obtain an inference result; and the inference result returned by the inference node is received. The present invention realizes unified reception of online reasoning requests through the RPC call interface, and determines the reasoning node for performing online reasoning from multiple nodes deploying a deep learning model through a load balancing strategy, thereby improving online reasoning performance.

Description

technical field [0001] The present invention relates to the technical field of deep learning, in particular to an online reasoning method, device, electronic equipment and storage medium of a deep learning model. Background technique [0002] When doing deep learning algorithms, after the model training is completed, it is often necessary to deploy the model in the production environment to achieve online reasoning. The most common way is to provide an API on the server, that is, the client sends a request in a specific format to an API of the server, and the server performs calculations through the model after receiving the request data, and returns the result. [0003] Deep learning algorithms can be implemented through the deep learning framework TensorFlow model or PyTorch model during online reasoning. In the prior art, these two deep learning frameworks are deployed on a single node, which leads to poor online reasoning performance when the amount of data is large. M...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06N5/04G06F9/54
CPCG06F9/547G06N5/04
Inventor 封宇陈兴振陈泽龙
Owner BEIJING 58 INFORMATION TTECH CO LTD