-
Notifications
You must be signed in to change notification settings - Fork 22.3k
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
CompileProfiler
reports graph breaks while dynamo.explain
reports no graph breaks
#113443
Comments
Able to repro something almost matching the above. (using torch build from 11/8 - 84d64d7) and using the provided torch_geometric version. In my case, I see CompileProfiler report 2 graph breaks and I see explain report 1 graph and no breaks. But i also see a crash at exit due to something going wrong with CleanupManager/CleanupHook
Might be a totally separate issue, will investigate a bit more and possibly fork a new PR |
|
We should probably retire Keeping this open but with the focus on sunsetting CompilerProfiler and update docs. |
Fixes confusion in #113443 We have TORCH_LOGS that supersedes CompileProfiler [ghstack-poisoned]
@anijain2305 How would you suggest we test the number of graph breaks in a model? We are currently using |
Summary: Fixes confusion in pytorch/pytorch#113443 We have TORCH_LOGS that supersedes CompileProfiler X-link: pytorch/pytorch#135133 Approved by: https://github.com/ezyang ghstack dependencies: #135039, #135121, #135129, #135130 Reviewed By: kit1980 Differential Revision: D62277271 Pulled By: anijain2305 fbshipit-source-id: 95a1c844252a83a17b942d46664034af10edc4c2
Fixes confusion in pytorch#113443 We have TORCH_LOGS that supersedes CompileProfiler Pull Request resolved: pytorch#135133 Approved by: https://github.com/ezyang ghstack dependencies: pytorch#135039, pytorch#135121, pytorch#135129, pytorch#135130
Fixes confusion in pytorch#113443 We have TORCH_LOGS that supersedes CompileProfiler Pull Request resolved: pytorch#135133 Approved by: https://github.com/ezyang ghstack dependencies: pytorch#135039, pytorch#135121, pytorch#135129, pytorch#135130
🐛 Describe the bug
I'm seeing inconsistent number of graph breaks between (1)
CompileProfiler
and (2)dynamo.explain
as reproduced with a script below.Error logs
(1)
CompileProfiler
(2)
dynamo.explain
Minified repro
For the note, pyg-team/pytorch_geometric@40cc3b1 was used to reproduce this.
Versions
cc @ezyang @anijain2305 @chauhang @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @chenyang78 @kadeng @msaroufim @wconstab @bdhirsh @zou3519 @aakhundov
The text was updated successfully, but these errors were encountered: