Commit Graph

1 Commits (2cd84aa66308143d00aa0f39ccf29cbf48d243a6)

Author SHA1 Message Date
Alexandr Guzhva 2556813131 Additional C++ templates for fast sa_decode: more codecs for Index2LevelDecoder (#2443)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/2443

Add support for
* IVF[9-16 bit],PQ[1]x8 (such as IVF1024,PQ16np)
* Residual1x[9-16 bit],PQ[1]x8 (such as Residual1x9,PQ8)

Additionally, AVX2 and ARM versions support
* Residual[1]x8,PQ[2]x10
* Residual[1]x8,PQ[2]x16
* Residual1x[9-16 bit],PQ[1]x10 (such as Residual1x9,PQ16x10)
* Residual1x[9-16 bit],PQ[1]x16 (such as Residual1x9,PQ16x16)
* Residual[1]x10,PQ[2]x10
* Residual[1]x10,PQ[2]x16
* Residual[1]x16,PQ[2]x10
* Residual[1]x16,PQ[2]x16

IVF[9-16 bit],PQ[1]x10 and IVF[9-16 bit],PQ[1]x16 (such as IVF1024,PQ16x10np) are supported as well, but Faiss does not allow to train such Indices as this time.

Reviewed By: mdouze

Differential Revision: D39176424

fbshipit-source-id: 29b3d8d27a5fed0185df3e5484003fcc1521083a
2022-09-05 10:04:32 -07:00