-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Replace _StreamBase/_EventBase with torch.Stream/Event #123707
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
Since we have device generic torch.Event/Stream now, it is safe to replace _StreamBase/_Eventbase with torch.Stream/Event. - torch.cuda.Stream/torch.xpu/Stream won't need to inherit from _StreamBase - Alias is created between _StreamBase/_EventBase and torch.Stream/Event, because the dynamo is using them to trace stream and event. Differential Revision: [D55941611](https://our.internmc.facebook.com/intern/diff/D55941611/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/123707
Note: Links to docs will display an error until the docs builds have been completed. ❌ 4 New FailuresAs of commit 1f9a839 with merge base 3a7351b ( NEW FAILURES - The following jobs have failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D55941611 |
Since we have device generic torch.Event/Stream now, it is safe to replace _StreamBase/_Eventbase with torch.Stream/Event. - torch.cuda.Stream/torch.xpu/Stream won't need to inherit from _StreamBase - Alias is created between _StreamBase/_EventBase and torch.Stream/Event, because the dynamo is using them to trace stream and event. Differential Revision: [D55941611](https://our.internmc.facebook.com/intern/diff/D55941611/) ghstack-source-id: 221905285 Pull Request resolved: #123707
Since we have device generic torch.Event/Stream now, it is safe to replace _StreamBase/_Eventbase with torch.Stream/Event. - torch.cuda.Stream/torch.xpu/Stream won't need to inherit from _StreamBase - Alias is created between _StreamBase/_EventBase and torch.Stream/Event, because the dynamo is using them to trace stream and event. Differential Revision: [D55941611](https://our.internmc.facebook.com/intern/diff/D55941611/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D55941611 |
Pull Request resolved: #123707 Since we have device generic torch.Event/Stream now, it is safe to replace _StreamBase/_Eventbase with torch.Stream/Event. - torch.cuda.Stream/torch.xpu/Stream won't need to inherit from _StreamBase - Alias is created between _StreamBase/_EventBase and torch.Stream/Event, because the dynamo is using them to trace stream and event. ghstack-source-id: 221905285 @exported-using-ghexport Differential Revision: [D55941611](https://our.internmc.facebook.com/intern/diff/D55941611/)
Since we have device generic torch.Event/Stream now, it is safe to replace _StreamBase/_Eventbase with torch.Stream/Event. - torch.cuda.Stream/torch.xpu/Stream won't need to inherit from _StreamBase - Alias is created between _StreamBase/_EventBase and torch.Stream/Event, because the dynamo is using them to trace stream and event. Differential Revision: [D55941611](https://our.internmc.facebook.com/intern/diff/D55941611/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D55941611 |
Pull Request resolved: #123707 Since we have device generic torch.Event/Stream now, it is safe to replace _StreamBase/_Eventbase with torch.Stream/Event. - torch.cuda.Stream/torch.xpu/Stream won't need to inherit from _StreamBase - Alias is created between _StreamBase/_EventBase and torch.Stream/Event, because the dynamo is using them to trace stream and event. ghstack-source-id: 221905285 @exported-using-ghexport Differential Revision: [D55941611](https://our.internmc.facebook.com/intern/diff/D55941611/)
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
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.
Is this still needed? Or doesn't change much?
Oh, haven't got a chance to work on this. After we finish TorchRec side integration with torch.mtia.Stream, I will come back and finish this one. I will close it for now, will reopen it later. |
Stack from ghstack (oldest at bottom):
Since we have device generic torch.Event/Stream now, it is safe to replace _StreamBase/_Eventbase with torch.Stream/Event.
Differential Revision: D55941611