
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, …
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 …
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 …
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 …
python - Cannot import langchain.vectorstores.FAISS, only …
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 · 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".
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 …
Merge multiple FAISS chunks in a single chunk - Stack Overflow
Jan 23, 2025 · I have loaded data in FAISS using the chunks as my data was very large. So, after the process 110 chunks have been made with respective .faiss & .pkl files. I have written this …
chatbot - How to combine multiple FAISS indexes into one to get …
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 …
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 …