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 usage and slowness question #16

Open
PrithivirajDamodaran opened this issue Mar 2, 2024 · 2 comments
Open

Memory usage and slowness question #16

PrithivirajDamodaran opened this issue Mar 2, 2024 · 2 comments

Comments

@PrithivirajDamodaran
Copy link

In CPU build, I experienced this issue both here and in the llama.cpp version.

GGML is built for edge AI so resource constrained devices but Both in CLI and as python, even for a small text of say 64 tokens the code seems to run very slow when the RAM available is 10Gb or low but runs really FAST when with more RAM like 15-20GB. I used 6 threads. With less threads again things slow.

Something is wrong. Have you encountered this ?

@PrithivirajDamodaran
Copy link
Author

Adding the llama.cpp issue here as well as they are related, but it has more details.

ggerganov/llama.cpp#5846

@PrithivirajDamodaran
Copy link
Author

PrithivirajDamodaran commented Mar 8, 2024

Any inputs on the resource usage I.e. memory and CPU usage for running quantised GGML embedding models will be helpful to take this forward.

Please let me know if someone is looking into this.

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

1 participant