pytorch
e406125b - [profiler] replace record_concrete_inputs_enabled interface with callback instead of boolean (#101292)

Commit
1 year ago
[profiler] replace record_concrete_inputs_enabled interface with callback instead of boolean (#101292) Summary: This allows an internal use case to register a callback that can vary over time instead of being a static value over the lifetime of the program. Test Plan: ran the test listed above ^^. Differential Revision: D45805139 Pull Request resolved: https://github.com/pytorch/pytorch/pull/101292 Approved by: https://github.com/aaronenyeshi
Author
Committer
Parents
Loading