7

I want to install Faiss-GPU on Lambda Stack by conda install -c pytorch faiss-gpu but there is no conda installed.

I tried the solution mentioned here: Installing faiss on Google Colaboratory with this version of faiss https://anaconda.org/pytorch/faiss-gpu/1.6.0/download/linux-64/faiss-gpu-1.6.0-py36h1a5d453_0.tar.bz2 but is says:

ImportError: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory

ModuleNotFoundError: No module named '_swigfaiss_avx2'

ImportError: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory

ModuleNotFoundError: No module named '_swigfaiss'

What is the correct way to install Faiss on Lambda Stack?

desertnaut
  • 57,590
  • 26
  • 140
  • 166
MAMProgr
  • 400
  • 5
  • 12

1 Answers1

1

if you are colab just try the following:

!sudo apt-get install libomp-dev

Then it works.

Farzad Amirjavid
  • 649
  • 5
  • 13