Skip to content

[FlexShard] Support Cartesian optimizer redistribution - #4124

Closed
weifengpy wants to merge 10 commits into
gh/weifengpy/54/basefrom
gh/weifengpy/54/head
Closed

weifengpy wants to merge 10 commits into
gh/weifengpy/54/basefrom
gh/weifengpy/54/head

Conversation

@weifengpy

@weifengpy weifengpy commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Flatten selected storage-mesh axes into one transport group and normalize DTensor regions over that Cartesian domain. Enable multi-axis replicated compute and joint ownership while preserving the existing one-axis schedule. Continue to reject mixed ownership and placement targets and non-replicated axes outside a joint ownership group.

Extend the four-GPU numerical case to cover Shard(1), Shard(0) storage redistributed to both fully replicated and jointly owned compute, then restored to its original storage layout. Add an eight-GPU rejection case for non-replicated storage outside the owner group.

[ghstack-poisoned]
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request Aug 12, 2026
Flatten selected storage-mesh axes into one transport group and normalize DTensor regions over that Cartesian domain. Enable multi-axis replicated compute and joint ownership while preserving the existing one-axis schedule. Continue to reject mixed ownership and placement targets and non-replicated axes outside a joint ownership group.

Extend the four-GPU numerical case to cover Shard(1), Shard(0) storage redistributed to both fully replicated and jointly owned compute, then restored to its original storage layout. Add an eight-GPU rejection case for non-replicated storage outside the owner group.

ghstack-source-id: f9df9bf
Pull-Request: #4124
weifengpy added a commit that referenced this pull request Aug 12, 2026
Flatten selected storage-mesh axes into one transport group and normalize DTensor regions over that Cartesian domain. Enable multi-axis replicated compute and joint ownership while preserving the existing one-axis schedule. Continue to reject mixed ownership and placement targets and non-replicated axes outside a joint ownership group.

Extend the four-GPU numerical case to cover Shard(1), Shard(0) storage redistributed to both fully replicated and jointly owned compute, then restored to its original storage layout. Add an eight-GPU rejection case for non-replicated storage outside the owner group.

ghstack-source-id: f9df9bf
Pull-Request: #4124
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request Aug 12, 2026
Flatten selected storage-mesh axes into one transport group and normalize DTensor regions over that Cartesian domain. Enable multi-axis replicated compute and joint ownership while preserving the existing one-axis schedule. Continue to reject mixed ownership and placement targets and non-replicated axes outside a joint ownership group.

Extend the four-GPU numerical case to cover Shard(1), Shard(0) storage redistributed to both fully replicated and jointly owned compute, then restored to its original storage layout. Add an eight-GPU rejection case for non-replicated storage outside the owner group.

ghstack-source-id: 258e8de
Pull-Request: #4124
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request Aug 13, 2026
Flatten selected storage-mesh axes into one transport group and normalize DTensor regions over that Cartesian domain. Enable multi-axis replicated compute and joint SingleParticipant assignment while preserving the existing one-axis schedule. Continue to reject mixed SingleParticipant and placement targets and non-replicated axes outside a joint SingleParticipant group.

Extend the four-GPU numerical case to cover Shard(1), Shard(0) storage redistributed to both fully replicated and joint SingleParticipant compute, then restored to its original storage layout. Add an eight-GPU rejection case for non-replicated storage outside the SingleParticipant group.

ghstack-source-id: 274343d
Pull-Request: #4124
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request Aug 13, 2026
Flatten selected storage-mesh axes into one transport group and normalize DTensor regions over that Cartesian domain. Enable multi-axis replicated compute and joint Owned assignment while preserving the existing one-axis schedule. Continue to reject mixed Owned and placement targets and non-replicated axes outside a joint Owned group.

Extend the four-GPU numerical case to cover Shard(1), Shard(0) storage redistributed to both fully replicated and joint Owned compute, then restored to its original storage layout. Add an eight-GPU rejection case for non-replicated storage outside the Owned group.

ghstack-source-id: ccf9446
Pull-Request: #4124
[ghstack-poisoned]
[ghstack-poisoned]
submartingales pushed a commit to botcanlearn/torchtitan-upstream that referenced this pull request Aug 13, 2026
Flatten selected storage-mesh axes into one transport group and normalize DTensor regions over that Cartesian domain. Enable multi-axis replicated compute and joint Owned assignment while preserving the existing one-axis schedule. Continue to reject mixed Owned and placement targets and non-replicated axes outside a joint Owned group.

Extend the four-GPU numerical case to cover Shard(1), Shard(0) storage redistributed to both fully replicated and joint Owned compute, then restored to its original storage layout. Add an eight-GPU rejection case for non-replicated storage outside the Owned group.

ghstack-source-id: 278d630
Pull-Request: pytorch/torchtitan#4124
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request Aug 15, 2026
Flatten selected storage-mesh axes into one transport group and normalize DTensor regions over that Cartesian domain. Enable multi-axis replicated compute and joint Owned assignment while preserving the existing one-axis schedule. Continue to reject mixed Owned and placement targets and non-replicated axes outside a joint Owned group.

Extend the four-GPU numerical case to cover Shard(1), Shard(0) storage redistributed to both fully replicated and joint Owned compute, then restored to its original storage layout. Add an eight-GPU rejection case for non-replicated storage outside the Owned group.

ghstack-source-id: d9f6a99
Pull-Request: #4124
weifengpy added a commit that referenced this pull request Aug 15, 2026
Flatten selected storage-mesh axes into one transport group and normalize DTensor regions over that Cartesian domain. Enable multi-axis replicated compute and joint Owned assignment while preserving the existing one-axis schedule. Continue to reject mixed Owned and placement targets and non-replicated axes outside a joint Owned group.

Extend the four-GPU numerical case to cover Shard(1), Shard(0) storage redistributed to both fully replicated and joint Owned compute, then restored to its original storage layout. Add an eight-GPU rejection case for non-replicated storage outside the Owned group.

ghstack-source-id: d9f6a99
Pull-Request: #4124
[ghstack-poisoned]
[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/8gpu 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.

2 participants