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

Add option to disable KV offload #154

Open
nsntiw opened this issue Feb 1, 2025 · 0 comments
Open

Add option to disable KV offload #154

nsntiw opened this issue Feb 1, 2025 · 0 comments

Comments

@nsntiw
Copy link

nsntiw commented Feb 1, 2025

Llama.cpp's -nkvo argument disables KV cache offload to the GPU, this allows a 9B model to be loaded onto 9GB of VRAM and used without risk of OOM as context increase. This is very important as R1 distilled models often reason with thousands of tokens before giving an answer.

https://github.com/ggerganov/llama.cpp/blob/master/examples/server/README.md

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