Uploaded November 2026 | Updated November 2026, 4 days ago
In this video I explain how it works from scratch, why it makes long conversations so expensive, and how EdgeRock-4B from Rock Matrix keeps it at a fixed size no matter how long the conversation gets.
GitHub (code, Apache-2.0): github.com/rockmatrix-ai/EdgeRock
Hugging Face (open weights): huggingface.co/rockmatrix-ai/EdgeRock
Paper (arXiv): arxiv.org/abs/2610.10118
Rock Matrix: rockmatrix.ai
Chapters
0:00 Intro
0:41 How AI writes, one token at a time
1:38 Attention: looking back
2:32 Key, value and query
4:21 The KV cache
5:13 The catch: it keeps growing
5:52 The math for Llama 3.1 8B
7:10 Two ways to fix it
8:33 EdgeRock's three kinds of memory
9:20 How pinning works
10:33 72 MB at any length
11:08 Faster long conversations
11:31 Does it remember?
12:00 Still smart, and multimodal
12:23 Fully open: weights, code, paper
Make sure you leave a like and subscribe to the channel!
Follow me on:
X https://x.com/mehulmpt
Instagram instagram.com/mehulmpt
LinkedIn linkedin.com/in/mehulmpt
In this video I explain how it works from scratch, why it makes long conversations so expensive, and how EdgeRock-4B from Rock Matrix keeps it at a fixed size no matter how long the conversation gets.
GitHub (code, Apache-2.0): github.com/rockmatrix-ai/EdgeRock
Hugging Face (open weights): huggingface.co/rockmatrix-ai/EdgeRock
Paper (arXiv): arxiv.org/abs/2610.10118
Rock Matrix: rockmatrix.ai
Chapters
0:00 Intro
0:41 How AI writes, one token at a time
1:38 Attention: looking back
2:32 Key, value and query
4:21 The KV cache
5:13 The catch: it keeps growing
5:52 The math for Llama 3.1 8B
7:10 Two ways to fix it
8:33 EdgeRock's three kinds of memory
9:20 How pinning works
10:33 72 MB at any length
11:08 Faster long conversations
11:31 Does it remember?
12:00 Still smart, and multimodal
12:23 Fully open: weights, code, paper
Make sure you leave a like and subscribe to the channel!
Follow me on:
X https://x.com/mehulmpt
Instagram instagram.com/mehulmpt
LinkedIn linkedin.com/in/mehulmpt










