Skip to content

Conversation

@fegin
Copy link
Contributor

@fegin fegin commented Nov 11, 2025

Stack from ghstack (oldest at bottom):

When full_dtensor is True, the compute_placement will be preserved. This means that to_local() won't be called for fsdp only case. nD parallelism case (fsdp + tp) will error out as we have not implemented this case.

This argument doesn't affect the current simple_fsdp. We have verified full_dtensor=True case with the full dtensor skleton PR, which will be published once it is ready.

This is a reland PR of #2002. The previous one was broken during rebase.

[ghstack-poisoned]
[ghstack-poisoned]
fegin added a commit that referenced this pull request Nov 11, 2025
When full_dtensor is True, the compute_placement will be preserved. This means that `to_local()` won't be called for fsdp only case. nD parallelism case (fsdp + tp) will error out as we have not implemented this case.

This argument doesn't affect the current simple_fsdp. We have verified `full_dtensor=True` case with the full dtensor skleton PR, which will be published once it is ready.


ghstack-source-id: ac4d1bf
Pull-Request: #2013
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 11, 2025
@fegin fegin changed the title [Full DTensor] Add full_dtensor flag [Full DTensor][Reland] Add full_dtensor flag Nov 11, 2025
@pytorch-bot pytorch-bot bot added the ci-no-td label Nov 11, 2025
@fegin fegin changed the base branch from gh/fegin/30/base to main November 11, 2025 07:54
@fegin fegin merged commit e37f83f into main Nov 11, 2025
5 checks passed
ahoffman-aws pushed a commit to drcanchi-aws/torchtitan that referenced this pull request Nov 11, 2025
Stack from [ghstack](https://github.com/ezyang/ghstack/tree/0.12.0)
(oldest at bottom):
* __->__ pytorch#2013

When full_dtensor is True, the compute_placement will be preserved. This
means that `to_local()` won't be called for fsdp only case. nD
parallelism case (fsdp + tp) will error out as we have not implemented
this case.

This argument doesn't affect the current simple_fsdp. We have verified
`full_dtensor=True` case with the full dtensor skleton PR, which will be
published once it is ready.

**This is a reland PR of
pytorch#2002. The previous one was
broken during rebase.**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-no-td CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants