<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>2609.04105v1 on Jaehun's Blog</title><link>https://jaehun.me/tags/2609.04105v1/</link><description>Recent content in 2609.04105v1 on Jaehun's Blog</description><generator>Hugo</generator><language>ko-kr</language><lastBuildDate>Mon, 07 Sep 2026 15:39:35 +0000</lastBuildDate><atom:link href="https://jaehun.me/tags/2609.04105v1/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;svg class="h-4 w-4" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"&gt;&lt;g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"&gt;&lt;path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"/&gt;&lt;path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"/&gt;&lt;/g&gt;&lt;/svg&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></channel></rss>