Token-local operations can shard cleanly.
Layer normalization, dropout, and residual operations act independently over token positions. Each device can own a contiguous sequence slice.
Sequence parallelism partitions token activations across devices for operations such as normalization and dropout. Explore the memory savings and collective communication behind the shard boundary.
Open the simulatorLayer normalization, dropout, and residual operations act independently over token positions. Each device can own a contiguous sequence slice.
Reduce-scatter creates sequence shards after a row-parallel projection; all-gather restores the full sequence before operations that require it.
Token activations divide approximately by the number of sequence-parallel workers.
Activation memory grows linearly with sequence length, hidden width, and microbatch size.
Collectives can overlap independent compute, but exposed communication remains on the critical path.