Skip to content

[PP] Update backward_counter and fsdp util to schedule class#165513

Closed
H-Huang wants to merge 2 commits intogh/H-Huang/225/basefrom
gh/H-Huang/225/head
Closed

[PP] Update backward_counter and fsdp util to schedule class#165513
H-Huang wants to merge 2 commits intogh/H-Huang/225/basefrom
gh/H-Huang/225/head

Conversation

@H-Huang
Copy link
Member

@H-Huang H-Huang commented Oct 15, 2025

Stack from ghstack (oldest at bottom):

Fixed one issue with FSDP last reshard not being called.

Rest is mostly refactoring, changing some variables to be class variables so they can be used in pytorch/torchtitan#1721

cc @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @pragupta @msaroufim @dcci

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 15, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/165513

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (1 Unrelated Failure)

As of commit 26ec796 with merge base b11593c (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot bot added the oncall: distributed Add this issue/PR to distributed oncall triage queue label Oct 15, 2025
H-Huang added a commit that referenced this pull request Oct 15, 2025
@H-Huang H-Huang added the release notes: distributed (pipeline) release notes category label Oct 15, 2025
[ghstack-poisoned]
H-Huang added a commit that referenced this pull request Oct 15, 2025
@H-Huang H-Huang requested review from fegin, kwen2501 and wwwjn October 15, 2025 04:15
@H-Huang H-Huang added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 15, 2025
@H-Huang
Copy link
Member Author

H-Huang commented Oct 15, 2025

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Oct 21, 2025
…#165513)

Fixed one issue with FSDP last reshard not being called.

Rest is mostly refactoring, changing some variables to be class variables so they can be used in pytorch/torchtitan#1721

Pull Request resolved: pytorch#165513
Approved by: https://github.com/fegin
@github-actions github-actions bot deleted the gh/H-Huang/225/head branch November 15, 2025 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request Merged oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: distributed (pipeline) release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants