Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory requirements #227

Open
mishav78 opened this issue Mar 22, 2023 · 12 comments
Open

memory requirements #227

mishav78 opened this issue Mar 22, 2023 · 12 comments

Comments

@mishav78
Copy link

maybe I'm an idiot but I have to ask is below memory requirements for cpu or gpu ram?

Runs on most modern computers. Unless your computer is very very old, it should work.

According to ggerganov/llama.cpp#13, here are the memory requirements:

7B => ~4 GB
13B => ~8 GB
30B => ~16 GB
65B => ~32 GB

@trevtravtrev
Copy link

I'm running the 30B alpaca and my memory usage is roughly 78% of my 32GB RAM while in use.

@mishav78
Copy link
Author

cpu or gpu ram?

@trevtravtrev
Copy link

trevtravtrev commented Mar 22, 2023

My PC memory/RAM. It also uses your CPU. As far as I know there are no current configurable settings to use GPU.

@mishav78
Copy link
Author

will it work faster with a gpu?

@trevtravtrev
Copy link

Please see my above edited comment.

@mishav78
Copy link
Author

very strange. Don't these models usually use gpus?

@mishav78
Copy link
Author

mishav78 commented Mar 22, 2023

x

@DustinBrett
Copy link

DustinBrett commented Mar 23, 2023

very strange. Don't these models usually use gpus?

This project is using llama.cpp/alpaca.cpp which "Runs on the CPU"

https://github.com/antimatter15/alpaca.cpp#getting-started-30b

@trevtravtrev
Copy link

very strange. Don't these models usually use gpus?

To train them not to run them.

@mishav78
Copy link
Author

does it work as good as chatgpt? Or close?

@trevtravtrev
Copy link

I'd say 30B is closing in at about 80% of chat gpt 3.5. 7B/13B maybe 60%+.

@DustinBrett
Copy link

I'd say 30B is closing in at about 80% of chat gpt 3.5. 7B/13B maybe 60%+.

I'd be interested to know what prompts you've tried and what parameter (temperature, etc) values you have.

For me even 30B feels like 10% of what I see with ChaGPT 3.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants