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
Only print guard code when printing guards #98347
Conversation
Signed-off-by: Edward Z. Yang <ezyang@meta.com> [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/98347
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit dfc104e: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Signed-off-by: Edward Z. Yang <ezyangmeta.com> ghstack-source-id: c54de824b43775d1db0ad867b94059c8a6351ee8 Pull Request resolved: #98347
Before: <img width="1138" alt="image" src="https://user-images.githubusercontent.com/13564/229915726-19bddea8-8fa4-46d2-8501-358e9f9ea639.png"> After: ``` [2023-04-04 13:44:23,109] torch._dynamo.convert_frame.__guards: [DEBUG] GUARDS: ___check_obj_id(L['self'], 139844089003936) not ___are_deterministic_algorithms_enabled() ``` Signed-off-by: Edward Z. Yang <ezyangmeta.com> cc soumith voznesenskym penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire [ghstack-poisoned]
Signed-off-by: Edward Z. Yang <ezyangmeta.com> ghstack-source-id: 521b4b9b92941559c3c2b030229a72d29fd955c6 Pull Request resolved: #98347
Before: <img width="1138" alt="image" src="https://user-images.githubusercontent.com/13564/229915726-19bddea8-8fa4-46d2-8501-358e9f9ea639.png"> After: ``` [2023-04-04 13:44:23,109] torch._dynamo.convert_frame.__guards: [DEBUG] GUARDS: ___check_obj_id(L['self'], 139844089003936) not ___are_deterministic_algorithms_enabled() ``` Signed-off-by: Edward Z. Yang <ezyangmeta.com> cc soumith voznesenskym penguinwu anijain2305 EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng Xia-Weiwen wenzhe-nrv jiayisunx desertfire [ghstack-poisoned]
Signed-off-by: Edward Z. Yang <ezyangmeta.com> ghstack-source-id: d074e4d8640b00948a02f0689da868afad46da5a Pull Request resolved: #98347
@pytorchbot merge |
Merge startedYour 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 |
The merge job was canceled. If you believe this is a mistake,then you can re trigger it through pytorch-bot. |
@pytorchbot merge |
Merge startedYour 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 |
Before: <img width="1138" alt="image" src="https://user-images.githubusercontent.com/13564/229915726-19bddea8-8fa4-46d2-8501-358e9f9ea639.png"> After: ``` [2023-04-04 13:44:23,109] torch._dynamo.convert_frame.__guards: [DEBUG] GUARDS: ___check_obj_id(L['self'], 139844089003936) not ___are_deterministic_algorithms_enabled() ``` Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: #98347 Approved by: https://github.com/voznesenskym
Stack from ghstack (oldest at bottom):
Before:
After:
Signed-off-by: Edward Z. Yang ezyang@meta.com
cc @soumith @voznesenskym @penguinwu @anijain2305 @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @Xia-Weiwen @wenzhe-nrv @jiayisunx @desertfire