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
Issue while creating faiss index, Command is not clear #15
Comments
Hi @SAIVENKATARAJU, what is the version of faiss? Did you install faiss-gpu? |
Hi @jhyuklee |
Hi @jhyuklee
|
I'm not sure why, but the error message says you are trying to use hnsw. The default setting for using hnsw is DensePhrases/build_phrase_index.py Lines 113 to 116 in a8819d9
|
Hi @jhyuklee This hnsw type error was resolved, however ,I posted second screenshot that its hanging forever, That problem still persisting. its happening because of deadlock. Please find the screenshot below. I am attaching sample article.json and commands That I have used. if you have time you can go through that. Command 2 |
Hi @SAIVENKATARAJU, I've downloaded your
If you really want to build a phrase index for this small sized corpus, try exact search instead of IVFPQ. I didn't encounter any problem with |
Hi @jhyuklee Thanks for Your comments.
I wonder the default file and article_original.json are both are same. I just rename it as my original custom data is article.json. How come you did not see any error for default file but with a change name. And So you did get any deadlock while building Phrase index as shown above? |
No I didn't. Seems like DensePhrases/build_phrase_index.py Line 122 in a983eeb
gpu_index.verbose=True in DensePhrases/build_phrase_index.py Line 129 in a983eeb
|
Oh it seems like you just copied and created the json file.. |
Hi @SAIVENKATARAJU, is your problem solved? |
Hi , |
Yes, but that will take some time. I think there could be a problem with the faiss installation. You can try re-installing faiss and pytorch. Their dependencies sometimes conflict. |
Keep an eye on this issue if you need: deepset-ai/haystack#1721 |
Hi,
What is the all in this command, I am getting unrecognized command error when i remove all.
I corrected that by giving --dump_dir before but its not creating anything. Please find the screenshot below,
The text was updated successfully, but these errors were encountered: