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
build_index is very slow #140
Comments
Building an hnsw is indeed one of the slowest adding method, especially with random vectors. If you want to optimize for speed of building an index you can force the index key to not use hnsw |
autofaiss build_index cost time 49min,faiss index add cost time 34 min
|
embedding_reader parameter max_piece_size and parallel_pieces need optimize? autofaiss/autofaiss/indices/build.py Lines 98 to 102 in d5c773f
|
What kind of local disk do you have ? |
SSD |
machine:
code:
log:
The text was updated successfully, but these errors were encountered: