AI engineering glossary · Deep learning core

What is model parallelism?

Model parallelism: A way of training a network too large for one device by splitting the model itself, such as its layers or weight matrices, across several devices that pass activations between them. It contrasts with data parallelism, which copies the whole model.

Level: advancedTopic: Deep learning core

Model parallelism: an example

Layers 1-12 of a 24-layer network sit on GPU 0 and layers 13-24 on GPU 1.

Related terms

More Deep learning core terms

Where you learn it

Model parallelism is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.