Skip to content

Add Owned placement and placement-owned collectives#3359

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

Add Owned placement and placement-owned collectives#3359
weifengpy wants to merge 10 commits into
gh/weifengpy/27/basefrom
gh/weifengpy/27/head

Conversation

@weifengpy

@weifengpy weifengpy commented May 14, 2026

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Move bucket unshard and gradient-reduction collective selection into the placement contract so Shard owns all-gather/reduce-scatter and Owned can own broadcast/reduce-to-owner. Rename bucket runtime handles to placement-neutral unshard/reduce-grad terminology and add Owned placement tests plus a support plan.

[ghstack-poisoned]
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 14, 2026
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request May 14, 2026
Move bucket unshard and gradient-reduction collective selection into the placement contract so Shard owns all-gather/reduce-scatter and Owned can own broadcast/reduce-to-owner. Rename bucket runtime handles to placement-neutral unshard/reduce-grad terminology and add Owned placement tests plus a support plan.

ghstack-source-id: 40b8ecb
Pull-Request: #3359
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request May 14, 2026
Move bucket unshard and gradient-reduction collective selection into the placement contract so Shard owns all-gather/reduce-scatter and Owned can own broadcast/reduce-to-owner. Rename bucket runtime handles to placement-neutral unshard/reduce-grad terminology and add Owned placement tests plus a support plan.

ghstack-source-id: 44d51bd
Pull-Request: #3359
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request May 14, 2026
Move bucket unshard and gradient-reduction collective selection into the placement contract so Shard owns all-gather/reduce-scatter and Owned can own broadcast/reduce-to-owner. Rename bucket runtime handles to placement-neutral unshard/reduce-grad terminology and add Owned placement tests plus a support plan.

ghstack-source-id: 885bd53
Pull-Request: #3359
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request May 14, 2026
Move bucket unshard and gradient-reduction collective selection into the placement contract so Shard owns all-gather/reduce-scatter and Owned can own broadcast/reduce-to-owner. Rename bucket runtime handles to placement-neutral unshard/reduce-grad terminology and add Owned placement tests plus a support plan.

ghstack-source-id: 1831223
Pull-Request: #3359
weifengpy added a commit that referenced this pull request May 14, 2026
Move bucket unshard and gradient-reduction collective selection into the placement contract so Shard owns all-gather/reduce-scatter and Owned can own broadcast/reduce-to-owner. Rename bucket runtime handles to placement-neutral unshard/reduce-grad terminology and add Owned placement tests plus a support plan.

ghstack-source-id: 1831223
Pull-Request: #3359
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request May 14, 2026
Move bucket unshard and gradient-reduction collective selection into the placement contract so Shard owns all-gather/reduce-scatter and Owned can own broadcast/reduce-to-owner. Rename bucket runtime handles to placement-neutral unshard/reduce-grad terminology and add Owned placement tests plus a support plan.

ghstack-source-id: 1831223
Pull-Request: #3359
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request May 14, 2026
Move bucket unshard and gradient-reduction collective selection into the placement contract so Shard owns all-gather/reduce-scatter and Owned can own broadcast/reduce-to-owner. Rename bucket runtime handles to placement-neutral unshard/reduce-grad terminology and add Owned placement tests plus a support plan.

ghstack-source-id: 683c2a6
Pull-Request: #3359
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request May 14, 2026
Move bucket unshard and gradient-reduction collective selection into the placement contract so Shard owns all-gather/reduce-scatter and Owned can own broadcast/reduce-to-owner. Rename bucket runtime handles to placement-neutral unshard/reduce-grad terminology and add Owned placement tests plus a support plan.

ghstack-source-id: a3134ca
Pull-Request: #3359
weifengpy added a commit that referenced this pull request May 14, 2026
Move bucket unshard and gradient-reduction collective selection into the placement contract so Shard owns all-gather/reduce-scatter and Owned can own broadcast/reduce-to-owner. Rename bucket runtime handles to placement-neutral unshard/reduce-grad terminology and add Owned placement tests plus a support plan.

ghstack-source-id: a3134ca
Pull-Request: #3359
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request May 15, 2026
Move bucket unshard and gradient-reduction collective selection into the placement contract so Shard owns all-gather/reduce-scatter and Owned can own broadcast/reduce-to-owner. Rename bucket runtime handles to placement-neutral unshard/reduce-grad terminology and add Owned placement tests plus a support plan.

ghstack-source-id: 97b7766
Pull-Request: #3359
[ghstack-poisoned]
weifengpy added a commit that referenced this pull request May 15, 2026
Move bucket unshard and gradient-reduction collective selection into the placement contract so Shard owns all-gather/reduce-scatter and Owned can own broadcast/reduce-to-owner. Rename bucket runtime handles to placement-neutral unshard/reduce-grad terminology and add Owned placement tests plus a support plan.

ghstack-source-id: e29dc85
Pull-Request: #3359
@weifengpy

Copy link
Copy Markdown
Contributor Author

Folded into #3239 so the first FlexShard PR proves the placement contract with both Shard and Owned examples.

@weifengpy weifengpy closed this May 15, 2026
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.

1 participant