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

float8nocompile: add e2e fsdp test #1523

Open
wants to merge 11 commits into
base: gh/danielvegamyhre/18/head
Choose a base branch
from

Conversation

danielvegamyhre
Copy link
Contributor

@danielvegamyhre danielvegamyhre commented Jan 8, 2025

No description provided.

[ghstack-poisoned]
@danielvegamyhre
Copy link
Contributor Author

danielvegamyhre commented Jan 8, 2025

Copy link

pytorch-bot bot commented Jan 8, 2025

🔗 Helpful Links

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

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

⏳ No Failures, 1 Pending

As of commit a0544db with merge base 4738377 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 8, 2025
danielvegamyhre added a commit that referenced this pull request Jan 8, 2025
ghstack-source-id: 5baf685343844750b542f98880ef3b8174141ec6
ghstack-comment-id: 2576459235
Pull Request resolved: #1523
@danielvegamyhre danielvegamyhre added the topic: not user facing Use this tag if you don't want this PR to show up in release notes label Jan 8, 2025
[ghstack-poisoned]
danielvegamyhre added a commit that referenced this pull request Jan 8, 2025
ghstack-source-id: da38b4a141de7dfee4cec9132967ad76d7d6dc20
ghstack-comment-id: 2576459235
Pull Request resolved: #1523
[ghstack-poisoned]
[ghstack-poisoned]
danielvegamyhre added a commit that referenced this pull request Jan 8, 2025
ghstack-source-id: 619ae59ae76acfda5492b56241f74878a4d1b04f
ghstack-comment-id: 2576459235
Pull Request resolved: #1523
[ghstack-poisoned]
danielvegamyhre added a commit that referenced this pull request Jan 8, 2025
ghstack-source-id: 95876811b0aa1096b2bbf1151279ea7f65b9fd47
ghstack-comment-id: 2576459235
Pull Request resolved: #1523
[ghstack-poisoned]
danielvegamyhre added a commit that referenced this pull request Jan 8, 2025
ghstack-source-id: bcd7f53ea269223ec5d6f5bff1e169f426f6c474
ghstack-comment-id: 2576459235
Pull Request resolved: #1523
[ghstack-poisoned]
danielvegamyhre added a commit that referenced this pull request Jan 8, 2025
ghstack-source-id: 0525d57fe1e188dd6d8790c8d0b39e44d60b2f7b
ghstack-comment-id: 2576459235
Pull Request resolved: #1523
@danielvegamyhre danielvegamyhre requested a review from vkuzo January 8, 2025 15:43
[ghstack-poisoned]
danielvegamyhre added a commit that referenced this pull request Jan 8, 2025
ghstack-source-id: 0a8863393a11404f12d3f82173175fc37c100656
ghstack-comment-id: 2576459235
Pull Request resolved: #1523
import torch
import torch.distributed as dist
import torch.nn as nn
from torch.distributed.fsdp import FullyShardedDataParallel as FSDP
Copy link
Contributor

Choose a reason for hiding this comment

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

this is FSDP1. Can we test FSDP2, which is the new, recently released version of FSDP with support for float8 all-gather?

https://github.com/pytorch/torchtitan/blob/main/docs/fsdp.md

IMO testing just FSDP2 is fine

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated to test with fsdp2

[ghstack-poisoned]
danielvegamyhre added a commit that referenced this pull request Jan 8, 2025
ghstack-source-id: f888979319102ea666dcf1325d17d6e7e51aeb72
ghstack-comment-id: 2576459235
Pull Request resolved: #1523
[ghstack-poisoned]
danielvegamyhre added a commit that referenced this pull request Jan 8, 2025
ghstack-source-id: fb4ef48e6aa1e98ecd36cb2843fb83f74efe3c74
ghstack-comment-id: 2576459235
Pull Request resolved: #1523
[ghstack-poisoned]
danielvegamyhre added a commit that referenced this pull request Jan 9, 2025
ghstack-source-id: fb4ef48e6aa1e98ecd36cb2843fb83f74efe3c74
ghstack-comment-id: 2576459235
Pull Request resolved: #1523
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. topic: not user facing Use this tag if you don't want this PR to show up in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants