Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow k and M suffixes in IVF indexes (#3812)
Summary: Pull Request resolved: #3812 Allows factory strings like `IVF3k,Flat` as a shorthand for 3072 centroids. The main question is whether k or M should be metric (k=1000) or power of 2 (k=1024): * pro-metric: standard, * pro-power of 2: in practice we use powers of 2 most often The suffixes ki and Mi should be used for powers of 2 but this makes the notation more heavy (which is what we wanted to avoid in the first place). So I picked power of 2. Reviewed By: mnorris11 Differential Revision: D62019941 fbshipit-source-id: f547962625123ecdfaa406067781c77386017793
- Loading branch information