<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Fast Transformer Decoding: One Write-Head is All You Need · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/1911.02150/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/1911.02150/feed.xml" rel="self" type="application/rss+xml" /><item><title>Fast Transformer Decoding: One Write-Head is All You Need — mentioned by why_only_15</title><link>https://news.ycombinator.com/item?id=36677967</link><guid isPermaLink="false">urn:hackerpapers:mention:1911.02150:36677967</guid><pubDate>Tue, 11 Jul 2023 08:21:00 GMT</pubDate><description>&lt;p&gt;This is the original paper: https://arxiv.org/abs/1911.02150 . The idea is that with a transformer you have many heads, say 64 for LLaMa, and for each head you have 1 &amp;quot;query&amp;quot; vector one &amp;quot;key&amp;quot; vector and one &amp;quot;value&amp;quot; vector per token. Most of the cost of inferencing models is loading the key and value vectors from GPU memory to the GPU itself. the idea behind MQA is that instead of having 64 queries, 64 keys, and 64 values, you have 64 queries, 1 key, and 1 value (&amp;quot;Multi-Query&amp;quot; as opposed to &amp;quot;Multi-Head&amp;quot;, the original name). This means that there is much less data to load from GPU memory to the…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1911.02150/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.NE</category></item><item><title>Fast Transformer Decoding: One Write-Head is All You Need — mentioned by RC_ITR</title><link>https://news.ycombinator.com/item?id=36677711</link><guid isPermaLink="false">urn:hackerpapers:mention:1911.02150:36677711</guid><pubDate>Tue, 11 Jul 2023 07:45:20 GMT</pubDate><description>&lt;p&gt;&amp;gt;Autoregressive decoder inference is a severe bottleneck for Transformer models due to the memory bandwidth overhead from loading decoder weights and all attention keys and values at every decoding step (Shazeer, 2019; Pope et al., 2022; de Jong et al., 2022). The memory bandwidth from loading keys and values can be sharply reduced through multi-query attention (Shazeer, 2019), which uses multiple query heads but single key and value heads. Emphasis mine, source here [0] [0] https://arxiv.org/pdf/2305.13245.pdf FWIW the original MQA paper is called One Write head is all you need. Here&amp;#x27;s the…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1911.02150/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.NE</category></item><item><title>Fast Transformer Decoding: One Write-Head is All You Need — HN submission</title><link>https://news.ycombinator.com/item?id=36126668</link><guid isPermaLink="false">urn:hackerpapers:submission:1911.02150:36126668</guid><pubDate>Tue, 30 May 2023 16:17:37 GMT</pubDate><description>&lt;p&gt;Fast Transformer Decoding: One Write-Head Is All You Need&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;4 points; 1 discussion reply on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/1911.02150/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.NE</category></item></channel></rss>
