Computing graph compiling method, operation method and related products

By introducing TFUIR hierarchy and packaging and unpacking operations, the problems of compiler optimization effect and memory fetching performance in the deep learning framework are solved, and more efficient compute graph compilation and operation are achieved.

CN119045824APending Publication Date: 2024-11-29CAMBRICON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411106347.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

In the deep learning framework, how to design and implement a general compilation technology route, especially at the multi-level compilation abstraction level, how to provide graph-level optimization processing targeted to improve the optimization effect of the compiler, especially from the calculation diagram In the compilation process of the underlying machine instruction code, how to effectively take into account the information of the algorithm software and execution hardware.

Method used

Introduce the TFUIR level, optimize the calculation graph through operator fusion, package and unpack the constant data such as weights of multiple convolutional layers, improve memory access performance, and optimize data through packaging instructions, memory operation instructions and unpacking instructions Handling and access in memory.

Benefits of technology

It improves the compiler optimization effect and memory fetching performance of computing graphs. Through TFUIR-level optimization processing, IO memory fetching is reduced and the operation efficiency of computing graphs is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119045824A_ABST
    Figure CN119045824A_ABST
Patent Text Reader

Abstract

The invention discloses a computational graph compiling method, a computational graph running method and a related product. A compilation method may be implemented by a processing device. The running method may be implemented by a computing device. The processing device and the computing device may be included in a combined processing device, which may further include an interface device. The computing device interacts with the processing device through the interface device to jointly complete computing operation specified by a user. The combined processing device can further comprise a storage device, and the storage device is connected with the computing device and the processing device and used for storing data of the computing device and the processing device. According to the scheme, the compilation method and the operation method of the computational graph are provided, and an effective performance optimization scheme is provided for accelerated processing of the neural network model on a hardware execution platform.
Need to check novelty before this filing date? Find Prior Art