-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[BE][accelerator] formalize API name {current,set}_device_{idx => index}
#140542
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/140542
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 2626d83 with merge base 2903cf0 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
Good to me, it needs Alban's final stamp. |
|
@albanD could you take a look at this? |
albanD
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both names seemed used so no strong opinion here. I guess these are new enough that we can change them.
albanD
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SGTM !
|
@XuehaiPan Could you help clean up {idx => index} in https://github.com/pytorch/pytorch/blob/main/test/test_accelerator.py |
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@pytorchbot revert -m 'Sorry for reverting your change, but I need to revert this in order to revert #133572 (comment) due to a conflict' -c weird Please help rebase and reland this |
|
@pytorchbot successfully started a revert job. Check the current status here. |
|
@XuehaiPan your PR has been successfully reverted. |
…dx => index}` (#140542)" This reverts commit fb02b40. Reverted #140542 on behalf of https://github.com/huydhn due to Sorry for reverting your change, but I need to revert this in order to revert #133572 (comment) due to a conflict ([comment](#140542 (comment)))
|
@pytorchbot merge |
Merge startedYour change will be merged once all checks pass (ETA 0-4 Hours). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@albanD Do you think if this PR should cherry pick to release/2.6 |
…e_{idx => index}` (#143186)
[BE][accelerator] formalize API name `{current,set}_device_{idx => index}` (#140542)
Pull Request resolved: #140542
Approved by: https://github.com/guangyey, https://github.com/albanD
Stack from ghstack (oldest at bottom):
{current,set}_device_{idx => index}#140542