Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A second set of hotfixes for ivf-pq: 1. `max_samples` is calculated from `cluster_offsets` to reduce the number of arguments and register pressure when it's not needed. The calculation on the kernel side was wrong and not matching the calculation on the host side (missing roundUp/128), which led to incorrect offsets inside the filled distance array. Authors: - Artem M. Chirkin (https://github.com/achirkin) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: #891
- Loading branch information