IntelligenzaArtificiale / Free-Auto-GPT

Free Auto GPT with NO paids API is a repository that offers a simple version of Auto GPT, an autonomous AI agent capable of performing tasks independently. Unlike other versions, our implementation does not rely on any paid OpenAI API, making it accessible to anyone.
MIT License
2.44k stars 383 forks source link

faiss-gpu Wont install requirements #45

Closed EthanHarwood closed 1 year ago

EthanHarwood commented 1 year ago

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'

IntelligenzaArtificiale commented 1 year ago

open the requirements.txt and comment the line with faiss-gpu and remove the comment frome the line faiss-cpu

EthanHarwood commented 1 year ago

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

tensorflow >= 2.0 -- For other future models

flax -- For other future models

pytest-playwright undetected-chromedriver>=3.2.1 markdownify>=0.11.6 hugchat

IntelligenzaArtificiale commented 1 year ago

replace faiss-gpu with faiss-cpu in your requirements.txt file.

EthanHarwood commented 1 year ago

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 ?

IntelligenzaArtificiale commented 1 year ago

Yes faiss-gpu uses your gpu to do the calculations so it's more performant. If the problem is resolved pls close the Issue ❤

Amazonprimeo1 commented 1 year ago

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

Amazonprimeo1 commented 1 year ago

No branch to pull request

IntelligenzaArtificiale commented 1 year ago

@Amazonprimeo1 use main branch . but make you have dowload the last version of repository and add good quality documentation for pull