Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add global boolean for controlling whether to record concrete shapes …
…or not (pytorch#101043) Summary: Pull Request resolved: pytorch#101043 We don't think the performance impact of recording concrete shapes is significant; but it's good to have a knob for turning it off quickly in case it has a large performance impact. Test Plan: Ran D45681838. It prints the state of that "concrete inputs" boolean. I ran it before and after canarying a change to `pytorch/kineto:pytorch_record_concrete_inputs`; before, it returns true; after, it returns false. Note that D45681838 had to add `service` on the main function. That's because we need to `initFacebook` in order to use jks. Reviewed By: aaronenyeshi Differential Revision: D45680162 fbshipit-source-id: cba2d90dc1d3dd061078a523e17144aa0eba547c
- Loading branch information