<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>ROCm on 凱凱的技術筆記</title><link>https://kaikai365.com/tags/rocm/</link><description>Recent content in ROCm on 凱凱的技術筆記</description><generator>Hugo</generator><language>zh-TW</language><lastBuildDate>Wed, 29 Jul 2026 21:12:27 +0800</lastBuildDate><atom:link href="https://kaikai365.com/tags/rocm/index.xml" rel="self" type="application/rss+xml"/><item><title>在 $2,000 的 APU 上跑 284B MoE：DeepSeek V4 Flash 本地部署實測</title><link>https://kaikai365.com/posts/2026-07-29-deepseek-v4-flash-on-strix-halo/</link><pubDate>Wed, 29 Jul 2026 21:12:27 +0800</pubDate><guid>https://kaikai365.com/posts/2026-07-29-deepseek-v4-flash-on-strix-halo/</guid><description>&lt;p>今年七月，Lucebox 團隊在 &lt;a href="https://www.amd.com/en/products/processors/desktops/ryzen.html" target="_blank" rel="noopener">AMD Ryzen AI MAX+ 395&lt;/a>
（內部代號 Strix Halo）這顆消費級 APU 上跑起了 DeepSeek V4 Flash——一個總引數 284B、每 token 僅啟用約 13B 的 MoE 大模型。測試結果已提交至 &lt;a href="https://www.localmaxxing.com/" target="_blank" rel="noopener">LocalMaxxing&lt;/a>
排行榜，在 Ryzen AI Max 395 硬體組別中排名第一。&lt;/p>
&lt;p>沒有獨立顯示卡、不依賴雲端推理服務，純靠 CPU 與 Radeon 8060S GPU 共用的 128 GB LPDDR5X 記憶體，decode 速度最高跑到 &lt;strong>32.0 tok/s&lt;/strong>（greedy decode, temperature=0）。這個數字在 LocalMaxxing 的 Strix Halo 排行榜上是第一名——第二名是 HipFire 引擎的 18.99 tok/s，Lucebox 快了約 &lt;strong>68.5%&lt;/strong>。&lt;/p>
&lt;h2 id="rocmfpx把-284b-塞進-128-gb-ram">ROCmFPX：把 284B 塞進 128 GB RAM&lt;/h2>
&lt;p>DeepSeek V4 Flash 原始權重用 FP16 算約 &lt;strong>568 GB&lt;/strong>（284B × 2 bytes），即便是 Q4_K_M 量化也要近 &lt;strong>174 GB&lt;/strong>。一般消費級電腦根本沒地方放。Lucebox 的解法是用自訂的 ROCmFPX 混合精度量化格式，把整體位元率壓到平均 &lt;strong>2.88 bits/parameter&lt;/strong>，最終模型檔案只剩 &lt;strong>102.3 GB&lt;/strong>（約 95.3 GiB）。&lt;/p></description></item></channel></rss>