Closed EthanHarwood closed 1 year ago
open the requirements.txt
and comment the line with faiss-gpu
and remove the comment frome the line faiss-cpu
This is my contents of my requirments.txt But i still seem to be having the same error. Have i done this correctly ? Thanks in advance
requests langchain streamlit streamlit-chat-media numpy retry duckduckgo-search transformers tabulate wikipedia faiss-gpu nest_asyncio torch
pytest-playwright undetected-chromedriver>=3.2.1 markdownify>=0.11.6 hugchat
replace faiss-gpu with faiss-cpu in your requirements.txt file.
Thanks. that seems to be installing now. However, i do have a gpu installed so not sure why this has happened. Will it cause any performance issue using CPU instead ?
Yes faiss-gpu uses your gpu to do the calculations so it's more performant. If the problem is resolved pls close the Issue ❤
Thanks. that seems to be installing now. However, i do have a gpu installed so not sure why this has happened. Will it cause any performance issue using CPU instead ?
@Amazon1
No branch to pull request
@Amazonprimeo1 use main branch . but make you have dowload the last version of repository and add good quality documentation for pull
WARNING: Generating metadata for package faiss-gpu produced metadata for project name faiss-cpu. Fix your #egg=faiss-gpu fragments. Discarding https://files.pythonhosted.org/packages/17/76/47d0cc8161f4bf988583a2839bb1e56baf09d6b80cfa472b9eba4d5f543b/faiss-gpu-1.7.1.post2.tar.gz (from https://pypi.org/simple/faiss-gpu/): Requested faiss-cpu from https://files.pythonhosted.org/packages/17/76/47d0cc8161f4bf988583a2839bb1e56baf09d6b80cfa472b9eba4d5f543b/faiss-gpu-1.7.1.post2.tar.gz (from -r requirements.txt (line 11)) has inconsistent name: expected 'faiss-gpu', but metadata has 'faiss-cpu'