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 (#101043) Summary: Pull Request resolved: #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: 680780ad9c947c0c60d09b3ba9904490730e96cb
- Loading branch information