Asked about Training something too big for one GPU

What is the difference between data and tensor parallelism?

An answer that works

Data parallelism replicates the whole model on each device and splits the batch, requiring the model to fit on one device. Tensor parallelism splits individual layers across devices for models too large for one, at the cost of communication inside every layer.

Reading an answer is not being able to give one. The section that teaches this is Training something too big for one GPU, 5 hours of Distributed training.

Learn this properly