Key Value Caching in LLMs
K,V caching mechanism on my whiteboard. The token under the dotted line represents the newest token If you’ve been following my previous blogs, you might have seen that I’ve been going on an LLM training journey. I started with building an LLM from scratch (training is still ongoing, by the way), and now I’m digging deeper into other topics such as K,V caching, Mixture of Experts, Reinforcement Learning, etc. ...