kyamagu / faiss-wheels

Unofficial faiss wheel builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

module 'faiss._swigfaiss' has no attribute 'delete_FloatVector'

robonetphy opened this issue · comments

On Google Colab:

  1. following installation works fine:
    python3 -m pip install --upgrade faiss-gpu
  2. But during import import faiss gives me the following error:
    image
    3.I downgraded version and install
    python3 -m pip install --upgrade faiss-gpu==1.7.1
    works fine for me

I cannot reproduce the above in colab. Did you install faiss-cpu beforehand?

!pip install faiss-gpu
import faiss

Yup I installed the faiss-cpu before installing faiss-gpu
Actually I used command as follow
python3 -m pip install --upgrade faiss faiss-gpu

Uninstall faiss package, which is not related to this repository

@kyamagu thanks it works for me
@kyamagu and please let me know if I can contribute in the repo in terms of development.