Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

mdouze
Copy link
Contributor

@mdouze mdouze commented Nov 9, 2022

Summary:
Intuitively, it should be easier to handle big-batch searches because all distance computations for a set of queries can be done locally within each inverted list.

This benchmark implements this in pure python (but should be close to optimal in terms of speed), on CPU for IndexIVFFlat and IndexIVFPQ.

The results are not systematically better, see https://docs.google.com/document/d/1d3YuV8uN7hut6aOATCOMx8Ut-QEl_oRnJdPgDBRF1QA/edit?usp=sharing

Differential Revision: D41098338

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D41098338

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D41098338

mdouze added a commit to mdouze/faiss that referenced this pull request Nov 11, 2022
Summary:
Pull Request resolved: facebookresearch#2567

Intuitively, it should be easier to handle big-batch searches because all distance computations for a set of queries can be done locally within each inverted list.

This benchmark implements this in pure python (but should be close to optimal in terms of speed), on CPU for IndexIVFFlat, IndexIVFPQ and IndexIVFScalarQuantizer. GPU is also supported.

The results are not systematically better, see https://docs.google.com/document/d/1d3YuV8uN7hut6aOATCOMx8Ut-QEl_oRnJdPgDBRF1QA/edit?usp=sharing

Differential Revision: D41098338

fbshipit-source-id: 02b5ae1fa89ac37972cd2bce2ced9f7dbc2dc8af
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D41098338

mdouze added a commit to mdouze/faiss that referenced this pull request Nov 24, 2022
Summary:
Pull Request resolved: facebookresearch#2567

Intuitively, it should be easier to handle big-batch searches because all distance computations for a set of queries can be done locally within each inverted list.

This benchmark implements this in pure python (but should be close to optimal in terms of speed), on CPU for IndexIVFFlat, IndexIVFPQ and IndexIVFScalarQuantizer. GPU is also supported.

The results are not systematically better, see https://docs.google.com/document/d/1d3YuV8uN7hut6aOATCOMx8Ut-QEl_oRnJdPgDBRF1QA/edit?usp=sharing

Differential Revision: D41098338

fbshipit-source-id: d418947b526b7b4c5ecd03b713271e88b7ef5e26
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D41098338

mdouze added a commit to mdouze/faiss that referenced this pull request Dec 9, 2022
…arch#2567)

Summary:
Pull Request resolved: facebookresearch#2567

Intuitively, it should be easier to handle big-batch searches because all distance computations for a set of queries can be done locally within each inverted list.

This benchmark implements this in pure python (but should be close to optimal in terms of speed), on CPU for IndexIVFFlat, IndexIVFPQ and IndexIVFScalarQuantizer. GPU is also supported.

The results are not systematically better, see https://docs.google.com/document/d/1d3YuV8uN7hut6aOATCOMx8Ut-QEl_oRnJdPgDBRF1QA/edit?usp=sharing

Reviewed By: algoriddle

Differential Revision: D41098338

fbshipit-source-id: be4df745b7f89521bdcba84f76f4b35829579097
…arch#2567)

Summary:
Pull Request resolved: facebookresearch#2567

Intuitively, it should be easier to handle big-batch searches because all distance computations for a set of queries can be done locally within each inverted list.

This benchmark implements this in pure python (but should be close to optimal in terms of speed), on CPU for IndexIVFFlat, IndexIVFPQ and IndexIVFScalarQuantizer. GPU is also supported.

The results are not systematically better, see https://docs.google.com/document/d/1d3YuV8uN7hut6aOATCOMx8Ut-QEl_oRnJdPgDBRF1QA/edit?usp=sharing

Reviewed By: algoriddle

Differential Revision: D41098338

fbshipit-source-id: 4eb19710b8ab6c0f64f68d8ed862a75fb6f8fd24
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D41098338

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in fa53e2c.

BZO95 added a commit to BZO95/faiss that referenced this pull request Apr 10, 2025
Summary:
Pull Request resolved: facebookresearch/faiss#2567

Intuitively, it should be easier to handle big-batch searches because all distance computations for a set of queries can be done locally within each inverted list.

This benchmark implements this in pure python (but should be close to optimal in terms of speed), on CPU for IndexIVFFlat, IndexIVFPQ and IndexIVFScalarQuantizer. GPU is also supported.

The results are not systematically better, see https://docs.google.com/document/d/1d3YuV8uN7hut6aOATCOMx8Ut-QEl_oRnJdPgDBRF1QA/edit?usp=sharing

Reviewed By: algoriddle

Differential Revision: D41098338

fbshipit-source-id: 479e471b0d541f242d420f581775d57b708a61b8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants