Pipeline parallel method for accelerating neural network training in heterogeneous GPU cluster
Патент · CN B
Полный текст
The invention provides a pipeline parallel method for accelerating neural network training in a heterogeneous GPU cluster, which mainly comprises three parts, namely deep learning model description, isomorphic GPU model division and task placement, and heterogeneous GPU model division and task placement. According to the method, firstly, aiming at the resource requirement of deep learning application in the GPU training process, indexes such as calculated quantity, intermediate result communication quantity, parameter synchronization quantity and the like in the training process when different types of GPUs are used are drawn, and the indexes are used as input for model division and task placement. And then, according to a model depiction result and the GPU cluster environment, designing a partitioning algorithm based on dynamic programming, and realizing the pipeline mixed parallel model partitioning and task placement of heterogeneous GPUs and heterogeneous bandwidth perception, wherein the purpose is to minimize the maximum value of task execution time at each stage after partitioning so as to ensure load balancing and realize efficient distributed training of a deep neural network.