Data parallelism and halo exchange for distributed machine learning
AssigneeIntel Corporation
InventorsDipankar Das, KARTHIKEYAN VAIDYANATHAN, Srinivas Sridharan
Life of this patent
Estimating the term…
Abstract
One embodiment provides for a method of transmitting data between multiple compute nodes of a distributed compute system, the method comprising multi-dimensionally partitioning data of a feature map across multiple nodes for distributed training of a convolutional neural network; performing a parallel convolution operation on the multiple partitions to train weight data of the neural network; and exchanging data between nodes to enable computation of halo regions, the halo regions having dependencies on data processed by a different node.
Claims20
A general-purpose graphics processing unit comprising:
- a processing array including multiple compute blocks, each compute block including multiple processing clusters;
- a memory module;
- and
- a fabric interface to facilitate data exchange with an external processor over a communication fabric, the fabric interface to transfer data stored in the memory module to an external processor to enable computation operations on a halo region, the compute operations on the halo region having a dependency on data stored in the memory module.
A method of transmitting data between multiple compute nodes of a distributed training system for a neural network, the method comprising:
- multi-dimensionally partitioning data of a feature map into multiple partitions;
- distributing the multiple partitions across multiple nodes of the distributed training system;
- performing a distributed parallel convolution operation on the multiple partitions to train weight data of the neural network;
- and
- exchanging data between nodes to enable a compute operation for a halo region, the halo region having dependency on data processed by a different node.
A data processing system to accelerate a distributed training operation for a neural network, the data processing system comprising:
- a heterogeneous processing system including a general-purpose processor and a general-purpose graphics processor;
- a memory module;
- a non-transitory machine-readable medium to store instructions for execution by the heterogeneous processing system to cause the heterogeneous processing system to:
- identify a memory address within the memory module associated with a halo region of a layer of a neural network, wherein the halo region is a region of the layer of the neural network in which compute operations have a dependency on data associated with multiple different nodes of the distributed training operation;
- determine a cache line within the general-purpose graphics processor associated with the memory address;
- monitor the cache line for updates to the data associated with the halo region;
- and
- automatically transfer the updates to the data associated with the halo region to a node of the distributed training operation having a dependency upon the data.
Dependencies are inferred from the claim text.