pytorch
2a32bc50 - Only print guard code when printing guards (#98347)

Commit
1 year ago
Only print guard code when printing guards (#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 <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/98347 Approved by: https://github.com/voznesenskym
Author
Committer
Parents
Loading