home.social

#kvcache — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #kvcache, aggregated by home.social.

fetched live
  1. Learn the difference between KV Cache and Prompt Cache, how each speeds up LLM inference, and how developers can improve cache reuse. hackernoon.com/prompt-cache-vs #kvcache

  2. Learn the difference between KV Cache and Prompt Cache, how each speeds up LLM inference, and how developers can improve cache reuse. hackernoon.com/prompt-cache-vs #kvcache

  3. Топ вопросов с NLP собеседований: архитектуры LLM, инференс и оптимизация

    На NLP/LLM собеседованиях все чаще проверяют не только знание трансформеров, но и понимание того, как устроены современные GPT-like модели: почему большинство генеративных LLM используют decoder-only архитектуру, чем LLaMA отличается от ванильного Transformer, зачем нужны RoPE, RMSNorm, SwiGLU и GQA. Почему инференс LLM дорогой и какие оптимизации помогают его ускорять: fused kernels, FlashAttention, KV-cache и PagedAttention, continuous batching, speculative decoding, квантизация и дистилляция. Много схем и картинок, а также полный список вопросов с собесов в конце.

    habr.com/ru/articles/1068944/

    #LLM #архитектура_LLM #инференс_LLM #ускорение_LLM #оптимизация_LLM #Transformer #FlashAttention #KVcache #квантизация_LLM #Mixture_of_Experts

  4. Инференс LLM: от KV-кэша до продакшен-деплоя

    Привет! Я Саша Рыжов, MLOps-инженер в hh.ru , уже три года занимаюсь развитием инфраструктуры для искусственного интеллекта. Компании, которые развивают GenAI, рано или поздно приходят к задачам по запуску LLM на собственном железе. В статье я расскажу, как обстоят дела с движками инференса в 2026 году и как запустить on‑prem-прод и не изобрести при этом велосипед.

    habr.com/ru/companies/hh/artic

    #sglang #llm #inference #kvcache #sram #vllm

  5. Походка за двадцать минут и миллион рублей: что RL сделал с двуногими роботами и во что упёрся их «мозг»

    За один 2026 год двуногие роботы успели пробежать полумарафон быстрее человеческого рекорда, довести публику до того, что CEO пришлось резать роботу ногу ножницами прямо на сцене, и провалить задачу «пройтись ровно» на презентации за миллионы долларов. Разбираю с первоисточниками, почему походка стала дешёвой инженерией — 20 минут на одной видеокарте, — а «живой» робот упирается в ватты, переполняющийся контекст и отсутствие непрерывного обучения.

    habr.com/ru/articles/1057816/

    #reinforcement_learning #RLлокомоция #гуманоидные_роботы #simtoreal #Isaac_Lab #VLAмодели #PPO #world_models #робототехника #KVcache

  6. Почему дорогая LLM дороже: экономика инференса, которую видно в твоём 5-часовом лимите

    Каждый из вас, кто работал с Claude или с ChatGPT, смотрел на свои лимиты Или задавался вопросом «Да как один запрос съел 10% от лимита» Я потратил неделю на то, чтобы разобраться в том, а что вообще отображают эти лимиты И на свет появилась третья статья из моей серии «А как вообще работают современные LLM» После этой статьи ты разберёшься, что скрыто за 5-часовым лимитом Claude и других LLM и как на этом можно экономить. А еще — из каких примитивов состоят лимиты и какая физика вычислений за этим стоит Ну а если работаешь с моделями по API, то вообще пушка бомба Осторожно: после прочтения вы не сможете смотреть на полоску лимитов как прежде 🥵 Че там Че там 👀

    habr.com/ru/articles/1055054/

    #LLM #MoE #activeпараметры #KVcache #инференс_LLM #outputтокены #reasoningтокены #VRAM #claude_code #codex

  7. Полез в исходники vLLM, чтобы понять, почему один символ убивает prompt caching

    В первой части я вывел одно правило и предложил жить по нему: стабильное в начало, изменчивое в хвост , один символ в системном промпте обнуляет весь кэш. Правило рабочее, я сам собираю агента вокруг него. Но жить по закону, которого не понимаешь, неуютно. vLLM и paged attention я руками не писал, зато исходники открыты, и я полез в них за байтовой причиной. Что физически лежит на GPU в момент попадания в кэш, как движок управляет этой памятью и почему хватает одного символа, чтобы всё посыпалось.

    habr.com/ru/articles/1054410/

    #prompt_caching #KVcache #prefix_caching #PagedAttention #vLLM #LLM #инференс_LLM #GPU #prefill #оптимизация

  8. Контекстное окно: почему нейросеть забывает части разговора

    Представьте, что вы разговариваете с невероятно умным и эрудированным собеседником. Только очень странным. Несмотря на весь свой интеллект и тысячи фактов, которые он легко и непринужденно рассказывает, он не может ничего запомнить. Ваш диалог с ним каждый раз как бы начинается заново. Вы даете ему вводные, задаете вопросы, что-то уточняете, а он, на основе всего этого, выдает ответ. Однако, стоит вам задать следующий вопрос, как собеседник напрочь забывает все, о чем вы говорили. И чтобы отвечать более-менее связно, ему приходится сначала перечитать весь ваш диалог. Звучит странно? Возможно. Однако именно так работает большинство современных LLM. А разработчики, пытаясь нивелировать эту особенность, добавляют нейронкам различные обвязки и ухищрения, заметно усложняя логику для рядового пользователя. Чтобы лучше понимать, что происходит, давайте погрузимся в тему. И подробнее познакомимся с такой штукой, как «контекстное окно».

    habr.com/ru/companies/bothub/a

    #контекст #контекстное_окно #LLM #SelfAttention #токен #Lost_in_the_Middle #RAG #KVcache #нейросеть #вектор

  9. 🤖 Ah, the age-old question: Can I buy your KV cache? Because nothing says cutting-edge research like soliciting for key-value storage with the enthusiasm of a telemarketer. 📞 It's like a dating app for databases, but without the personality. 💾💔
    arxiv.org/abs/2606.13361 #KVcache #Telemarketing #DatabaseResearch #TechHumor #DataStorage #HackerNews #ngated

  10. 🤖 Ah, the age-old question: Can I buy your KV cache? Because nothing says cutting-edge research like soliciting for key-value storage with the enthusiasm of a telemarketer. 📞 It's like a dating app for databases, but without the personality. 💾💔
    arxiv.org/abs/2606.13361 #KVcache #Telemarketing #DatabaseResearch #TechHumor #DataStorage #HackerNews #ngated

  11. Prefix Persistence Unveiled in LLM KV Cache Dynamics

    Learn how LLM KV cache prefixes remain unchanged, with masking used to manage them. This helps speed up AI responses.

    #LLM, #KVcache, #AIefficiency, #PromptEngineering, #TechNews

    newsletter.tf/llm-kv-cache-pre

  12. Prefix Persistence Unveiled in LLM KV Cache Dynamics

    Learn how LLM KV cache prefixes remain unchanged, with masking used to manage them. This helps speed up AI responses.

    #LLM, #KVcache, #AIefficiency, #PromptEngineering, #TechNews

    newsletter.tf/llm-kv-cache-pre

  13. LLM KV cache prefixes are now understood to be fixed, not changed. Masking is used instead, which could lead to up to 65% faster AI responses.

    #LLM, #KVcache, #AIefficiency, #PromptEngineering, #TechNews
    newsletter.tf/llm-kv-cache-pre

  14. LLM KV cache prefixes are now understood to be fixed, not changed. Masking is used instead, which could lead to up to 65% faster AI responses.

    #LLM, #KVcache, #AIefficiency, #PromptEngineering, #TechNews
    newsletter.tf/llm-kv-cache-pre

  15. 🚀 Wow, groundbreaking insight: KV Cache is the new "memory hierarchy" of inference! 🤔 Because, you know, we needed another reason to marvel at JavaScript's infinite wisdom in making web pages less user-friendly. 🎉 Thanks, Touchdown Labs, for this revelation—my cache is now full of sarcasm.
    touchdown-labs.com/blog/kv-cac #KVCache #MemoryHierarchy #JavaScript #TouchdownLabs #WebDevelopment #HackerNews #ngated

  16. The key takeaway isn’t just compression—it’s where the bottleneck shifts. KV cache has been dominating memory footprint in long-context inference, so reducing it changes the cost structure significantly. But it doesn’t remove the constraint entirely.

    buysellram.com/blog/will-googl

    #AI #ArtificialIntelligence #TurboQuant #Google #AIMemoryWall #AICompression #KVCache #LLMInference #AIInfrastructure #MemoryBottleneck #ModelEfficiency #AIHardware #DataCenter

  17. The key takeaway isn’t just compression—it’s where the bottleneck shifts. KV cache has been dominating memory footprint in long-context inference, so reducing it changes the cost structure significantly. But it doesn’t remove the constraint entirely:
    buysellram.com/blog/will-googl

    #AI #ArtificialIntelligence #TurboQuant #Google #AIMemoryWall #AICompression #KVCache #LLMInference #AIInfrastructure #MemoryBottleneck #ModelEfficiency #AIHardware #DataCenter #technology

  18. The AI world is buzzing over TurboQuant, Google Research’s new answer to the AI Memory Wall. This isn't just an incremental update; it’s a fundamental shift in how we think about hardware efficiency.

    By combining two new methods—PolarQuant and QJL—Google has managed to compress the Key-Value (KV) cache by 6x with zero accuracy loss. For those running H100s, this translates to an 8x speedup in attention processing.

    Why it matters:

    Beyond Brute Force: Much like DeepSeek-R1, Google is proving that high-level math can bypass the need for endless HBM expansion.

    The "Memory Wall" Pivot: TurboQuant moves the bottleneck from memory bandwidth to compute, effectively "stretching" the life of existing silicon.

    The Jevons Paradox: History shows that when we make a resource (memory) 6x more efficient, we don't use less of it—we build models 10x larger.

    Is this the end of the global DRAM shortage, or just the beginning of a much larger scaling era?

    buysellram.com/blog/will-googl

    #AI #ArtificialIntelligence #TurboQuant #Google #AIMemoryWall #AICompression #KVCache #LLMInference #AIInfrastructure #MemoryBottleneck #ModelEfficiency #AIHardware #DataCenter #deepseek #technology

  19. Google’s TurboQuant is being positioned as a breakthrough that could finally break the AI “memory wall”—but the reality is more nuanced.

    In this analysis, we explore how TurboQuant achieves up to 6× memory reduction and 8× performance gains by compressing KV cache during inference, enabling more efficient use of existing GPUs like A100 and H100.

    The upside is clear: lower infrastructure costs, extended hardware lifecycles, and the potential to run long-context AI workloads on more affordable systems. However, compression is not a silver bullet. The compute overhead of decompression, the persistent weight memory requirements, and the long-term effects of the Jevons Paradox suggest that demand for high-performance hardware is far from over.

    buysellram.com/blog/will-googl

  20. Google’s TurboQuant is being positioned as a breakthrough that could finally break the AI “memory wall”—but the reality is more nuanced.
    In this analysis, we explore how TurboQuant achieves up to 6× memory reduction and 8× performance gains by compressing KV cache during inference, enabling more efficient use of existing GPUs like A100 and H100.
    buysellram.com/blog/will-googl

    #AI #TurboQuant #Google #AIMemoryWall #AICompression #KVCache #ModelEfficiency #AIHardware #DataCenter #technology