AI Infra Interviews logo
← Distributed Training & Parallelism / 12
hardMetaAnthropicGoogle

How do sequence parallelism and context parallelism make 128k-context training of a 405B possible, and what do they cost?

Trace a causal query across local and remote KV blocks. Separate sequence and context sharding, count one concrete tensor, and avoid dividing memory twice.

Updated Oct 2026 · Learn how AI infrastructure works through explanations, worked examples and diagrams, then practise applying it to interview questions.

Trace a causal query across local and remote KV blocks. Separate sequence and context sharding, count one concrete tensor, and avoid dividing memory twice.

This answer is included with a free account. Sign in to read it and save your progress.

free account · no card needed

Work through the numbers

Change the assumptions in a free calculator, then explain what the result establishes and what still needs measurement.

UP NEXT ON YOUR JOURNEY
FEDITOR'S NOTE

Distinguish sequence and context ownership, trace causal attention across remote blocks and count named tensors once. Explain the communication assumptions before claiming a memory fit.

DISCUSSION · 0

No comments yet — be the first to share your approach.