[KongchangAI]
ConceptData Parallelism / DP

Data parallelism

A parallelism strategy in distributed training that distributes different data batches across multiple GPUs, with each GPU holding a complete model replica and synchronizing only gradients. It is simple to implement but incurs high memory overhead.

Timeline (last 90 days)

Oct 21

Data parallelism distributes different data batches across multiple GPUs, with each GPU holding a full model replica and only gradients needing synchronization; it is simple to implement but incurs high memory overhead.

Unverified50%
Oct 15

Tensor parallelism, pipeline parallelism and data parallelism are the three basic strategies for distributed training of large models, and they are often used in combination (i.e. 3D parallelism).

Unverified50%
Oct 8

Megatron Core adopts a three-dimensional parallelism strategy combining tensor parallelism, pipeline parallelism, and data parallelism.

Unverified50%
Sep 22

Data parallelism requires gradient synchronization across all nodes, with communication volume proportional to the scale of model parameters.

Unverified50%
Sep 22

In topology-aware scheduling practice, GPUs in a tensor-parallel group should be preferentially placed within the same node, pipeline stages can span nodes but should ideally be on the same rack, and data-parallel replicas can be distributed flexibly.

Unverified50%
Sep 12

Parallelization strategies for multi-GPU inference include tensor parallelism (splitting individual mathematical operations across multiple GPUs), pipeline parallelism (assigning different neural network layers to different GPUs), and data parallelism (replicating the entire model to process multiple batches of data).

Unverified50%
Sep 11

Data parallelism replicates the same model to multiple devices, each processing different batches of data before synchronizing gradients; model parallelism distributes different layers or modules of the model to different devices.

Unverified50%

All Facts (8)

Unverified

块调度建议将张量并行(TP)限制在NVLink带宽最高的GPU子集内(同一个最小块),数据并行(DP)跨块分布,流水线并行(PP)沿拓扑层次展开

85%
Unverified

Data parallelism distributes different data batches across multiple GPUs, with each GPU holding a full model replica and only gradients needing synchronization; it is simple to implement but incurs high memory overhead.

50%
Unverified

Tensor parallelism, pipeline parallelism and data parallelism are the three basic strategies for distributed training of large models, and they are often used in combination (i.e. 3D parallelism).

50%
Unverified

Megatron Core adopts a three-dimensional parallelism strategy combining tensor parallelism, pipeline parallelism, and data parallelism.

50%
Unverified

In topology-aware scheduling practice, GPUs in a tensor-parallel group should be preferentially placed within the same node, pipeline stages can span nodes but should ideally be on the same rack, and data-parallel replicas can be distributed flexibly.

50%
Unverified

Data parallelism requires gradient synchronization across all nodes, with communication volume proportional to the scale of model parameters.

50%
Unverified

Parallelization strategies for multi-GPU inference include tensor parallelism (splitting individual mathematical operations across multiple GPUs), pipeline parallelism (assigning different neural network layers to different GPUs), and data parallelism (replicating the entire model to process multiple batches of data).

50%
Unverified

Data parallelism replicates the same model to multiple devices, each processing different batches of data before synchronizing gradients; model parallelism distributes different layers or modules of the model to different devices.

50%

Source Articles