8000 Fix pyi annotation for ProcessGroupNCCL.Options by ezyang · Pull Request #130957 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Fix pyi annotation for ProcessGroupNCCL.Options #130957

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

Closed
wants to merge 3 commits into from

Conversation

ezyang
Copy link
Contributor
@ezyang ezyang commented Jul 17, 2024

Stack from ghstack (oldest at bottom):

Probably all the other options need updating too, but this is the one I
needed. The accurate annotation was determined by reading
torch/csrc/distributed/c10d/init.cpp

Signed-off-by: Edward Z. Yang ezyang@meta.com

[ghstack-poisoned]
Copy link
pytorch-bot bot commented Jul 17, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (2 Unrelated Failures)

As of commit e9adf21 with merge base 1eedb0a (image):

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

ezyang added a commit that referenced this pull request Jul 17, 2024
Probably all the other options need updating too, but this is the one I
needed.  The accurate annotation was determined by reading
torch/csrc/distributed/c10d/init.cpp

Signed-off-by: Edward Z. Yang <ezyang@meta.com>

ghstack-source-id: 7792411
Pull Request resolved: #130957
@pytorch-bot pytorch-bot bot added the release notes: distributed (c10d) release notes category label Jul 17, 2024
@ezyang ezyang requested a review from wconstab July 17, 2024 17:03
@ezyang ezyang added the topic: docs topic category label Jul 17, 2024
@ezyang
Copy link
Contributor Author
ezyang commented Jul 17, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jul 17, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: Check mergeability of ghstack PR / ghstack-mergeability-check

Details for Dev Infra team Raised by workflow job

@fduwjj
Copy link
Contributor
fduwjj commented Jul 17, 2024

Yeah, We need to make this pyi more accurate and update-to-date..

@property
def _is_high_priority_stream(self) -> bool: ...
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you rebase before the change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, looks like I do need to rebase


class Options:
Copy link
Collaborator

Choose a reason for hiding this comment

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

did we delete the _timeout intentionally from NCCLOptions?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I checked the bindings and did not see timeout

@albanD albanD removed their request for review July 17, 2024 18:50
[ghstack-poisoned]
@ezyang
Copy link
Contributor Author
ezyang commented Jul 24, 2024

When I rebased, it looked like someone @shuqiangzhang had modified these annotations as part of adding the split_group API. However, I double checked the annotations and I like mine better (as they are more accurate, and they don't use the @Property decorator unnecessarily).

ezyang added a commit that referenced this pull request Jul 24, 2024
Probably all the other options need updating too, but this is the one I
needed.  The accurate annotation was determined by reading
torch/csrc/distributed/c10d/init.cpp

Signed-off-by: Edward Z. Yang <ezyang@meta.com>

ghstack-source-id: 5b96d68
Pull Request resolved: #130957
@ezyang
Copy link
Contributor Author
ezyang commented Jul 24, 2024

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

[ghstack-poisoned]
ezyang added a commit that referenced this pull request Jul 29, 2024
Probably all the other options need updating too, but this is the one I
needed.  The accurate annotation was determined by reading
torch/csrc/distributed/c10d/init.cpp

Signed-off-by: Edward Z. Yang <ezyang@meta.com>

ghstack-source-id: 0ab5aaf
Pull Request resolved: #130957
@ezyang
Copy link
Contributor Author
ezyang commented Jul 29, 2024

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your 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

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request Merged release notes: distributed (c10d) release notes category topic: docs topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants
0