-
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
Unable to use Faiss GPU on IBM Power9 (Python) #846
Comments
Also it is worth mentioning I changed |
This is interesting. AFAIK, it is the first time that FAISS is compiled on a PPC architecture (so far only x64 and ARM). Is the PPC running in little endian mode? The error that you get looks like a g++ error. This is surprising because the gcc version you are using is quite recent. Are you sure that nvcc is indeed using that compiler? |
Hi @mdouze yes, the PPC is running in little endian mode. Things I found so far:
I have _swigfaiss.so and _swigfaiss_gpu.so in
Do you have an idea of what is going wrong? |
Could you try to import |
I got a little busy with other things and cannot try this right away. I will close the issue for now and open another one if need be. Thanks |
Summary
Hi, I managed to install faiss on IBM power9 architecture. However I am unable to use faiss on GPU with python. I get an error
module 'faiss' has no attribute 'StandardGpuResources'
I am able to use the CPU version fine.
I am pasting my makefile.inc below (see end of issue).
Edit:
I noticed a gpu folder with a Makefile, so I tried:
I get the following error:
Also the configure argument
--with-cuda-arch
is not recognised. Is the documentation for a newer version of faiss > 1.4.0?My g++ version is:
7.4.0
Cuda:
10.1
Thanks
Platform
IBM Power9
OS: Ubuntu 18.04 LTS
Faiss version: 1.4.0
Faiss compilation options:
LDFLAGS=-L/path/to/openblas/ ./configure --with-cuda=/usr/local/cuda
Running on:
Interface:
Reproduction instructions
Here is my makefile.inc
The text was updated successfully, but these errors were encountered: