Skip to content

Re-re-re-re-apply "C++-accessible Placements via pybind11 (#163030)"#166132

Closed
swolchok wants to merge 2 commits intogh/swolchok/857/basefrom
gh/swolchok/857/head
Closed

Re-re-re-re-apply "C++-accessible Placements via pybind11 (#163030)"#166132
swolchok wants to merge 2 commits intogh/swolchok/857/basefrom
gh/swolchok/857/head

Conversation

@swolchok
Copy link
Contributor

@swolchok swolchok commented Oct 23, 2025

Stack from ghstack (oldest at bottom):

Was reverted (again!) due to a merge conflict that crept in sometime during the "export to github -> land internally -> merge on github" process.

D85096233

cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @d4l3k @pragupta @msaroufim @dcci @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @chauhang @amjames @Lucaskabela

Was reverted (again!) due to a merge conflict that crept in sometime during the "export to github -> land internally -> merge on github" process.

Differential Revision: [D85096233](https://our.internmc.facebook.com/intern/diff/D85096233/)

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 23, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 20a7830 with merge base f89a7e9 (image):
💚 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 ciflow/inductor module: dynamo oncall: distributed Add this issue/PR to distributed oncall triage queue labels Oct 23, 2025
swolchok added a commit that referenced this pull request Oct 23, 2025
Was reverted (again!) due to a merge conflict that crept in sometime during the "export to github -> land internally -> merge on github" process.

Differential Revision: [D85096233](https://our.internmc.facebook.com/intern/diff/D85096233/)

ghstack-source-id: 318252481
Pull Request resolved: #166132
@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Oct 23, 2025
@swolchok swolchok added suppress-bc-linter Suppresses the failures of API backward-compatibility linter (Lint/bc_linter) release notes: distributed (dtensor) release notes category labels Oct 23, 2025

explicit Partial(std::optional<std::string> reduce_op_)
: reduce_op(
reduce_op_.has_value() ? std::move(*reduce_op_)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Better to use std::optional.value_or?

Copy link
Contributor Author

@swolchok swolchok Oct 24, 2025

Choose a reason for hiding this comment

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

probably behaves exactly the same, but certainly reads nicer. normally I would change it but because this PR is getting continually reverted I would prefer to push all further changes to further PRs.

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

…163030)""

Was reverted (again!) due to a merge conflict that crept in sometime during the "export to github -> land internally -> merge on github" process.

Differential Revision: [D85096233](https://our.internmc.facebook.com/intern/diff/D85096233/)

cc H-Huang awgu wanchaol fegin fduwjj wz337 wconstab d4l3k pragupta msaroufim dcci voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

[ghstack-poisoned]
swolchok added a commit that referenced this pull request Oct 27, 2025
Pull Request resolved: #166132

Was reverted (again!) due to a merge conflict that crept in sometime during the "export to github -> land internally -> merge on github" process.
ghstack-source-id: 318928038
@exported-using-ghexport

Differential Revision: [D85096233](https://our.internmc.facebook.com/intern/diff/D85096233/)
@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: This PR has internal changes and must be landed via Phabricator! Please try reimporting/rexporting the PR!

Details for Dev Infra team Raised by workflow job

@izaitsevfb
Copy link
Contributor

@pytorchbot merge -f 'internal check is lying'

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

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

tianrengao pushed a commit that referenced this pull request Oct 30, 2025
…166132)

Was reverted (again!) due to a merge conflict that crept in sometime during the "export to github -> land internally -> merge on github" process.

D85096233

Pull Request resolved: #166132
Approved by: https://github.com/Skylion007, https://github.com/ezyang, https://github.com/malfet
@github-actions github-actions bot deleted the gh/swolchok/857/head branch November 28, 2025 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request fb-exported Merged meta-exported module: dynamo oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: distributed (dtensor) release notes category suppress-bc-linter Suppresses the failures of API backward-compatibility linter (Lint/bc_linter)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants