-
Notifications
You must be signed in to change notification settings - Fork 106
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
RuntimeError: Error in void faiss::gpu::GpuIndexIVFPQ::verifySettings_() #24
Comments
For anyone else running into this (as I have) there's a (fairly obvious) workaround to hardcode use_gpu to False in index_embeddings within retrieval.py. I'll update if and when I come up with a proper fix, but this at least allowed me to progress (after burning a lot of CPU cycles) |
How did you solve this problem? thanks @0x7o |
I don't know the logic behind the solution but I am sharing what worked for me. I increased the memory of these two parameters: |
This error occurs when trying to use TrainingWrapper. If the training data is 1 megabyte in total, no error occurs.
On larger data this error appears.
Apparently the script is trying to process all the data at once, not in batches. Because of this there is a lack of system resources.
RAM: 12 gb
VRAM: 12 gb
Out:
The text was updated successfully, but these errors were encountered: