Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
asne11
· 2y ago · 0 comments
"slot" is a processing unit. Either GPU or CPU. I believe `llama.c` is only CPU so I'm guessing 1 slot = 1 core (or thread)?
Comments
[–]
mcharytoniuk
2y ago
It divides the context into smaller "slots", so it can process requests concurrently with continuous batching. See also:
https://github.com/ggerganov/llama.cpp/tree/master/examples/...
[–]
kgeist
2y ago
Llama.cpp can run on CPU, on GPU, or in mixed mode (some layers run on CPU and some on GPU if you don't have enough VRAM).
[–]
new299
2y ago
llama.cpp is not CPU only…