pytorch
f2917080 - dbr quant: clean up logging format (#70114)

Commit
3 years ago
dbr quant: clean up logging format (#70114) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/70114 This PR makes the debug logging for DBR quant be more useful and easier to read. New format looks like ``` DEBUG:auto_trace: fqn: _tf_ <function tanhshrink at 0x7fa4d02d4790> out torch.float32 end ``` This will be useful to speed up further work. Test Plan: ``` // run this with logging enabled, logs easier to read python test/test_quantization.py TestQuantizeDBR ``` Reviewed By: jerryzh168 Differential Revision: D33189545 Pulled By: vkuzo fbshipit-source-id: 20af7e066e710beac5a3871a9d6259ee5518f97d
Author
Parents
Loading