<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Quantization on Jaehun's Blog</title><link>https://jaehun.me/categories/quantization/</link><description>Recent content in Quantization on Jaehun's Blog</description><generator>Hugo</generator><language>ko-kr</language><lastBuildDate>Wed, 09 Sep 2026 13:09:39 +0000</lastBuildDate><atom:link href="https://jaehun.me/categories/quantization/index.xml" rel="self" type="application/rss+xml"/><item><title>Hardware-Aware FP4 FlashAttention-4</title><link>https://jaehun.me/posts/hardware-aware-fp4-flashattention-4/</link><pubDate>Mon, 07 Sep 2026 00:00:00 +0900</pubDate><guid>https://jaehun.me/posts/hardware-aware-fp4-flashattention-4/</guid><description>&lt;p&gt;&lt;a&#10; href="https://arxiv.org/abs/2609.04105v1"target="_blank"&#10; class="inline-flex items-center gap-1"&#10; &gt;논문 링크&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;&#10; &lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="fp4-텐서-코어가-빨라도-어텐션은-왜-안-빨라지는가-direct-p와-양자화된-역전파로-푼-blackwell-flashattention-4"&gt;FP4 텐서 코어가 빨라도 어텐션은 왜 안 빨라지는가: Direct-P와 양자화된 역전파로 푼 Blackwell FlashAttention-4&lt;a href="#fp4-%ed%85%90%ec%84%9c-%ec%bd%94%ec%96%b4%ea%b0%80-%eb%b9%a8%eb%9d%bc%eb%8f%84-%ec%96%b4%ed%85%90%ec%85%98%ec%9d%80-%ec%99%9c-%ec%95%88-%eb%b9%a8%eb%9d%bc%ec%a7%80%eb%8a%94%ea%b0%80-direct-p%ec%99%80-%ec%96%91%ec%9e%90%ed%99%94%eb%90%9c-%ec%97%ad%ec%a0%84%ed%8c%8c%eb%a1%9c-%ed%91%bc-blackwell-flashattention-4" class="heading-anchor" aria-label="이 섹션에 대한 링크"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — Blackwell의 FP4 텐서 코어는 행렬곱을 BF16보다 훨씬 빨리 처리하지만, 어텐션은 &lt;em&gt;행렬곱 두 개&lt;/em&gt; 사이에 &lt;strong&gt;softmax&lt;/strong&gt; 라는 &amp;ldquo;중간 작업&amp;quot;이 끼어 있어서 그 혜택이 자동으로 전파되지 않는다. 이 논문은 softmax 확률 생성을 &lt;strong&gt;&amp;ldquo;정확한 지수함수 → 반올림&amp;quot;의 순차 경로가 아니라, 점수를 E2M1 코드로 직접 분류하는 문제&lt;/strong&gt;로 재정의한 &lt;strong&gt;Direct-P&lt;/strong&gt; 로 임계 경로(critical path)를 줄여, NVIDIA GB200에서 BF16 대비 &lt;strong&gt;최대 2.13배&lt;/strong&gt; 의 forward 처리량을 달성한다(근거: §Abstract). 나아가 학습에서는 forward가 만들어둔 양자화 상태를 backward가 그대로 재사용해 8B 모델 한 스텝을 &lt;strong&gt;최대 1.14배&lt;/strong&gt; 가속하지만, P/V를 MXFP4로 내리면 &lt;strong&gt;모든 궤적이 발산&lt;/strong&gt;하여 FP8로 남겨야 함을 보여준다(근거: §7.6).&lt;/p&gt;</description></item><item><title>Why Gated DeltaNet Survives 4-Bit Quantization: NVFP4 W4A4 for the Recurrent Half of a Hybrid 27B LLM</title><link>https://jaehun.me/posts/why-gated-deltanet-survives-4-bit-quantization-nvfp4-w4a4-for-the-recurrent-half-of-a-hybrid-27b-llm/</link><pubDate>Mon, 07 Sep 2026 00:00:00 +0900</pubDate><guid>https://jaehun.me/posts/why-gated-deltanet-survives-4-bit-quantization-nvfp4-w4a4-for-the-recurrent-half-of-a-hybrid-27b-llm/</guid><description>&lt;p&gt;&lt;a&#10; href="https://arxiv.org/abs/2609.04098"target="_blank"&#10; class="inline-flex items-center gap-1"&#10; &gt;논문 링크&lt;svg class="h-3 w-3 flex-shrink-0" id="external-link" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/&gt;&lt;/svg&gt;&#10; &lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="순환-절반은-양자화하기-쉬운-절반이다-gated-deltanet이-4비트에서-살아남는-이유"&gt;순환 절반은 양자화하기 쉬운 절반이다: Gated DeltaNet이 4비트에서 살아남는 이유&lt;a href="#%ec%88%9c%ed%99%98-%ec%a0%88%eb%b0%98%ec%9d%80-%ec%96%91%ec%9e%90%ed%99%94%ed%95%98%ea%b8%b0-%ec%89%ac%ec%9a%b4-%ec%a0%88%eb%b0%98%ec%9d%b4%eb%8b%a4-gated-deltanet%ec%9d%b4-4%eb%b9%84%ed%8a%b8%ec%97%90%ec%84%9c-%ec%82%b4%ec%95%84%eb%82%a8%eb%8a%94-%ec%9d%b4%ec%9c%a0" class="heading-anchor" aria-label="이 섹션에 대한 링크"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;TL;DR&lt;/strong&gt; — 하이브리드 27B LLM(Qwen3.8-27B)의 순환 레이어인 &lt;strong&gt;Gated DeltaNet(GDN)&lt;/strong&gt; 48개 층은 그동안 &amp;ldquo;오차가 문맥을 타고 누적된다&amp;quot;는 직관 때문에 8~16비트로 보호되어 왔다. 이 논문은 그 직관이 &lt;strong&gt;거꾸로&lt;/strong&gt;임을 보인다. GDN 게이트를 포함한 &lt;strong&gt;496개 전 레이어를 NVFP4 W4A4로 양자화한 &lt;code&gt;Minima&lt;/code&gt;&lt;/strong&gt; 는 6개 벤치마크에서 BF16과 시드 노이즈 내 차이(5-task 평균 −0.52)로 일치하면서도, 가장 작고(17.5 GiB) 가장 빠른 프리필(+14~19%)을 기록했다. 그리고 4단계 메커니즘 연구로 &lt;strong&gt;왜&lt;/strong&gt; 그런지 — 블록 스케일링이 이상치를 국소화하고, 게이트 비선형성이 노이즈를 압축하며, 델타 룰이 상태 오차를 능동적으로 지운다는 — 아키텍처 차원의 설명까지 제시한다.&lt;/p&gt;</description></item></channel></rss>