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

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

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

Active Publication Date: 2020-07-28
BEIJING 58 INFORMATION TTECH CO LTD
View PDF6 Cites 12 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 and device, electronic equipment and storage medium
  • Deep learning model online reasoning method and device, electronic equipment and storage medium
  • Deep learning model online reasoning method and 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 invention provides a deep learning model online reasoning method and device, electronic equipment and a storage medium. The method comprises the steps: receiving an online reasoning request through an RPC calling interface corresponding to a deep learning framework; obtaining a node configuration file corresponding to a deep learning model deployed based on the deep learning framework, whereinthe node configuration file comprises IP addresses and ports of a plurality of nodes; determining one node from the plurality of nodes as an inference node, and sending the online inference request to the inference node according to an IP address and a port of the inference node, so as to enable the inference node to call the deep learning model to obtain an inference result; and receiving an inference result returned by the inference node. According to the invention, the online reasoning requests are uniformly received through the RPC calling interface, and the reasoning node for executing online reasoning is determined from the plurality of nodes of the deployment deep learning model through the load balancing strategy, so that the online reasoning performance is improved.

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
IPC IPC(8): G06N5/04G06F9/54
CPCG06F9/547G06N5/04
Inventor 封宇陈兴振陈泽龙
Owner BEIJING 58 INFORMATION TTECH CO LTD