-
-
Save alexlib/93cf68aa8d3d3c1edc413def229af86d to your computer and use it in GitHub Desktop.
Install faiss on Google Colab without using Conda
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!wget https://anaconda.org/pytorch/faiss-cpu/1.2.1/download/linux-64/faiss-cpu-1.2.1-py36_cuda9.0.176_1.tar.bz2 | |
!tar xvjf faiss-cpu-1.2.1-py36_cuda9.0.176_1.tar.bz2 | |
!cp -r lib/python3.6/site-packages/* /usr/local/lib/python3.6/dist-packages/ | |
!pip install mkl | |
import faiss |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment