Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exhaustive IVF probing in scalar quantizer tests (#4075)
Summary: Pull Request resolved: #4075 `TestScalarQuantizer.test_4variants_ivf` shouldn't mix IVF probing misses in with its evaluation. As is, it probes 4/64 centroids, so FP16 has only 73% recall. This fixes it to *still exercise residual encoding* and the resulting distributions, but exhaustively scan the index. Reviewed By: junjieqi Differential Revision: D66909687 fbshipit-source-id: f4ec32b59fe7885415489f82e6a17ce03eb10916
- Loading branch information