pytorch
cce9c9aa - dbr quant: stop overridding tensor getters (#70115)

Commit
3 years ago
dbr quant: stop overridding tensor getters (#70115) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/70115 This PR turns off DBR quant __torch_function__ overrides on tensor attribute getters such as `x.dtype`. This should help with making the debug logs more readable, and reduce framework overhead. Test Plan: ``` python test/test_quantization.py TestQuantizeDBR ``` Reviewed By: ejguan Differential Revision: D33189544 Pulled By: vkuzo fbshipit-source-id: e0d664bb6b76ca9e71c8a439ae985a0849312862
Author
Parents
Loading