# Tensor Parallelism

- **Canonical URL:** https://getaimath.com/dictionary/tensor-parallelism/
- **Topics:** [AI Infrastructure & Runtime](https://getaimath.com/dictionary/category/ai-infrastructure-and-runtime/)
- **Last updated:** 2026-11-25

## What is Tensor Parallelism?

**In one sentence:** Tensor parallelism splits individual layers of a model across several GPUs, so each GPU computes part of every layer.

Each big matrix is divided, like cutting a giant spreadsheet into column groups that different people work on at once. GPUs then share results. It needs very fast connections like NVLink.

![AI Runtime Engines: Sharing the Oven So Nobody Waits in Line — Simple cartoon showing 4 users ordering at a coffee counter: instead of making everyone wait behind one huge order, a smart Runtime Engine serves all 4 side-by-side at the same time.](https://getaimath.com/diagrams/ai-infrastructure-and-runtime.png)
*Napkin Diagram (AI Infrastructure & Runtime): A runtime engine is the traffic controller that lets one AI chip serve dozens of people at once without anyone getting stuck.*

## What is an example of Tensor Parallelism?

A 70B model running with tensor parallelism on 8 GPUs splits each layer's math 8 ways.

## Why does Tensor Parallelism matter?

It lets big models run fast across multiple GPUs.

## Related Concepts

- [Model Sharding](https://getaimath.com/dictionary/model-sharding/): Model sharding splits a model's weights into pieces, called shards, that are stored or run on different devices or files.
- [Pipeline Parallelism](https://getaimath.com/dictionary/pipeline-parallelism/): Pipeline parallelism splits a model by layers, giving each GPU a group of consecutive layers.
- [Model Deployment](https://getaimath.com/dictionary/model-deployment/): Model deployment is the process of putting a trained model into real use, in an app, server or device.
- [Data Parallelism](https://getaimath.com/dictionary/data-parallelism/): Data parallelism trains copies of the same model on different GPUs, each with different data, then combines what they learned.
- [Model Serving](https://getaimath.com/dictionary/model-serving/): Model serving is running a trained model so people or apps can use it reliably, usually through an API.
- [Expert Parallelism](https://getaimath.com/dictionary/expert-parallelism/): Expert parallelism spreads the experts of an MoE model across different GPUs, so each GPU holds and runs some of the experts.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/tensor-parallelism/)
