Skip to content
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

[dynamo] Allow inlining of hooks for the top module #124501

Open
wants to merge 48 commits into
base: gh/anijain2305/291/base
Choose a base branch
from

Conversation

Copy link

pytorch-bot bot commented Apr 19, 2024

🔗 Helpful Links

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

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

❌ 1 New Failure, 1 Unrelated Failure

As of commit 4f25ae5 with merge base 96bdb7a (image):

NEW FAILURE - The following job has failed:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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

anijain2305 added a commit that referenced this pull request Apr 19, 2024
ghstack-source-id: d0e3ef1e8145ffd5479328c2db1989791e3d47b7
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Apr 19, 2024
ghstack-source-id: a5f07d2a5afff6e5c87d67c1576dcbf1b797b039
Pull Request resolved: #124501
@anijain2305 anijain2305 changed the title [dynamo] Allow inlining oh hooks for the top module [dynamo] Allow inlining of hooks for the top module Apr 19, 2024
@anijain2305 anijain2305 added the keep-going Don't stop on first failure, keep running tests until the end label Apr 19, 2024
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Apr 19, 2024
ghstack-source-id: 7d547b6a6846f2f3b22d01b0bd83da3d9cbfb1fd
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Apr 19, 2024
ghstack-source-id: 9ab0d414af8944a1e50598c05ceb83527525955a
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Apr 24, 2024
ghstack-source-id: e24a9e901f531670d30d3f35f47abb7efd33417f
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Apr 24, 2024
ghstack-source-id: 09aa3ac995270486bef3d810aa8f82750d97022f
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Apr 24, 2024
ghstack-source-id: 281281ea94dd02078eb103c2b103215b85f3ae7f
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Apr 25, 2024
ghstack-source-id: d930e690791daaff77b06ee0e690fc14abccb48b
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Apr 26, 2024
ghstack-source-id: bdc6ca43a5f9c5f5a2671aac76832b901d29379f
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Apr 26, 2024
ghstack-source-id: d82d92f0617ae74a10be8980c421cb79b38f9138
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request Apr 26, 2024
ghstack-source-id: 567f8dbd8d9b790726b2fb9a246c033d22035a44
Pull Request resolved: #124501
@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

if inst.opname == "LOAD_FAST" and inst.argval == "inputs_ref_0"
]
self.assertTrue(len(matches) == 1)
if call_graph_idxs:
Copy link
Member

@xmfan xmfan May 10, 2024

Choose a reason for hiding this comment

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

this just skips the important parts of the test if call_graph_idxs is empty, but as long as test_inputs_aliasing_bytecode_attr_mutations passes, I think we can fix the test after

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: trunk / win-vs2019-cpu-py3 / test (default, 2, 3, windows.4xlarge.nonephemeral)

Details for Dev Infra team Raised by workflow job

anijain2305 added a commit that referenced this pull request May 10, 2024
ghstack-source-id: 51408faf9d8b5f054544107f38316f2ccf1f7a3a
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames desertfire chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request May 10, 2024
ghstack-source-id: 69e775f7e420094bbb45c6599cd9cce319e64231
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames desertfire chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request May 10, 2024
ghstack-source-id: 0e61e8b7440d155db27b8fbf5599ec3592613066
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames desertfire chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request May 10, 2024
ghstack-source-id: 32fe9e8e06763c120024277f2a5edc8fb4869c4c
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames desertfire chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request May 11, 2024
ghstack-source-id: 029c5026dbe5985b4f58d165d6ea274b23acbcd0
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames desertfire chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request May 11, 2024
ghstack-source-id: 4146ca80074d5f02bdd1483e620817a39e1502ea
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames desertfire chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request May 11, 2024
ghstack-source-id: 8577df175bad102628e7b7b16872e81d363e2660
Pull Request resolved: #124501
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames desertfire chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request May 11, 2024
ghstack-source-id: 4146ca80074d5f02bdd1483e620817a39e1502ea
Pull Request resolved: #124501
@anijain2305
Copy link
Contributor Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label May 11, 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: trunk / win-vs2019-cpu-py3 / test (default, 1, 3, windows.4xlarge.nonephemeral)

Details for Dev Infra team Raised by workflow job

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx peterbell10 ipiszy yf225 chenyang78 kadeng muchulee8 ColinPeppler amjames desertfire chauhang

[ghstack-poisoned]
anijain2305 added a commit that referenced this pull request May 13, 2024
ghstack-source-id: 11c9f439948f4c8eb0a25932169bdc207e6abce0
Pull Request resolved: #124501
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request keep-going Don't stop on first failure, keep running tests until the end module: dynamo module: inductor topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants