Tensor parallelism splits tensor computations across processors, runs the pieces concurrently, and combines their results. It helps when a matrix or tensor cannot fit on one processor or its calculations become a throughput bottleneck. section 3.3.2
A practical tensor-parallel workflow follows these decisions:
- Choose a tensor dimension to partition, commonly by rows or columns. section 3.3.2
- Prefer a dimension with more elements than the number of processors so the available resources are fully used. section 3.3.2
- Run the partial calculations concurrently, then communicate and combine the results. section 3.3.2
- Treat the partition choice as a trade-off: different dimensions impose different data-movement costs. section 3.3.2
Splitting a large matrix
Suppose Y is too large for one processor. Split Y by columns or rows, perform the corresponding matrix calculations on separate processors, and combine the partial outputs to obtain the same result. The same principle extends from matrices to tensors with more than two dimensions. section 3.3.2


