Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add faiss.IO_FLAG_SKIP_IVFPQ_PRECOMPUTE_TABLE flag for faiss.read_index() #2489

Conversation

alexanderguzhva
Copy link
Contributor

Summary: Currently, Faiss does not save the precomputed_table for IVFPQ when saving an index, and reconstructs one on the fly upon loading. The introduced flag allows to skip the reconstruction during faiss.read_index()

Differential Revision: D39747978

@facebook-github-bot
Copy link
Contributor

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

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

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

alexanderguzhva added a commit to alexanderguzhva/faiss that referenced this pull request Sep 23, 2022
…acebookresearch#2489)

Summary:
Pull Request resolved: facebookresearch#2489

Currently, Faiss does not save the precomputed_table for IVFPQ when saving an index, and reconstructs one on the fly upon loading. The introduced flag allows to skip the reconstruction during faiss.read_index()

Reviewed By: mdouze

Differential Revision: D39747978

fbshipit-source-id: 3c10004989ff2792ccdc6ba23653da60361237ff
…acebookresearch#2489)

Summary:
Pull Request resolved: facebookresearch#2489

Currently, Faiss does not save the precomputed_table for IVFPQ when saving an index, and reconstructs one on the fly upon loading. The introduced flag allows to skip the reconstruction during faiss.read_index()

Reviewed By: mdouze

Differential Revision: D39747978

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

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

@shiwanghua
Copy link

not save to disk, and not compute it when load ? why ? When to compute it ?

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.

3 participants