Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[DSD] Make distributed state_dict support torch.distributed is not initialized case #127385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

[ghstack-poisoned]
Copy link

pytorch-bot bot commented May 29, 2024

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ You can merge normally! (1 Unrelated Failure)

As of commit 86da2b0 with merge base a60b06b (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 module: distributed_checkpoint oncall: distributed Add this issue/PR to distributed oncall triage queue labels May 29, 2024
fegin added a commit that referenced this pull request May 29, 2024
…itialized case

Summary:
Allow DSD to support loading the regular optimizer state_dict and can be used when torch.distributed.is_initialized() is False.

ghstack-source-id: cca0ac8
Pull Request resolved: #127385
@fegin fegin added release notes: distributed (checkpoint) ciflow/trunk Trigger trunk jobs on your pull request labels May 29, 2024
@fegin fegin requested review from wz337 and LucasLLC May 29, 2024 08:06
[ghstack-poisoned]
fegin added a commit that referenced this pull request May 29, 2024
…itialized case

Summary:
Allow DSD to support loading the regular optimizer state_dict and can be used when torch.distributed.is_initialized() is False.

ghstack-source-id: 07ce000
Pull Request resolved: #127385
Copy link
Contributor

@wz337 wz337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

[ghstack-poisoned]
@fegin fegin added the ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR label May 31, 2024
@fegin
Copy link
Contributor Author

fegin commented May 31, 2024

@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

bigfootjon pushed a commit that referenced this pull request Jun 5, 2024
…itialized case (#127385)

Fixes #124942

Summary:
Allow DSD to support loading the regular optimizer state_dict and can be used when torch.distributed.is_initialized() is False.

Pull Request resolved: #127385
Approved by: https://github.com/wz337
ghstack dependencies: #127070, #127071, #127384

(cherry picked from commit 64c581a)
petrex pushed a commit to petrex/pytorch that referenced this pull request Jun 5, 2024
…itialized case (pytorch#127385)

Fixes pytorch#124942

Summary:
Allow DSD to support loading the regular optimizer state_dict and can be used when torch.distributed.is_initialized() is False.

Pull Request resolved: pytorch#127385
Approved by: https://github.com/wz337
ghstack dependencies: pytorch#127070, pytorch#127071, pytorch#127384
@github-actions github-actions bot deleted the gh/fegin/247/head branch July 1, 2024 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/periodic Trigger jobs ran periodically on master (periodic.yml) on the PR ciflow/trunk Trigger trunk jobs on your pull request Merged oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: distributed (checkpoint)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.