<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[找到一個蠻有趣的量化模式, ROCmFP4, 有7000系或者9000系的A卡可以嘗試一下]]></title><description><![CDATA[<p dir="auto">如題, <a href="https://github.com/charlie12345/rocmfp4-llama" rel="nofollow ugc">Github鏈接</a></p>
<p dir="auto">在研究llama.cpp的MoQ偶然見到, 采用的不是MX格式而且基於4 Bit 權重尋找表 +自定義8 Bit E4M3 (應該可以用RDNA 4?的FP8硬件加速), 基本上就是用4 Bit權重扮演8 Bit</p>
<p dir="auto">自定義8 Bit E4M3拔掉了Sign Bit, 能從0到61440, 這個已經算是很廣闊的範圍了, 要知道傳統的FP8 E4M3只能到+448到-448, 精度上理論上會比傳統Q4KM有增加</p>
<p dir="auto"><a href="https://github.com/lemonade-sdk/lemonade/issues/2089" rel="nofollow ugc">有人在lemonade上跑了HumanEval+評測, 這東東追得上27B Q8</a>, 變相來説用Q4的VRAM用量追上Q8的意思?</p>
]]></description><link>https://lcz.me/topic/597/找到一個蠻有趣的量化模式-rocmfp4-有7000系或者9000系的a卡可以嘗試一下</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Jul 2026 22:16:53 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/597.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Jun 2026 15:36:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 找到一個蠻有趣的量化模式, ROCmFP4, 有7000系或者9000系的A卡可以嘗試一下 on Wed, 17 Jun 2026 15:55:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry" aria-label="Profile: terry">@<bdi>terry</bdi></a></p>
<p dir="auto">我記得Deepseek v4的QAT是采用混合低精度 (應該是FP8跟FP4?), 所以模型本身應該就可以直接跑在低精度上, 就算跑在量化版本應該也損失比較少?</p>
<p dir="auto">推理精度的話家用硬件受限沒辦法, 不過能相對用Q4的VRAM大小換個Q8精度的話這個也算蠻划算的?</p>
]]></description><link>https://lcz.me/post/7212</link><guid isPermaLink="true">https://lcz.me/post/7212</guid><dc:creator><![CDATA[566656661]]></dc:creator><pubDate>Wed, 17 Jun 2026 15:55:38 GMT</pubDate></item><item><title><![CDATA[Reply to 找到一個蠻有趣的量化模式, ROCmFP4, 有7000系或者9000系的A卡可以嘗試一下 on Wed, 17 Jun 2026 15:49:04 GMT]]></title><description><![CDATA[<p dir="auto">7系列只有INT4，9系列不知道有没有FP4，FP8应该都支持，存储格式意义不大，FP4部分专程INT4就是了，精度损失很小，重要的是推理精度，现在FP8似乎都不够，DeepSeek V4似乎是FP8推理，但又太大。</p>
]]></description><link>https://lcz.me/post/7211</link><guid isPermaLink="true">https://lcz.me/post/7211</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Wed, 17 Jun 2026 15:49:04 GMT</pubDate></item></channel></rss>