Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

LLM inference speed with vs. without KV caching: (learn how and why it works below)

396,012 görüntüleme • 7 ay önce •via X (Twitter)

13 Yorum

0x_Vivek profil fotoğrafı
0x_Vivek7 ay önce

kv caching is basically the llm refusing to do the same math twice. saving memory so it can hallucinate faster.

Ivan Zhang profil fotoğrafı
Ivan Zhang7 ay önce

This is awesome, thanks Avi.

Finding Moat profil fotoğrafı
Finding Moat7 ay önce

What laptop/pc are you using?

Eric Henderson profil fotoğrafı
Eric Henderson7 ay önce

I have much to learn

Jayakrishnan R profil fotoğrafı
Jayakrishnan R7 ay önce

Entire MQA/GQA Attention is built over this

Ghulam profil fotoğrafı
Ghulam7 ay önce

Uses the same peak memory tho

0x001A profil fotoğrafı
0x001A7 ay önce

Bookmarked.

Açoine profil fotoğrafı
Açoine7 ay önce

V cool

Dwgs profil fotoğrafı
Dwgs7 ay önce

kv cache really makes the speed jump crazy fast

Imtiaz Nabi profil fotoğrafı
Imtiaz Nabi7 ay önce

@_avichawla great tut as usual Is there any better and effective way or KV caching is still SOTA?

Xiayi Sun profil fotoğrafı
Xiayi Sun7 ay önce

KV caching feels like the first optimization everyone learns, but the interesting question is where memory bandwidth becomes the real bottleneck.

Xiayi Sun profil fotoğrafı
Xiayi Sun7 ay önce

KV caching feels like the moment LLMs became real systems engineering problems, where memory bandwidth can matter as much as model quality.

Vijay Khambe profil fotoğrafı
Vijay Khambe7 ay önce

KV cache removes recomputation. It shifts decode from compute-bound → memory-bound. But at scale, KV itself becomes the bottleneck.

Benzer Videolar