Tensor management method, electronic device, storage medium and program product
By introducing tensor pools and intelligent tensor data structures in deep learning model training, we ensure that the tensors used in each iteration have the same memory address, solving the performance optimization problem caused by inconsistent memory address, and achieving resource multiplexing and performance acceleration.
Patent Information
- Application Number
- CN202510239452.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-03
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2045-03-03
AI Technical Summary
During the training of deep learning model, the memory address allocated to the tensor each time is different, which makes it impossible to meet the performance optimization requirements, especially in high-performance communication scenarios.
By introducing tensor pools and intelligent tensor data structures, based on the attribute information of the tensors required by the current operator, we look up or create corresponding tensor queues from the tensor pool to ensure that the tensors used in each iteration are consistent in the memory address.
The reuse of tensor memory resources is realized, reducing the complexity of data transmission and synchronization, and reducing memory access latency, thereby accelerating the performance of model training.