<?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[ROCm FP4以 AI Max+ 395測試 對比Q4進步不小]]></title><description><![CDATA[<p dir="auto">小弟其實已經有了RTX4090 24G平常開發使用<br />
但還是另外買了一台AI Max+ 395拿來做實驗，大VRAM就是可以拿來亂搞<br />
近期有個llama.cpp的fork是社群自行開發 專門給RDNA系列作優化的，我是認為進步幅度可觀<br />
這種特製的FP4跟NVFP4與MXFP4又不太一樣，需要另外使用ROCmFP4量化的GGUF<br />
AMD該好好想想為何坊間能做出這樣水平的優化<br />
尤其是Prefill的進步，無論是短ctx甚至到長ctx，其速度與衰退幅度都是跨出很大一步<br />
我沒特別花時間研究技術規格與量化格式的可靠度，給有興趣的抄抄作業一起來玩玩</p>
<hr />
<h1>Qwen3.8-27B ROCmFP4 完整部署與實測指南（AMD Strix Halo gfx1151）</h1>
<blockquote>
<p dir="auto"><strong>實測日期</strong>：2026-09-06<br />
<strong>測試平台</strong>：FEVM FAEX1（AMD Ryzen AI Max+ 395 128GB/ Nobara 44 / ROCm 7.2.4）<br />
<strong>目標</strong>：專供 Strix Halo APU（gfx1151）使用者直接套用的最速配置指南。</p>
</blockquote>
<hr />
<h2>Executive Summary（核心結論）</h2>
<p dir="auto">在 AMD Strix Halo 架構下運行 Qwen3.8-27B，兼顧極限吞吐與智商的黃金組合為，測試文本都以代碼或json schema主要是測出mtp差距：</p>
<p dir="auto"><strong>ROCmFP4 權重（13.75 GB）＋ MTP Q4_0 Draft Head（<code>--spec-draft-n-max 4</code>）＋ 關閉 Thinking 模式</strong>。</p>
<ul>
<li><strong>生成吞吐（Decode）</strong>：實測達到 <strong>40.8～41.7 tok/s</strong>，相比未開啟 MTP 的 Stock Q4（~29.0 tok/s）提速接近五成。</li>
<li><strong>首字延遲（TTFT）</strong>：MTP 因推測樹構建 Overhead，小 Prompt 首字耗時為 <strong>2.93s</strong>（關閉 MTP 時為 0.83s）。追求極致首字反應建議關閉，追求長文吞吐建議開啟。</li>
<li><strong>顯存負擔</strong>：模型＋MTP Head＋Vision 投影層＋128K KV Cache（FP16）全載顯存僅耗 <strong>~30.2 GB</strong>（UMA 總量 68.7 GB，剩餘空間充足）。</li>
<li><strong>推論保真度</strong>：在沙盒 ReAct 6 項能力測試中全數通過（6/6），未出現低位元量化常見的格式崩潰或死循環。</li>
</ul>
<hr />
<h2>1. 測試主機硬體與系統環境</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>類別</th>
<th>配置項目</th>
<th>詳細參數 / 說明</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>APU</strong></td>
<td>核心規格</td>
<td>AMD Strix Halo（gfx1151），32 Threads</td>
</tr>
<tr>
<td><strong>記憶體</strong></td>
<td>統一記憶體（UMA）</td>
<td>68.7 GB（<code>rocm-smi</code> 總容量；可用約 58～62 GB）</td>
</tr>
<tr>
<td><strong>系統碟</strong></td>
<td>NVMe 0 (<code>nvme0n1</code>)</td>
<td>Toshiba KXG6 1 TB，PCIe <strong>Gen3 x4</strong>（OS 與 <code>/home</code>）</td>
</tr>
<tr>
<td><strong>資料碟</strong></td>
<td>NVMe 1 (<code>nvme1n1</code>)</td>
<td>Kingston Renegade 2 TB，PCIe <strong>Gen4 x4</strong>，掛載於 <code>/mnt/nvme-data</code>&lt;br&gt;</td>
</tr>
</tbody>
<tbody>
<tr>
<td>&lt;br&gt;<em>(實測：讀 3.8 GB/s，寫 680 MB/s)</em></td>
</tr>
<tr>
<td><strong>作業系統</strong></td>
<td>OS / Kernel</td>
<td>Nobara Linux 44（Fedora 衍生）／<code>7.1.4-200.nobara.fc44</code></td>
</tr>
<tr>
<td><strong>運算架構</strong></td>
<td>ROCm 版本</td>
<td>7.2.4（安裝路徑：<code>/opt/rocm-7.2.4</code>）</td>
</tr>
<tr>
<td><strong>核心環境變數</strong></td>
<td>必要參數</td>
<td><code>HSA_OVERRIDE_GFX_VERSION=11.5.1</code>&lt;br&gt;</td>
</tr>
</tbody>
<tbody>
<tr>
<td>&lt;br&gt;<code>GGML_HIP_ENABLE_UNIFIED_MEMORY=1</code></td>
</tr>
<tr>
<td><strong>編譯工具鏈</strong></td>
<td>工具套件</td>
<td><code>cmake</code>, <code>g++</code>, <code>ninja</code>, <code>hipcc</code>（缺漏請執行 <code>dnf install rocm-dev</code>）</td>
</tr>
</tbody>
</table>
<blockquote>
<p dir="auto"><strong>提示</strong>：ROCm 10 的 RHEL/Fedora 官方套件庫在截稿時最高支援至 7.2.4。此版本完全穩定，且核心需求僅為 Linux Kernel ≥ 7.0（Nobara 的 7.1.4 已滿足），無需冒險升級未驗證版本。</p>
</blockquote>
<hr />
<h2>2. 原始碼編譯與權重準備</h2>
<h3>2.1 編譯專用 llama.cpp Runtime（官方 ROCmFPX 線）</h3>
<p dir="auto">原生 llama.cpp 無法識別 ROCmFP4 專屬的自訂算子（GGML Type 100–106），必須採用專屬 Fork 分支：</p>
<pre><code class="language-bash"># 1. 複製官方 ROCmFPX 倉庫（建議放置於 Gen4 NVMe 上以加快 I/O）
git clone https://github.com/ROCmFPX/ROCmFPX.git /mnt/nvme-data/ROCmFPX
cd /mnt/nvme-data/ROCmFPX

# 2. 設置 ROCm 編譯環境變數
export PATH=/opt/rocm-7.2.4/bin:$PATH
export HIP_PATH=/opt/rocm-7.2.4

# 3. 執行 Strix 專用建置腳本（支援 HIP + Vulkan 雙後端）
bash scripts/build-strix-rocmfp4-mtp.sh

</code></pre>
<ul>
<li><strong>編譯產物</strong>：<code>build-strix-rocmfp4/bin/llama-server</code></li>
<li><strong>編譯耗時</strong>：32 核心約需 30–60 分鐘。全程為純 CPU 編譯，可置於背景執行，不影響線上運算。</li>
<li><strong>避坑警示</strong>：請勿使用早期社群的 <code>charlie12345</code> 分支，其 MTP 實作在 gfx1151 架構下會引發 Crash；官方 <code>ROCmFPX</code> 倉庫已修復該問題。</li>
</ul>
<hr />
<h3>2.2 模型三件套下載清單</h3>
<p dir="auto">部署需下載主模型、推測解碼頭（Draft Head）與多模態投影層（mmproj）：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>組件名稱</th>
<th>檔案名稱</th>
<th>容量</th>
<th>來源倉庫</th>
<th>備註</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>主模型</strong></td>
<td><code>Qwen3.8-27B-Q4_0_ROCMFP4_STRIX.gguf</code></td>
<td>13.75 GB</td>
<td><code>kingjones777/Qwen3.8-27B-ROCmFP4-STRIX-MTP-GGUF</code></td>
<td>專用 FP4 矩陣權重</td>
</tr>
<tr>
<td><strong>MTP Draft</strong></td>
<td><code>mtp-Qwen3.8-27B-Q4_0.gguf</code></td>
<td>1.60 GB</td>
<td>同上</td>
<td><strong>必須選用 Q4_0</strong>，嚴禁使用 Q8_0</td>
</tr>
<tr>
<td><strong>Vision 投影</strong></td>
<td><code>mmproj-Qwen3.8-27B-F16.gguf</code></td>
<td>885 MB</td>
<td><code>unsloth/Qwen3.8-27B-GGUF</code></td>
<td>原檔為 <code>mmproj-F16.gguf</code>，重新命名即可</td>
</tr>
</tbody>
</table>
<pre><code class="language-bash"># 建立存放目錄
mkdir -p /mnt/nvme-data/models

# 下載主模型與 MTP Head
hf download kingjones777/Qwen3.8-27B-ROCmFP4-STRIX-MTP-GGUF \
  --include 'Qwen3.8-27B-Q4_0_ROCMFP4_STRIX.gguf' \
  --include 'mtp-Qwen3.8-27B-Q4_0.gguf' \
  --local-dir /mnt/nvme-data/models/

# 下載多模態 mmproj 並更名
hf download unsloth/Qwen3.8-27B-GGUF \
  --include 'mmproj-F16.gguf' \
  --local-dir /mnt/nvme-data/models/

mv /mnt/nvme-data/models/mmproj-F16.gguf \
   /mnt/nvme-data/models/mmproj-Qwen3.8-27B-F16.gguf

</code></pre>
<blockquote>
<p dir="auto"><strong>存放建議</strong>：總體積約 16.2 GB，請務必放置在 PCIe Gen4 資料碟（<code>nvme1n1</code>），能顯著縮短啟動與模型載入（Cold Start）時間。</p>
</blockquote>
<hr />
<h2>3. 服務啟動與完整參數配置</h2>
<h3>3.1 一鍵啟動指令</h3>
<pre><code class="language-bash">#!/usr/bin/env bash
export LD_LIBRARY_PATH=/mnt/nvme-data/ROCmFPX/build-strix-rocmfp4/bin:/opt/rocm-7.2.4/lib
export HSA_OVERRIDE_GFX_VERSION=11.5.1
export GGML_HIP_ENABLE_UNIFIED_MEMORY=1

# 規避 Shell 引號展開問題，透過環境變數傳遞思考開關
export LLAMA_ARG_CHAT_TEMPLATE_KWARGS='{"enable_thinking":false}'

/mnt/nvme-data/ROCmFPX/build-strix-rocmfp4/bin/llama-server \
  -m /mnt/nvme-data/models/Qwen3.8-27B-Q4_0_ROCMFP4_STRIX.gguf \
  --mmproj /mnt/nvme-data/models/mmproj-Qwen3.8-27B-F16.gguf \
  --model-draft /mnt/nvme-data/models/mtp-Qwen3.8-27B-Q4_0.gguf \
  --spec-type draft-mtp \
  --spec-draft-ngl 99 \
  --spec-draft-n-max 4 \
  --spec-draft-n-min 0 \
  --spec-draft-p-min 0.0 \
  -a qwen3.8-27b-rocmfp4 \
  -ngl 99 \
  -fa on \
  -ctk f16 -ctv f16 \
  -c 131072 \
  -b 4096 -ub 2048 \
  --reasoning off \
  --jinja \
  --temp 0.4 --top-p 0.95 --top-k 20 --min-p 0.0 \
  --image-min-tokens 1024 \
  --host 0.0.0.0 --port 8080

</code></pre>
<hr />
<h3>3.2 參數核心解析</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>參數設定</th>
<th>建議值</th>
<th>目的與技術依據</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>--model-draft</code></td>
<td><code>mtp-Qwen...Q4_0</code></td>
<td>MTP 推測解碼頭。<strong>實測 Q8_0 反而會因記憶體搬運拖慢整體解碼，僅能使用 Q4_0</strong>。</td>
</tr>
<tr>
<td><code>--spec-type</code></td>
<td><code>draft-mtp</code></td>
<td>啟用原生 Multi-Token Prediction 推測加速機制。</td>
</tr>
<tr>
<td><code>--spec-draft-n-max</code></td>
<td><code>4</code></td>
<td><strong>效能甜蜜點</strong>。預設值 16 驗證失敗率過高，會導致吞吐直接腰斬。</td>
</tr>
<tr>
<td><code>--spec-draft-n-min</code> / <code>-p-min</code></td>
<td><code>0</code> / <code>0.0</code></td>
<td>關閉保守過濾策略，配合 <code>n-max 4</code> 進行全量推測以拉滿吞吐。</td>
</tr>
<tr>
<td><code>-ngl</code> / <code>--spec-draft-ngl</code></td>
<td><code>99</code></td>
<td>將主模型（27B）與 Draft Head（1.6 GB）全數 Offload 至 GPU 顯存。</td>
</tr>
<tr>
<td><code>-fa on</code></td>
<td><code>on</code></td>
<td>啟用 FlashAttention，長文本推論與顯存控制的必備選項。</td>
</tr>
<tr>
<td><code>-ctk</code> / <code>-ctv</code></td>
<td><code>f16</code></td>
<td>保持 KV Cache 為高精度 FP16，確保長鏈推理精度不飄移。</td>
</tr>
<tr>
<td><code>-c</code></td>
<td><code>131072</code></td>
<td>展開至 128K 上下文；Qwen3.8 僅 16 層為 Full-Attn，顯存開銷可控。</td>
</tr>
<tr>
<td><code>-b</code> / <code>-ub</code></td>
<td><code>4096</code> / <code>2048</code></td>
<td>Prefill 階段的批次平行度。若顯存尚有餘裕，可嘗試將 <code>-ub</code> 調高至 4096。</td>
</tr>
<tr>
<td><code>--reasoning off</code>&lt;br&gt;</td>
</tr>
</tbody>
<tbody>
<tr>
<td>&lt;br&gt;<code>enable_thinking=false</code></td>
<td>關閉</td>
<td><strong>核心防呆</strong>。未關閉時，輸出 Token 會被耗盡在 <code>&lt;think&gt;</code> 標籤中導致主內文為空。</td>
</tr>
<tr>
<td><code>--jinja</code></td>
<td>開啟</td>
<td>啟用新版 Jinja 模板引擎，以正確解析 <code>chat-template-kwargs</code> 傳參。</td>
</tr>
<tr>
<td><code>--image-min-tokens</code></td>
<td><code>1024</code></td>
<td>確保高密度截圖或複雜圖片有足夠的視覺 Token 進行解析。</td>
</tr>
<tr>
<td><code>--host</code></td>
<td><code>0.0.0.0</code></td>
<td>監聽所有網路介面。若設為 <code>127.0.0.1</code>，區域網路內其他主機將無法連線。</td>
</tr>
</tbody>
</table>
<hr />
<h3>3.3 常見地雷 Check-list</h3>
<ol>
<li><strong>模板參數展開失敗</strong>：若將 <code>--chat-template-kwargs</code> 包裹在 Shell 變數中，容易因引號解析錯誤導致伺服器崩潰。請務必使用 <code>LLAMA_ARG_CHAT_TEMPLATE_KWARGS</code> 環境變數傳遞。</li>
<li><strong>Draft Head 規格錯誤</strong>：MTP 務必認明 <code>Q4_0</code>。使用 <code>Q8_0</code> 會直接破壞推測解碼的加速效益。</li>
<li><strong>推測步數過長</strong>：不要使用預設的 <code>n-max 16</code>，請固定設定為 <code>4</code>。</li>
<li><strong>Vulkan 後端不相容</strong>：ROCmFP4 專屬算子不支援 Vulkan 後端，請維持預設的 ROCm/HIP 後端運行。</li>
<li><strong>多模態權重混用問題</strong>：切勿混用 Qwen3.6-27B 的 <code>mmproj</code>，因 Hidden 維度不一致（5120 vs. 2048），伺服器將拋出 <code>n_embd mismatch</code> 錯誤。</li>
</ol>
<hr />
<h2>4. 實機基準測試數據</h2>
<blockquote>
<p dir="auto"><strong>測試條件</strong>：系統時間 08:07–09:xx，MTP 全開，<code>--spec-draft-n-max 4</code>。</p>
</blockquote>
<h3>4.1 Prefill 效能階梯測試（2K → 128K）</h3>
<p dir="auto">同 Prompt 階梯式放大測試，記錄真實耗時（Wall-clock Time）與預填充速率：</p>
<pre><code>Prefill 速率曲線圖 (Roofline)
Tokens/s
  500 |
  400 |                     [16K 峰值: 425]
  300 |             [8K: 372]      [32K: 401]
  200 |     [2K: 250]                       [64K: 277]
  100 |                                              [128K: 151]
    0 +---------------------------------------------------------
      0     16K     32K     48K     64K     80K     96K    112K   128K

</code></pre>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>實測 Prompt Tokens</th>
<th>總耗時（Wall）</th>
<th>Prefill 速率</th>
<th>瓶頸與行為分析</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>1,641</strong>（~2K）</td>
<td>6.5s</td>
<td><strong>250 tok/s</strong></td>
<td>初始排程階段，Kernel 啟動開銷佔比高</td>
</tr>
<tr>
<td><strong>3,266</strong>（~4K）</td>
<td>10.3s</td>
<td><strong>317 tok/s</strong></td>
<td>矩陣並行度提升，算力利用率爬升</td>
</tr>
<tr>
<td><strong>6,514</strong>（~8K）</td>
<td>17.5s</td>
<td><strong>372 tok/s</strong></td>
<td>計算單元負載接近最佳狀態</td>
</tr>
<tr>
<td><strong>13,012</strong>（~16K）</td>
<td>30.6s</td>
<td><strong>425 tok/s</strong></td>
<td><strong>效能峰值</strong>，算力與搬運達成平衡</td>
</tr>
<tr>
<td><strong>26,009</strong>（~32K）</td>
<td>64.9s</td>
<td><strong>401 tok/s</strong></td>
<td>跨越 Roofline 頂峰，延遲開始回升</td>
</tr>
<tr>
<td><strong>52,001</strong>（~64K）</td>
<td>187.7s</td>
<td><strong>277 tok/s</strong></td>
<td>線性循環狀態（Recurrent State）計算成本顯著上升</td>
</tr>
<tr>
<td><strong>103,985</strong>（~128K）</td>
<td>689.0s</td>
<td><strong>151 tok/s</strong></td>
<td>深度衰減階段；10 萬字預填充約需耗時 11.5 分鐘</td>
</tr>
</tbody>
</table>
<hr />
<h3>4.2 首字延遲（TTFT）與生成吞吐（Decode）</h3>
<h4>首字延遲（TTFT）對照（Prompt: 756 tokens）</h4>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>運行組態</th>
<th>TTFT (首字延遲)</th>
<th>說明</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>本次實測（MTP 開啟）</strong></td>
<td><strong>2.93s</strong></td>
<td>MTP 初始推測樹建立帶來的延遲 Overhead</td>
</tr>
<tr>
<td><strong>歷史數據（MTP 關閉）</strong></td>
<td><strong>0.83s</strong></td>
<td>無額外推測計算，首字回傳極快</td>
</tr>
</tbody>
</table>
<h4>生成吞吐（Decode）對照（250 tokens 生成，Temp: 0.4）</h4>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>運行組態</th>
<th>Decode 速率</th>
<th>吞吐增益比</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>本次實測（ROCmFP4 + MTP）</strong></td>
<td><strong>40.8 ～ 41.7 tok/s</strong></td>
<td><strong>基準線（1.00x）</strong></td>
</tr>
<tr>
<td>Qwen3.8 27b  Q4_K_M + MTP（對照組）</td>
<td>29.0 tok/s</td>
<td>~0.72x（落後約 28%）</td>
</tr>
<tr>
<td>純自回歸（MTP 關閉）</td>
<td>~19.0 tok/s</td>
<td>~0.46x（MTP 帶來約 2.1x 加速）</td>
</tr>
</tbody>
</table>
<hr />
<h3>4.3 Agent 實戰流量與資源佔用</h3>
<ul>
<li>
<p dir="auto"><strong>Agentic 往返吞吐</strong>：在自研 ReAct 框架（t1–t6）多輪工具調用實測中，平均輸出速率為 <strong>23–35 tok/s</strong>。因結構化輸出（如 JSON Schema）的例外較多，MTP 命中率略為下降，但依然高於原生自回歸。</p>
</li>
<li>
<p dir="auto"><strong>MTP 驗證接受率</strong>：</p>
</li>
<li>
<p dir="auto">單輪常規生成：<strong>0.95 ～ 0.97</strong></p>
</li>
<li>
<p dir="auto">Agent 多輪工具調用：約 <strong>0.80 ～ 0.88</strong></p>
</li>
<li>
<p dir="auto"><strong>實體顯存佔用（<code>rocm-smi</code>）</strong>：</p>
</li>
<li>
<p dir="auto">模型本體（13.75 GB）＋ MTP Head（1.6 GB）＋ mmproj（885 MB）＋ 128K FP16 KV Cache</p>
</li>
<li>
<p dir="auto"><strong>實測總用量：30.2 GB / 68.7 GB</strong>（剩餘約 38.5 GB，可支援多開小型模型或高併發 Session）。</p>
</li>
</ul>
<hr />
<h2>5. 推論可靠度驗證（ReAct 沙盒測試）</h2>
<p dir="auto">在獨立沙盒內執行 ReAct t1–t6 複合自動化測試（涵蓋搜尋、錯誤恢復、長日誌診斷與陷阱題），對比其他方案之表現：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>評測維度與測試案例</th>
<th>Qwen3.8 27b ROCmFP4</th>
<th>Qwen3.8 27b Q4</th>
<th>Ornith 1.5 35B（參考）</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>t1 檢索 / t2 連鎖呼叫 / t3 狀態恢復</strong></td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> 通過</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> 通過</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> 通過</td>
</tr>
<tr>
<td><strong>t4 多重 Debug (8/8 關節點)</strong></td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> <strong>4 步通過（最速）</strong></td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> 7 步通過</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> 9 步通過</td>
</tr>
<tr>
<td><strong>t5 惡意/自殺陷阱排除</strong></td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> 3 處陷阱全避開</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> 通過</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> 通過</td>
</tr>
<tr>
<td><strong>t6 複合長報錯日誌診斷</strong></td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> 通過</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> 通過</td>
<td><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /> 通過（需修正路徑 Bug）</td>
</tr>
<tr>
<td><strong>異常中斷 / 思考死循環次數</strong></td>
<td><strong>0 次</strong></td>
<td>0 次</td>
<td>0 次</td>
</tr>
<tr>
<td><strong>總結得分</strong></td>
<td><strong>6 / 6 (滿分)</strong></td>
<td><strong>6 / 6</strong></td>
<td>6 / 6</td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>結論</strong>：社群對於 FP4 低位元量化「缺乏 QAD 蒸餾易降智」的疑慮，在標準 ReAct 測試中並未發生。模型在語法約束、邏輯剪枝與自我除錯上均表現正常。</p>
<p dir="auto">體驗是相當不錯，以我395米你主機來說，之前是慢，現在是可用程度<br />
這邊大家一起試試不同A卡的差距如何。</p>
]]></description><link>https://lcz.me/topic/1576</link><generator>RSS for Node</generator><lastBuildDate>Wed, 09 Sep 2026 22:53:52 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/1576.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Sep 2026 06:26:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ROCm FP4以 AI Max+ 395測試 對比Q4進步不小 on Wed, 09 Sep 2026 14:35:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ying-hong" aria-label="Profile: Ying-Hong">@<bdi>Ying-Hong</bdi></a> docker的耗損多在cpu而已，有差異大多是文本內容性質影響比較大</p>
]]></description><link>https://lcz.me/post/16920</link><guid isPermaLink="true">https://lcz.me/post/16920</guid><dc:creator><![CDATA[dardeaw feng]]></dc:creator><pubDate>Wed, 09 Sep 2026 14:35:13 GMT</pubDate></item><item><title><![CDATA[Reply to ROCm FP4以 AI Max+ 395測試 對比Q4進步不小 on Wed, 09 Sep 2026 12:40:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dardeaw-feng" aria-label="Profile: dardeaw-feng">@<bdi>dardeaw-feng</bdi></a> 确实有上过30+。让ai测试有上过45左右。<br />
由于你我软硬件环境有很大不同，我不知道有没有可能是操作系统或docker的损耗。</p>
]]></description><link>https://lcz.me/post/16896</link><guid isPermaLink="true">https://lcz.me/post/16896</guid><dc:creator><![CDATA[Ying Hong]]></dc:creator><pubDate>Wed, 09 Sep 2026 12:40:05 GMT</pubDate></item><item><title><![CDATA[Reply to ROCm FP4以 AI Max+ 395測試 對比Q4進步不小 on Wed, 09 Sep 2026 12:22:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ying-hong" aria-label="Profile: Ying-Hong">@<bdi>Ying-Hong</bdi></a> 如果你是散文對話，大概極限就是2X tps，如果是代碼或json隨便都噴到3X~4X</p>
]]></description><link>https://lcz.me/post/16893</link><guid isPermaLink="true">https://lcz.me/post/16893</guid><dc:creator><![CDATA[dardeaw feng]]></dc:creator><pubDate>Wed, 09 Sep 2026 12:22:15 GMT</pubDate></item><item><title><![CDATA[Reply to ROCm FP4以 AI Max+ 395測試 對比Q4進步不小 on Wed, 09 Sep 2026 12:11:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/dardeaw-feng" aria-label="Profile: dardeaw-feng">@<bdi>dardeaw-feng</bdi></a> 是有用专门rocmfpx量化的模型，用q4量化模型还要慢挺多。</p>
]]></description><link>https://lcz.me/post/16891</link><guid isPermaLink="true">https://lcz.me/post/16891</guid><dc:creator><![CDATA[Ying Hong]]></dc:creator><pubDate>Wed, 09 Sep 2026 12:11:27 GMT</pubDate></item><item><title><![CDATA[Reply to ROCm FP4以 AI Max+ 395測試 對比Q4進步不小 on Wed, 09 Sep 2026 12:10:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ying-hong" aria-label="Profile: Ying-Hong">@<bdi>Ying-Hong</bdi></a> 另外你一定要尝试SGLang，这个值得你去努力。</p>
]]></description><link>https://lcz.me/post/16890</link><guid isPermaLink="true">https://lcz.me/post/16890</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Wed, 09 Sep 2026 12:10:22 GMT</pubDate></item><item><title><![CDATA[Reply to ROCm FP4以 AI Max+ 395測試 對比Q4進步不小 on Wed, 09 Sep 2026 12:02:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ying-hong" aria-label="Profile: Ying-Hong">@<bdi>Ying-Hong</bdi></a> 都同一個晶片，你的問題在於......你用一般Q4的gguf那就是Q4速度，這個fork要搭ROCmFP4的特別量化模型才能加速，比較熱門的幾個應該都有人做</p>
]]></description><link>https://lcz.me/post/16884</link><guid isPermaLink="true">https://lcz.me/post/16884</guid><dc:creator><![CDATA[dardeaw feng]]></dc:creator><pubDate>Wed, 09 Sep 2026 12:02:36 GMT</pubDate></item><item><title><![CDATA[Reply to ROCm FP4以 AI Max+ 395測試 對比Q4進步不小 on Wed, 09 Sep 2026 11:24:23 GMT]]></title><description><![CDATA[<p dir="auto">很奇怪，我的 aimax+395小主机，尝试编译了各种 github 上支持 rocmfpx 量化的 llama.cpp 分发，下载尝试了各种q4_rocm 量化的 qwen3.8 27b gguf 模型。</p>
<ul>
<li>在 mtp 关闭的情况下，所有组合的 推理解码速度不会超过 15 t/s 。</li>
<li>在 开启 mtp 的情况下，所有组合的 推理解码速度不会超过 24 t/s 。</li>
</ul>
<p dir="auto">我的主机硬件是：<br />
零刻 gtr9 pro（ai max+395)<br />
操作系统：cachyos  Linux 7.1.4，<br />
在 docker 内运行：（Fedora Linux 44 (Container Image)</p>
<p dir="auto">难道，零刻 gtr9 pro 的 ai max +395， 不如 FEVM FAEX1 ？</p>
]]></description><link>https://lcz.me/post/16881</link><guid isPermaLink="true">https://lcz.me/post/16881</guid><dc:creator><![CDATA[Ying Hong]]></dc:creator><pubDate>Wed, 09 Sep 2026 11:24:23 GMT</pubDate></item><item><title><![CDATA[Reply to ROCm FP4以 AI Max+ 395測試 對比Q4進步不小 on Wed, 09 Sep 2026 11:06:05 GMT]]></title><description><![CDATA[<p dir="auto">挺不错的测试，以后AMD的生态会得到进一步释放，各种短板慢慢补齐。</p>
]]></description><link>https://lcz.me/post/16879</link><guid isPermaLink="true">https://lcz.me/post/16879</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Wed, 09 Sep 2026 11:06:05 GMT</pubDate></item></channel></rss>