AI engineering glossary · LLM training alignment

What is FSDP (fully sharded data parallel)?

Fully sharded data parallel (also called FSDP): A PyTorch training strategy that shards model parameters, gradients and optimiser state across GPUs and gathers each layer's weights just in time for its computation, allowing much larger models than plain data parallelism.

Level: advancedTopic: LLM training alignment

Fully sharded data parallel: an example

On 8 GPUs, each holds one-eighth of the weights and temporarily gathers a layer's full weights during its forward pass.

Related terms

More LLM training alignment terms

Where you learn it

Fully sharded data parallel 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.