Repository navigation
[CI] Trigger FakePG integration test for Stacked PRs - #4613
Conversation
|
Warning: Unknown label
Please add the new label to .github/pytorch-probot.yml |
| @@ -1,5 +1,7 @@ | |||
| ciflow_push_tags: | |||
| - ciflow/b200 | |||
| - ciflow/fake-pg | |||
There was a problem hiding this comment.
why and when do we need this tag?
There was a problem hiding this comment.
Why: The current stacked PR is not triggering 1 fake PG tests. This tag is mimicing the original ciflow/8gpu behavior in #2114 which is proofed to be stack-PR safe.
When: The bot will label this tag automatically for all the PRs (normal PR and stacked PR), but we need this tag today because torchtitan repo has a lot of PR stacks. The bot converts the automatically applied ciflow/fake-pg label into a moving ciflow/fake-pg/<PR> tag pointing at each stacked PR's head and kick of CI when ciflow/fake-pg/<PR> is updated.
There was a problem hiding this comment.
gh stack seems fine with the tests? Agreed that ghstack may have problem.
34f7e7f to
dd5d1bf
Compare
| @@ -1,5 +1,7 @@ | |||
| ciflow_push_tags: | |||
| - ciflow/b200 | |||
| - ciflow/fake-pg | |||
There was a problem hiding this comment.
gh stack seems fine with the tests? Agreed that ghstack may have problem.
Summary
ciflow/fake-pgonly to ready, non-draft PRs with relevant code or test changesciflow/fake-pg/*tag to run both broad 1-GPU Fake PG coverage and the 8-GPUreal_pg_requiredsubsetciflow/real-pgas the opt-in trigger for the full 8-GPU Real PG suiteexecution_modeinputWhy
The historical
ciflow/8gpulabel and moving tag allowed integration CI to run on stacked PRs whose base was notmain. After that label was repurposed as an opt-in full-suite trigger, stacked PRs could miss required integration coverage. PR #4322 exposed this gap: its PR checks passed, but five model configurations failed immediately after landing onmain.This change separates the two responsibilities:
ciflow/fake-pgis automatically managed and triggers both Fake PG coverage and thereal_pg_requiredReal PG subset for normal and stacked PRs.ciflow/real-pgis manually applied when the full 8-GPU suite is desired before landing.The full Real PG suite continues to run after pushes to
main, on schedule, and through manual or Real PG reusable workflow invocations.Failing post-merge run: https://github.com/pytorch/torchtitan/actions/runs/34625822895/job/103350597237
Testing