GPU topology partitioning method and device

A topology and partitioning technology, applied in the computer field, can solve problems such as low efficiency, slowing down the computing speed of artificial intelligence, and lack of organization in GPU partitioning, so as to reduce the time-consuming transmission and improve the computing speed

Active Publication Date: 2019-11-05
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, most AI R&D personnel lack the underlying knowledge of GPU. The communication between GPUs in the existing technology is inefficient due to the lack of underlying optimization, and the lack of organization of GPU partitions slows down the calculation speed of AI.
[0003] There is no effective solution to the problem of slowing down the calculation speed of artificial intelligence caused by the lack of organization of GPU partition in the existing technology

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
  • GPU topology partitioning method and device
  • GPU topology partitioning method and device
  • GPU topology partitioning method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0039] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0040] Based on the above purpose, the first aspect of the embodiments of the present invention proposes an embodiment of a method for optimizing topological partitions of GPUs from the bottom layer according to different connection relationships bet...

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 discloses a GPU (Graphics Processing Unit) topological partitioning method and device. The GPU topological partitioning method comprises the following steps: determining interconnectionbandwidths among a plurality of GPUs according to physical topological information of the plurality of GPUs, and generating a GPU topological graph comprising the plurality of GPUs; randomly dividinga plurality of GPUs in the GPU topological graph into two partitions; calculating migration gains of all GPUs in the GPU topological graph, migrating the GPU with the highest migration gain in the partitions including more GPUs to the partitions including less GPUs, calculating the number of cross-partition connections of the current partition scheme, and removing the migrated GPUs from the GPU topological graph; and repeating the previous step until all GPUs in the GPU topological graph are removed, and selecting a partition scheme with the minimum number of cross-partition connections as a partition result. According to the method, the topological partitions of the GPUs can be optimized from the bottom layer in a targeted mode according to different connection relations between the GPUs,the transmission time consumption between the GPUs is reduced, and the calculation speed of artificial intelligence is increased.

Description

technical field [0001] The present invention relates to the field of computers, and more specifically, to a GPU topology partitioning method and device. Background technique [0002] In the fields of high-performance computing and artificial intelligence, GPUs are often used for computing acceleration. GPU is used on a large scale due to its powerful computing power and low power consumption, especially in the hot field of artificial intelligence in recent years, most of the model training is based on GPU, which can save a lot of computing time, thus Accelerate model iteration. Due to the high cost of GPUs, more and more artificial intelligence researchers hope to fully improve the resource utilization of GPUs and maximize the value of GPUs under limited GPU resources. However, most artificial intelligence developers lack the underlying knowledge of GPUs. The communication between GPUs in the existing technology is inefficient due to the lack of underlying optimization, an...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06T1/20G06F15/173
CPCG06T1/20G06F15/17356
Inventor 王德奎
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products