Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
edg5000
· 8mo ago · 0 comments
So limiting max context length also reduces VRAM needs a bit? If cache is 20% of total, 1/10th of context as a limit would mean 18% total memory reduction.
Comments
[–]
valine
8mo ago
Yup exactly, in principle it helps with both inference speed by reducing memory bandwidth usage and also reduces the memory footprint of your kvcache.