Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Application testing method and device, computer equipment and storage medium

A technology of application testing and application platform, which is applied in the field of testing, can solve problems such as poor running effect, dependent libraries that cannot directly realize functional support, and applications that cannot be directly run, so as to ensure the running effect, improve test efficiency and test quality. Effect

Pending Publication Date: 2021-08-17
DAWNING INFORMATION IND BEIJING
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, because the ecology of heterogeneous platforms is not yet perfect, and the dependent libraries of some open source applications are developed based on the mainstream platform environment, for example, some third-party frameworks derived from the deep learning framework PyTorch, such as apex and DeepSpeed, lack functionality on heterogeneous platforms. support
Therefore, if some open source codes applied in the mainstream environment are migrated to the heterogeneous environment, there will be problems such as abnormal functions or performance, which will cause the open source application to fail to run successfully.
For example, the current support for deep learning application examples based on heterogeneous platform ecology mainly has the following problems: (1) Some deep learning applications cannot be directly run on heterogeneous platforms, and some dependent libraries involved cannot directly implement functionality Support, if there is a dependency problem, it is necessary to manually check and determine the underlying dependency problem step by step; (2), although the application program of deep learning can run successfully on the heterogeneous platform, there is still a certain difference in performance from the mainstream platform, resulting in poor running effect

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
  • Application testing method and device, computer equipment and storage medium
  • Application testing method and device, computer equipment and storage medium
  • Application testing method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] figure 1 It is a flow chart of an application testing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of testing the running effect of a target application on a heterogeneous application platform. The method can be executed by an application testing device. The means can be realized by means of software and / or hardware, and generally can be integrated in computer equipment. Correspondingly, such as figure 1 As shown, the method includes the following operations:

[0058] S110. Obtain a target test case of a target application applicable to a mainstream application platform.

[0059] Wherein, the mainstream application platform may be an application platform that only utilizes CPU computing resources, and is a non-heterogeneous computing platform. It can be understood that the fields applicable to mainstream application platforms may include but not limited to various computing fields such as deep learning, natural l...

Embodiment 2

[0070] figure 2 It is a flow chart of an application testing method provided by Embodiment 2 of the present invention. This embodiment is embodied on the basis of the above-mentioned embodiments. In this embodiment, it provides a method for testing the target application according to the target test case The application function support result on the heterogeneous application platform, and multiple specific optional implementation manners of testing the application performance of the target application on the heterogeneous application platform. Correspondingly, such as figure 2 As shown, the method of this embodiment may include:

[0071] S210. Obtain a target test case of a target application applicable to a mainstream application platform, and test an application function support result of the target application on a heterogeneous application platform according to the target test case.

[0072] S220. Determine whether the application function support result passes the ap...

Embodiment 3

[0120] image 3 It is a schematic flowchart of a heterogeneous platform-based deep learning application testing method provided in Embodiment 3 of the present invention. The embodiment of the present invention is mainly described by taking the natural language processing model GNMT based on the ROCm platform (a heterogeneous application platform) as the target application as an example. Correspondingly, the application test method may include the following process steps:

[0121] Step 1. Test the application functionality of the heterogeneous application platform: select the established use case test method of the mainstream platform of the deep learning application, and test the functional support of the deep learning application on the heterogeneous application platform. The test content of the application functional test should be as complete as possible, such as the support of the data type fp32 (single precision data type) or fp16 (half precision data type) in GNMT. If ...

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 embodiment of the invention discloses an application testing method and device, computer equipment and a storage medium. The method comprises the steps of acquiring a target test case of a target application suitable for a mainstream application platform; testing an application function support result of the target application on a heterogeneous application platform according to the target test case; and under the condition of determining that the application function support result passes the application function test, testing the application performance of the target application in the heterogeneous application platform. According to the technical scheme provided by the embodiment of the invention, functional defects and performance difference problems of the heterogeneous application platform can be quickly checked, so that the test efficiency and the test quality of the application are improved, and the running effect of the application on the heterogeneous application platform is ensured.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of testing, and in particular, to an application testing method, device, computer equipment, and storage medium. Background technique [0002] With the accumulation of massive data and the rapid development of hardware equipment, people's demand for computing power is also increasing. Pure CPU (Central Processing Unit / Processor, central processing unit) resources can no longer meet people's computing needs. Therefore, Various types of heterogeneous accelerator cards such as GPU (Graphics Processing Unit, Graphics Processing Unit) accelerator cards are applied. Configuring a heterogeneous accelerator card in a mainstream platform can constitute a heterogeneous platform, which can improve the processing efficiency of the computing platform. [0003] At present, most heterogeneous platforms build corresponding application support based on the basic computing libraries (also called dep...

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): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 艾珊珊许涛胡辰
Owner DAWNING INFORMATION IND BEIJING
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products