-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
munmap_chunk(): invalid pointer \n segmentation fault (core dump), when feature dim is big in index.train #4038
Comments
My RAM is 500GB, and i have not observe the surge of ram usage when running the code (or maybe everything happened too fast?), If anyone could help me understand the exact cause, I would greatly appreciate it. |
hi @cywuuuu, I just tried to re-run the code you provided and use |
Well, it is quite strange because I do have that issue when rerunning the code, I give my detail as below(The And the following is the package I am using: I am curious why. Hopefully you can help me out, I would greatly appreciate it,thanks @junjieqi |
@cywuuuu thanks for providing additional information. I'm wondering why you are using faiss-gpu. Since I saw you initialize |
Sorry, my bad. Now I delete that
|
This issue is stale because it has been open for 7 days with no activity. |
This issue was closed because it has been inactive for 7 days since being marked as stale. |
Summary
I am trying to run a baseline model VQREC pq.py I met
munmap_chunk(): invalid pointer \n segmentation fault (core dump)
, whenfeat_size
is bigger than 1024, but whenfeat_size = 768
its ok. I minimized the code below, so it can help with Reproduction the issue. (I am new to faiss, but I would like know how to fix it, thanks)Platform
OS:
Ubuntu 20.04
Faiss version:
faiss 1.9.0
Installed from:
anaconda
Faiss compilation options:
Running on:
Interface:
Reproduction instructions
Just run the code, with different feat_size.
The text was updated successfully, but these errors were encountered: