[GH-ISSUE #870] [FEAT]: how to specify running the llama cpp model on GPU #514

Closed
opened 2026-02-22 18:19:54 -05:00 by yindo · 1 comment
Owner

Originally created by @ivy-lv11 on GitHub (Mar 6, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/870

What would you like to see?

I use Docker to run the AnythingLLM.
After putting llama-2-7b.gguf under the model/ folder, it runs correct and outputs normally. However, where could I specify the model device is GPU or CPU?
Thanks a lot!

Originally created by @ivy-lv11 on GitHub (Mar 6, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/870 ### What would you like to see? I use Docker to run the AnythingLLM. After putting llama-2-7b.gguf under the model/ folder, it runs correct and outputs normally. However, where could I specify the model device is GPU or CPU? Thanks a lot!
yindo added the enhancementfeature request labels 2026-02-22 18:19:54 -05:00
yindo closed this issue 2026-02-22 18:19:54 -05:00
Author
Owner

@timothycarambat commented on GitHub (Mar 7, 2024):

The llama.cpp functionality is quite bare-bones right now. If you wanted to offload layers to GPU for better performance and such that isn't available currently for that form. You can move your model over to Ollama or something else more comprehensive and get that ability. 👍

@timothycarambat commented on GitHub (Mar 7, 2024): The llama.cpp functionality is quite bare-bones right now. If you wanted to offload layers to GPU for better performance and such that isn't available currently for that form. You can move your model over to Ollama or something else more comprehensive and get that ability. 👍
yindo changed title from [FEAT]: how to specify running the llama cpp model on GPU to [GH-ISSUE #870] [FEAT]: how to specify running the llama cpp model on GPU 2026-06-05 14:35:43 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#514