<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Large Language Models on Nalar</title>
    <link>https://nalar.dev/tags/large-language-models/</link>
    <description>Recent content in Large Language Models on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 05 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/large-language-models/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Keep Attention Sinks for Stable Streaming LLM Inference</title>
      <link>https://nalar.dev/keep-attention-sinks-for-stable-streaming-llm-inference/</link>
      <pubDate>Sat, 05 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/keep-attention-sinks-for-stable-streaming-llm-inference/</guid>
      <description>&lt;p&gt;Autoregressive language models normally reuse the keys and values of earlier tokens while generating the next token. This &lt;strong&gt;KV cache&lt;/strong&gt; avoids recomputing the entire prefix at every decoding step, but its memory use grows with the cached sequence. A long-running chat, agent, or stream can therefore accumulate more cached state than a serving system wants to keep.&lt;/p&gt;&#xA;&lt;p&gt;A tempting fix is a sliding window: retain only the most recent tokens and evict everything older. For models trained with ordinary dense attention, however, abruptly dropping all early tokens can damage generation quality even when those old tokens do not appear semantically important.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
