AI Infra Interviews logo

Meta Distributed Training & Parallelism interview questions

Distributed Training & Parallelism is a core part of the Meta AI Infrastructure Engineer loop. DDP, ZeRO and FSDP, tensor, pipeline, context and expert parallelism, collectives and their cost, MFU, activation checkpointing, elastic and fault-tolerant training, checkpoint economics and the RL post-training stack. Owning the training run at cluster scale. Below are the distributed training & parallelism questions to prepare, the ones tagged to Meta first, then the highest-signal questions from our Distributed Training & Parallelism track, each with an answer written to a senior-engineer bar.

WHAT META LOOKS FOR HERE · LeetCode-medium coding in 45 minutes without execution, plus the practical AI-enabled round. See the full Meta interview process →

Distributed Training & Parallelism questions tagged to Meta

20 questions · 7 unlocked for you

More Distributed Training & Parallelism questions for Meta's loop

The highest-signal distributed training & parallelism questions candidates rate most useful, modeled on what Meta's AI Infrastructure Engineer loop tests.

6 questions · 3 unlocked for you

Concepts behind Meta's Distributed Training & Parallelism round

The vocabulary and mental models these questions assume. Start with the foundations free; the deeper, interview-defining ideas are part of premium.

Foundational
Data Parallelism and DDPData parallelism gives every GPU a full copy of the model, feeds each a different slice of the batch, and averages the gradients with an all-reduce so every replica takes the same optimizer step. It is the first parallelism every training job uses, and the tokens-per-GPU arithmetic behind it decides whether the communication hides behind the backward pass or dominates the step.
Core
Sign in
ZeRO and FSDPZeRO and FSDP keep data parallelism's simple programming model but shard the optimizer state, gradients and parameters across ranks, cutting per-GPU memory from 16 bytes per parameter toward 16/N. The price is 1.5x DDP's communication and a dependence on tokens per GPU that decides when sharding stops paying and tensor parallelism takes over.
Advanced
🔒 Premium
Tensor ParallelismTensor parallelism splits individual weight matrices across GPUs so each rank computes a slice of every layer, which is how a model whose single layer does not fit one GPU gets trained at all. It costs four all-reduces per transformer block on the critical path, which is why it stays inside the NVLink domain and rarely exceeds 8 ranks.
Advanced
🔒 Premium
Pipeline Parallelism and the BubblePipeline parallelism puts consecutive groups of layers on different GPUs and streams micro-batches through them, which is the only parallelism whose traffic is small enough to cross a slow fabric comfortably. Its cost is the bubble, the idle time while the pipeline fills and drains, and the schedule you pick (GPipe, 1F1B, interleaved, zero-bubble) decides how much of each step is wasted.
Advanced
🔒 Premium
Context and Sequence ParallelismContext parallelism splits a single long sequence across GPUs so that attention over 128k tokens fits in memory that would otherwise need terabytes of activations per layer. Ring attention rotates key-value blocks around the ranks while queries stay put, and grouped-query attention is what makes that rotation cheap enough to hide behind the attention math.
Advanced
🔒 Premium
Expert Parallelism for MoEA mixture-of-experts layer runs only a few of its experts per token, so the experts can be spread across GPUs and each token shipped to the ranks that hold its chosen experts. That shipping is an all-to-all in each direction, twice per layer per pass, and its cost plus the load imbalance between experts is what expert parallelism is really about.
Foundational
Collective Communication PrimitivesAll-reduce, all-gather, reduce-scatter, all-to-all and broadcast are the five operations every parallelism strategy is built from, and each has a fixed per-rank traffic cost you can compute before a job runs. Knowing those volumes for a named model is how you decide whether a layout is compute-bound or waiting on the network.
Advanced
🔒 Premium
Ring vs Tree All-ReduceA ring all-reduce moves the minimum possible bytes per rank but takes 2(N-1) steps, so its latency grows with the number of GPUs; a tree finishes in a logarithmic number of steps but is harder to keep bandwidth-optimal. NCCL keeps both, chooses per message size and rank count, and reading its choice is how you diagnose a collective that is slower than the fabric allows.
META DISTRIBUTED TRAINING & PARALLELISM FAQ
What Distributed Training & Parallelism questions does Meta ask in interviews?

Meta's AI Infrastructure Engineer loop draws distributed training & parallelism questions such as "In data-parallel training, what actually gets communicated between GPUs, and how much is it per step?", "Compare data, tensor and pipeline parallelism. What does each one shard, what does each one communicate, and where does each one live?", "What is MFU, how do you compute it from a running job, and what counts as a good number?". DDP, ZeRO and FSDP, tensor, pipeline, context and expert parallelism, collectives and their cost, MFU, activation checkpointing, elastic and fault-tolerant training, checkpoint economics and the RL post-training stack. Owning the training run at cluster scale. The full set, ordered easy to hard with expert answers, is below.

How should I prepare for the Meta Distributed Training & Parallelism round?
Does Meta hire AI infrastructure engineers?
What does the Meta AI infrastructure interview test?

Other Meta interview rounds

The other tracks Meta's AI Infrastructure Engineer loop tests.

Prep the whole Meta AI Infrastructure Engineer loop

Distributed Training & Parallelism is one round. Unlock every answer across Meta's full loop, plus the concept curriculum, for 6 months. One payment, no auto-renewal. Free questions in every track to start.

Independent and not affiliated with Meta. All trademarks belong to their owners.