transformers
6579aaf8 - [docs] Add a sequence parallelism page

Commit
9 hours ago
[docs] Add a sequence parallelism page `docs/source/en/sequence_parallelism.md` documents the plan API: the `base_model_sp_plan` default and the two styles, the `sp_plan` override and how to register your own, the model's own masks (packing, padding, sliding windows, chunked attention, custom mask functions), the cost, tensor and expert parallelism, the automatic padding, `Trainer`, and what is refused. The page joins the performance section of the table of contents after FSDP2.
Author
Committer
Parents
Loading