You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix quantization when doing parallel clone testing; add check for bitwise accuracy (#3440)
Summary:
Previously we were only checking the results from parallel clones against the interpreter result within some threshold. With this change we will also check that all of the parallel clone results from the backend are bitwise accurate.
When implementing this I found that things were currently broken; the quantizer was not erroring out when it should have been (fixed in 1st commit). Additionally we were not copying over the quantization infos for the cloned nodes to find their correct quantization parameters, so without the check from the 1st commit those nodes were just not being quantized.
Pull Request resolved: #3440
Test Plan: All tests still pass with the added check; also ran OperatorTests with `--parallel-clone-count=10`.
Differential Revision: D16944262
Pulled By: jfix71
fbshipit-source-id: 117abf463c409b1202fdbefd1139509c8d85165c
0 commit comments