About 730,000 results
Open links in new tab
  1. python error with faiss on GPU with cuda despite successful ...

    Oct 16, 2024 · The faiss-gpu-cu12 package (the binaries contained in it) is minor version compatible with CUDA and will work dynamically linked with CUDA 12.X (X>=1). So it seems you have to be on …

  2. python - Cannot import langchain.vectorstores.FAISS, only langchain ...

    Jan 25, 2024 · Why do you have this tagged faiss and not py-langchain? It only applies to people using specifically langchain bindings and is completely irrelevant to other faiss users.

  3. langchain - How can I install faiss-gpu? - Stack Overflow

    Mar 21, 2024 · I can't both pip install faiss-gpu and faiss-gpu In my case, I go with building from source and don't want to risk messing with cuda so I decide to go with "disable GPU option".

  4. python - How do I persist FAISS indexes? - Stack Overflow

    Jul 11, 2024 · db.save_local("faiss_index") new_db = FAISS.load_local("faiss_index", embeddings) docs = new_db.similarity_search(query) How can I save the indexes to databases, such that we can …

  5. ImportError: Could not import faiss python package

    Jan 27, 2024 · Same issue here. How did you install faiss-cpu? From Conda-forge? As is have understood from the official faiss site, that is the recommended way to install. Interestingly, when …

  6. chatbot - How to combine multiple FAISS indexes into one to get a ...

    Jun 7, 2023 · The MultiIndexRetriever method is not existing, I need to create a single retriever from three faiss indexes. Because I need to use those three indexes separately afterward to get reference …

  7. The de-serialization relies loading a pickle file [closed]

    Mar 7, 2024 · new_db = FAISS.load_local("faiss_index", embeddings,allow_dangerous_deserialization=True) should fix this. This is a feature to prevent any …

  8. faiss: How to retrieve vector by id from python - Stack Overflow

    Jan 7, 2022 · I have a faiss index and want to use some of the embeddings in my python script. Selection of Embeddings should be done by id. As faiss is written in C++, swig is used as an API. I …

  9. Error installing faiss-cpu with pip: swig.exe command failed during ...

    Jan 22, 2024 · I'm trying to install the faiss-cpu package in my Python environment, but I'm encountering a build error related to swig.exe during the wheel building process. I'm working within a virtual …

  10. pip - Installing faiss on Google Colaboratory - Stack Overflow

    Dec 25, 2017 · PyTorch is easy to install. But I found problem with installing Faiss. The instruction on MUSE tell me to use conda install faiss-cpu -c pytorch But Google Colab doesn't support conda …