Skip to content
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

[FSDP] Include module classes in ModuleWrapPolicy.__repr__ #89058

Closed
wants to merge 2 commits into from

Conversation

awgu
Copy link
Contributor

@awgu awgu commented Nov 15, 2022

Stack from ghstack:

Before:

<torch.distributed.fsdp.wrap.ModuleWrapPolicy object at 0x7fd4280f0fd0>

After:

<torch.distributed.fsdp.wrap.ModuleWrapPolicy object at 0x7fd4280f0fd0>({<class 'transformers.models.t5.modeling_t5.T5Block'>})

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 15, 2022

🔗 Helpful Links

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

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

✅ No Failures

As of commit 1c982b1:
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot bot added the release notes: distributed (fsdp) release notes category label Nov 15, 2022
awgu added a commit that referenced this pull request Nov 15, 2022
ghstack-source-id: 88c6116153ada8366264d37649ff32964730a11b
Pull Request resolved: #89058
@awgu awgu added the topic: improvements topic category label Nov 15, 2022
awgu added a commit to awgu/pytorch that referenced this pull request Nov 23, 2022
ghstack-source-id: 88c6116153ada8366264d37649ff32964730a11b
Pull Request resolved: pytorch#89058
awgu added a commit to awgu/pytorch that referenced this pull request Nov 29, 2022
ghstack-source-id: 88c6116153ada8366264d37649ff32964730a11b
Pull Request resolved: pytorch#89058
Before:
```
<torch.distributed.fsdp.wrap.ModuleWrapPolicy object at 0x7fd4280f0fd0>
```
After:
```
<torch.distributed.fsdp.wrap.ModuleWrapPolicy object at 0x7fd4280f0fd0>({<class 'transformers.models.t5.modeling_t5.T5Block'>})
```

[ghstack-poisoned]
awgu added a commit that referenced this pull request Nov 29, 2022
ghstack-source-id: 9414cc7bbacaa3757e63ce98e055260d681db677
Pull Request resolved: #89058
@awgu awgu added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 29, 2022
@awgu
Copy link
Contributor Author

awgu commented Nov 30, 2022

@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

kulinseth pushed a commit to kulinseth/pytorch that referenced this pull request Dec 10, 2022
…#89058)

Before:
```
<torch.distributed.fsdp.wrap.ModuleWrapPolicy object at 0x7fd4280f0fd0>
```
After:
```
<torch.distributed.fsdp.wrap.ModuleWrapPolicy object at 0x7fd4280f0fd0>({<class 'transformers.models.t5.modeling_t5.T5Block'>})
```
Pull Request resolved: pytorch#89058
Approved by: https://github.com/mrshenli
@facebook-github-bot facebook-github-bot deleted the gh/awgu/201/head branch June 8, 2023 15:27
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 release notes: distributed (fsdp) release notes category topic: improvements topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants