Skip to content

Conversation

@peterbell10
Copy link
Collaborator

@peterbell10 peterbell10 commented Aug 23, 2023

Stack from ghstack (oldest at bottom):

A WeakDep is classed as a read dependency but the buffer is never actually read.
Instead it only effects schedule ordering. So for the purposes of dead node
elimination we should ignore WeakDeps.

cc @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @ipiszy @ngimel @yf225 @chenyang78 @kadeng @muchulee8 @aakhundov

A WeakDep is classed as a read dependency but the buffer is never actually read.
Instead it only effects schedule ordering. So for the purposes of dead node
elimination we should ignore WeakDeps.

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Aug 23, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit f19fa87 with merge base 55d6b80 (image):
💚 Looks good so far! There are no failures yet. 💚

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

A WeakDep is classed as a read dependency but the buffer is never actually read.
Instead it only effects schedule ordering. So for the purposes of dead node
elimination we should ignore WeakDeps.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx ipiszy ngimel yf225 chenyang78 kadeng muchulee8 aakhundov

[ghstack-poisoned]
A WeakDep is classed as a read dependency but the buffer is never actually read.
Instead it only effects schedule ordering. So for the purposes of dead node
elimination we should ignore WeakDeps.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx ipiszy ngimel yf225 chenyang78 kadeng muchulee8 aakhundov

[ghstack-poisoned]
@peterbell10 peterbell10 marked this pull request as ready for review August 24, 2023 11:32
@peterbell10 peterbell10 requested review from lezcano and mlazos August 24, 2023 11:32
@peterbell10 peterbell10 added the topic: not user facing topic category label Aug 24, 2023
@lezcano lezcano requested review from jansel and removed request for lezcano August 24, 2023 11:35
@peterbell10
Copy link
Collaborator Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Aug 25, 2023
@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

voznesenskym pushed a commit that referenced this pull request Aug 27, 2023
A WeakDep is classed as a read dependency but the buffer is never actually read.
Instead it only effects schedule ordering. So for the purposes of dead node
elimination we should ignore WeakDeps.

Pull Request resolved: #107813
Approved by: https://github.com/jansel, https://github.com/mlazos
@facebook-github-bot facebook-github-bot deleted the gh/peterbell10/601/head branch August 29, 2023 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants