
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 …
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 …
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 …
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.
langchain - How can I install faiss-gpu? - Stack Overflow
Mar 21, 2024 · Same problem with me. I'm on ubuntu 22.04 (Jammy) with X86_64 (AMD) architech. I'm using python3.10. I can't both pip install faiss-gpu and faiss-gpu In my case, I go with building from …
python - Update an element in faiss index - Stack Overflow
Mar 26, 2022 · I am using faiss indexflatIP to store vectors related to some words. I also use another list to store words (the vector of the nth element in the list is nth vector in faiss index). I have two ques...
python - FAISS Db Vector Search - Stack Overflow
Jan 29, 2025 · For eg. in above scneraio if I want to search on the basis of input_price then FAISS doesn't let me do that because it needs the input vector of same dimension as of index. And I also …
python - Using langchain's Faiss, the similarity computation results ...
Nov 27, 2023 · When utilizing langchain's Faiss vector library and the GTE embedding model, I've encountered an issue: even though my query sentence is present in the vector library file, the …
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 …
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 …