Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dwaltrip
· 2mo ago · 0 comments
The cache shouldn't affect inference. It is purely an I/O optimization.
Comments
[–]
desterothx
2mo ago
I think it should, as you dont need to use the encoder layer on the new tokens, you just read the embedding from the cache. that's why cache reads are cheaper
[–]
dwaltrip
OP
2mo ago
I meant, it shouldn't affect the resulting LLM output. It's a performance optimization that doesn't change the behavior.