TorchPQ

Approximate nearest neighbor search with product quantization on GPU in pytorch and cuda

MIT License

Downloads
5.4K
Stars
211
Committers
4
TorchPQ - v0.3.0.1 Latest Release

Published by DeMoriarty about 2 years ago

TorchPQ - v0.3.0

Published by DeMoriarty about 3 years ago

Improvements on IVFPQ
added DistributedCellContainer

TorchPQ - v0.2.0.2

Published by DeMoriarty about 3 years ago

Small improvements

TorchPQ - v0.2.0

Published by DeMoriarty over 3 years ago

What's new in v0.2.0?

  1. IVFPQIndex search speed is greatly improved, now at least 2 times faster than before

  2. IVFPQIndex now supports encoding residuals, pass pq_use_residual=True to initializer method in order to toggle residual encoding on. this improves recall rate, espcially for low code sizes. You can see the difference between residual encoding on and off from benchmark results

  3. Added new submodules, such as index, clustering, codec, transform and more

  4. old implementations from v0.1 are moved to torchpq/legacy/

  5. more thorough benchmark results on sift1m dataset

TorchPQ - v0.1.4

Published by DeMoriarty over 3 years ago

Package Rankings
Top 8.45% on Pypi.org