-
Notifications
You must be signed in to change notification settings - Fork 22.6k
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
Fix get_current_graph_task_execution_order accumulate_grads ordering #105353
Conversation
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/105353
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit d6fffa7: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…s ordering" [ghstack-poisoned]
ghstack-source-id: c561766cd40615d9b1863b623b38b82d9b687dfd Pull Request resolved: #105353
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.
Thanks for the quick fix!
@pytorchbot merge -f "Unrelated failure" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
@@ -415,6 +415,8 @@ std::vector<Node*> get_current_graph_task_execution_order() { | |||
const bool check_exec_info = !task->exec_info_.empty(); | |||
std::vector<Node*> out{}; | |||
std::unordered_set<Node*> seen{}; |
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.
With these changes, I think you might be able to delete the seen
checking here.
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.
Yeah good point
…er (#105487) #105353 (comment) Pull Request resolved: #105487 Approved by: https://github.com/albanD, https://github.com/jansel
Stack from ghstack (oldest at bottom):
Fixes #105293