Repository navigation
Conversation
This was referenced Nov 16, 2026
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
3outeille
added a commit
that referenced
this pull request
Nov 16, 2026
…on install Restores the branch to its pre-merge scope: the tester mixin, CI job and test fetcher changes belong to #50796.
3outeille
force-pushed
the
cp-4-tester-mixin
branch
from
November 16, 2026 08:01
4085a84 to
5715b3e
Compare
3outeille
added a commit
that referenced
this pull request
Nov 16, 2026
…on install Restores the branch to its pre-merge scope: the tester mixin, CI job and test fetcher changes belong to #50796.
3outeille
force-pushed
the
cp-4-tester-mixin
branch
from
November 16, 2026 08:03
5715b3e to
557028a
Compare
3outeille
force-pushed
the
cp-4-tester-mixin
branch
from
November 16, 2026 08:07
557028a to
4a8a584
Compare
3outeille
force-pushed
the
cp-4-tester-mixin
branch
from
November 16, 2026 08:20
4a8a584 to
c9c9293
Compare
3outeille
force-pushed
the
cp-4-tester-mixin
branch
2 times, most recently
from
November 20, 2026 06:58
a84ba68 to
415471f
Compare
distributed] Run the context parallel tests on every causal LMdistributed] Run the sequence parallel tests on every causal LM
3outeille
force-pushed
the
cp-4-tester-mixin
branch
from
November 20, 2026 08:49
415471f to
64cee82
Compare
3outeille
added a commit
that referenced
this pull request
Nov 30, 2026
…on install Restores the branch to its pre-merge scope: the tester mixin, CI job and test fetcher changes belong to #50796.
3outeille
force-pushed
the
cp-4-tester-mixin
branch
from
November 30, 2026 06:26
64cee82 to
a2dc247
Compare
3outeille
force-pushed
the
cp-4-tester-mixin
branch
from
November 30, 2026 07:07
a2dc247 to
5c9bde3
Compare
distributed] Run the sequence parallel tests on every causal LMdistributed] Add Sequence Parallel mixin
3outeille
marked this pull request as ready for review
December 1, 2026 11:10
3outeille
force-pushed
the
cp-4-tester-mixin
branch
5 times, most recently
from
December 3, 2026 07:38
6c09e5c to
389d9c1
Compare
…the sequence parallel tests `RUN_SEQUENCE_PARALLEL_TESTS` gates them like the tensor and expert parallel ones, `sequence_parallel_ci` runs them on 6 workers, and the regular jobs deselect them.
…e model `SequenceParallelTesterMixin` joins the bases of `CausalLMModelTest`, next to the FSDP and tensor parallel mixins: every causal language model test class loads its tester's tiny config with `sp_size=2` on 2 CPU ranks, and compares the logits of this rank's slice, the loss and every gradient with the same weights on the whole sequences, plain, packed (`position_ids` restart mid-sequence) and padded (a 2D `attention_mask`, and a length the ranks cannot split evenly). A tester config is only changed when the sequence parallel checks refuse it and the change is harmless: the auxiliary load-balancing loss of the MoE models is turned off. A model the checks still refuse is loaded with `sp_size=2` on both ranks and has to raise `ValueError`; the test then skips with the reason. The allow list starts with 7 model types; set `SEQUENCE_PARALLEL_TEST_MODEL_TYPES = None` to run every causal language model. `_deterministic_init_model_dir` and `_distributed_tmpdir` move from the FSDP mixin to `distributed_testing_utils`, and take the model class to build.
3outeille
force-pushed
the
cp-4-tester-mixin
branch
from
December 3, 2026 07:57
389d9c1 to
5b95153
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Stack: #50493 → #50496 → this PR → #50511 → #50514 → #50521 → #50522
We need to have a
test_distributed_training_mixinafter this PR stack is merged. It will be responsible to tests every interaction of parallelism together on every model