<?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[【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！]]></title><description><![CDATA[<p dir="auto">前一阵我在电脑上跑了 EXL3版的DeepSeek V4 Flash, 本地平均跑到 10-11tok/s， 最高的时候到了16tok/s， 我觉得我又行了， 当然这个速度还是一般， 后来出了Strata， 就玩了几天， 感觉不错， 就想着能不能给DeepSeek用， 于是我跟AI一起把 Strata 的说明书和源码翻了一遍，又用脚本把 <code>Huihui-DeepSeek-V4-Flash-BF16-abliterated-ds4-Q4_K.gguf</code> 的 GGUF 头解开逐层比对。下面是结论和证据。想看结论可以直接跳过全文。</p>
<hr />
<h2>一、先搞清楚这两个东西分别是什么</h2>
<h3>Strata 是什么</h3>
<p dir="auto">一个<strong>推理引擎</strong>（不是模型），作者 Niko1221，MIT 协议，2026 年 9 月下旬开源。它只干一件事：</p>
<blockquote>
<p dir="auto">把 <strong>Qwen3.8-Flash-Next</strong>（125B MoE，48 层，24,576 个专家，每个 token 只激活约 10 个）塞进一张 <strong>12GB 显存</strong>的消费级显卡。</p>
</blockquote>
<p dir="auto">做法不是把模型压缩掉，而是<strong>把整台电脑当成一个分级仓库</strong>：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>层级</th>
<th>装什么</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>显存</strong>（热）</td>
<td>最常用的约 4,500 个专家 + 注意力 + 路由 + KV cache + MTP 草稿层</td>
<td>带宽约 672 GB/s</td>
</tr>
<tr>
<td><strong>内存</strong>（温）</td>
<td><strong>全部</strong> 24,576 个专家</td>
<td>显存里没有的，CPU 就地算，和 GPU 并行</td>
</tr>
<tr>
<td><strong>硬盘</strong>（冷）</td>
<td>28.8 GB 的 n-gram 查找表（内存映射常驻）</td>
<td>每个 token 只读约 16 行，提前一步发读取请求</td>
</tr>
</tbody>
</table>
<p dir="auto">在这个三级结构上再叠两招：</p>
<ul>
<li><strong>量化</strong>：ISTA-DASLab 的 <strong>GSQ-RCO</strong> 方案，把权重压到 2–3 bit。Q2_0 档全部专家只要 34 GB 内存。</li>
<li><strong>原生 MTP</strong>（多 token 预测）：小草稿层先猜几个 token，大模型一次验证。官方声称 <strong>1.6–1.8×</strong>，且输出内容不变。</li>
</ul>
<p dir="auto">官方基准机是 RTX 5070 12GB + Ryzen 5 7600 + 64GB 内存：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>量化档</th>
<th>Decode</th>
<th>Prefill</th>
</tr>
</thead>
<tbody>
<tr>
<td>Q2_0</td>
<td>94 tok/s</td>
<td>2,650 tok/s</td>
</tr>
<tr>
<td>IQ3_XXS</td>
<td>62 tok/s</td>
<td>1,750 tok/s</td>
</tr>
<tr>
<td>IQ3_S</td>
<td>53 tok/s</td>
<td>1,620 tok/s</td>
</tr>
</tbody>
</table>
<h3>DeepSeek V4 Flash 是什么</h3>
<p dir="auto">284B 总参数 / 13B 激活 / <strong>256 个路由专家 + 1 个共享专家</strong> / <strong>43 层</strong> / 1M 上下文 / MIT 授权。</p>
<p dir="auto">我的 <code>Huihui-DeepSeek-V4-Flash-BF16-abliterated-ds4-Q4_K.gguf</code> 是社区在 <strong>FP4 原生专家权重</strong>上做的 Q4_K 对齐版：</p>
<pre><code>153.33 GiB = 164,633,502,304 bytes
</code></pre>
<p dir="auto">注意这个体积。它是后面所有讨论的地基。</p>
<hr />
<h2>二、实测 A：DeepSeek V4 Flash GGUF 到底长什么样</h2>
<p dir="auto">用 Python 直接解 GGUF 头（<code>gguf-py</code> 的 <code>GGUFReader</code>），结果是：</p>
<pre><code>general.architecture = deepseek4
1328 张量
</code></pre>
<p dir="auto">逐项拆开：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>项</th>
<th>值</th>
</tr>
</thead>
<tbody>
<tr>
<td>层数</td>
<td><strong>43</strong></td>
</tr>
<tr>
<td>hidden size</td>
<td>4096</td>
</tr>
<tr>
<td>注意力</td>
<td><strong>MLA，64 Q heads / 1 KV head</strong>，k=v len 512</td>
</tr>
<tr>
<td>LoRA rank</td>
<td>q_lora_rank = output_lora_rank = 1024（8 组）</td>
</tr>
<tr>
<td>专家</td>
<td><strong>256 路由 + 1 共享</strong>，激活 6 个，专家 FF 维度 2048</td>
</tr>
<tr>
<td>专家张量布局</td>
<td>3D 融合张量 <code>ffn_{gate,up,down}_exps</code>，形状 256×2048×4096</td>
</tr>
<tr>
<td>专家量化</td>
<td><strong>Q4_K，129 张，占 145.125 GiB（95%）</strong></td>
</tr>
<tr>
<td>其余</td>
<td>Q8_0 345 张 / 6.146 GiB，F16 359 张 / 2.041 GiB，I32 3，F32 492</td>
</tr>
</tbody>
</table>
<p dir="auto">逐层组件矩阵（数了每一层有什么）：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>组件</th>
<th>出现在几层</th>
</tr>
</thead>
<tbody>
<tr>
<td>MLA 注意力</td>
<td>43</td>
</tr>
<tr>
<td>attn_compressor</td>
<td>41（层 2–42）</td>
</tr>
<tr>
<td>sparse indexer</td>
<td>21（偶数层，top_k = 512）</td>
</tr>
<tr>
<td>mHC hyper-connection</td>
<td>43</td>
</tr>
<tr>
<td>attn_sinks</td>
<td>43</td>
</tr>
<tr>
<td>路由专家</td>
<td>43</td>
</tr>
<tr>
<td>router bias</td>
<td>40（层 3–42）</td>
</tr>
<tr>
<td>hash 路由 <code>tid2eid</code></td>
<td>3（层 0–2）</td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>它独有的机制</strong>：mHC hyper-connection、CSA/HCA 压缩器、sparse indexer、hash 路由、attn_sinks、sliding_window=128、rope yarn×16。</p>
<p dir="auto"><strong>它没有的机制</strong>：<strong>没有 PLE（per-layer embedding）表，也没有 n-gram 表。</strong></p>
<p dir="auto"><strong>最后这一条，是整件事的关键。</strong></p>
<hr />
<h2>三、实测 B：Strata 的源码绑死了什么</h2>
<h3>1. 架构守卫只认一个字符串</h3>
<pre><code class="language-cpp">// include/strata/artifact/gguf_reader.hpp:584
// 只接受 general.architecture == "qwen4exp"
</code></pre>
<p dir="auto">模型是 <code>deepseek4</code>。第一个门就过不去。</p>
<h3>2. 几何常量写死在编译期，还散落 14 个文件</h3>
<p dir="auto"><code>include/strata/core/layout.hpp:27-59</code> 里的 <code>ModelGeometry</code> <strong>全是字面量</strong>（2560 / 48 层 / 512 / 640 / ssm_* / 24 / 2 / 256 …）。</p>
<p dir="auto">唯一从 GGUF 读出来的只有两个值：</p>
<pre><code class="language-cpp">// src/generate.cpp:2395-2396
expert_count       = &lt;from gguf&gt;;
expert_used_count  = &lt;from gguf&gt;;
</code></pre>
<p dir="auto"><strong>同一组几何散落在 14 个文件里</strong>：</p>
<pre><code>src/prefill.cpp:93            src/kernels.cu:21
include/strata/core/expert.hpp:34-45    include/strata/core/ngram.hpp:31-42
include/strata/qsa.hpp:109-116          src/plan.hpp:24-58
tools/pack_layer.py:40                  tools/iq_pack.py:202
tools/mtp_rt.py:27                      tools/make_profile.py:33
tools/strata_pack.py:234                tests/native_expert_bench.cpp:46
include/strata/artifact/gguf_reader.hpp:576    include/native_ple_postops.hpp:6
</code></pre>
<h3>3. 层型是<strong>位置算术</strong>，不是查表</h3>
<pre><code class="language-cpp">// include/strata/core/layout.hpp:64
bool is_qsa_layer() { return layer % q.gsa_interval == q.qsa_interval - 1; }
// 实际效果：layer % 4 == 3
</code></pre>
<p dir="auto">也就是说，Strata 认为「每 4 层里第 4 层是特殊层」是<strong>数学规律</strong>，不是可配置项。</p>
<h3>4. 专家 blob 大小是编译期常量，还有硬性宽度检查</h3>
<pre><code class="language-cpp">// include/strata/core/expert.hpp:45
constexpr BLOB = 1,382,400;

// src/expert_source.cpp:2291
// 宽度不等于 2560 直接拒绝
</code></pre>
<p dir="auto">Deepseek专家宽度是 <strong>4096</strong>。</p>
<h3>5. 注意力是最大障碍</h3>
<p dir="auto">Strata 的 QSA 是一个<strong>稀疏 cell 选择器</strong>：</p>
<pre><code>indexer → topk_512 → gather → GQA
</code></pre>
<p dir="auto"><code>topk_512</code> 是<strong>单个 block</strong> 实现的，而且有上限：</p>
<pre><code class="language-cpp">// include/strata/qsa.hpp:282-284
kTopkMaxCells = 32768
</code></pre>
<p dir="auto">更麻烦的是 KV cache：</p>
<pre><code class="language-cpp">// include/strata/qsa.hpp:63-71
// KV cache 是明文 FP16 GQA — 没有压缩，没有 MLA
</code></pre>
<p dir="auto">而 DeepSeek V4 Flash 的 KV cache 恰恰是 <strong>MLA（MLA 就是为压缩 KV cache 而生的）</strong>。</p>
<p dir="auto">在 <code>src/</code> 目录里搜这些关键词，<strong>零命中</strong>：</p>
<pre><code>sliding | MLA | kv_lora | compress
</code></pre>
<hr />
<h2>四、为什么「改源码」这条路本身就不成立</h2>
<h3>理由一：Strata 缺的是「机制」，不是「参数」</h3>
<p dir="auto">把两边的机制清单摆在一起看：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>机制</th>
<th>Qwen3.8-Flash-Next（Strata 支持的）</th>
<th>DeepSeek V4 Flash（你要跑的）</th>
<th>Strata 里有没有</th>
</tr>
</thead>
<tbody>
<tr>
<td>层数</td>
<td>48</td>
<td>43</td>
<td>写死 48</td>
</tr>
<tr>
<td>专家数</td>
<td>24,576</td>
<td>256</td>
<td>从 GGUF 读 <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /></td>
</tr>
<tr>
<td>每 token 激活</td>
<td>~10</td>
<td>6</td>
<td>从 GGUF 读 <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title="✅" alt="✅" /></td>
</tr>
<tr>
<td>专家粒度</td>
<td>小专家</td>
<td><strong>大专家</strong>（2048×4096/个）</td>
<td>无概念</td>
</tr>
<tr>
<td>n-gram / PLE 表</td>
<td><strong>51B 表，28.8 GB</strong></td>
<td><strong>没有</strong></td>
<td>核心机制，用不上</td>
</tr>
<tr>
<td>注意力</td>
<td>明文 FP16 GQA</td>
<td><strong>MLA 64Q/1KV</strong></td>
<td><strong>无</strong></td>
</tr>
<tr>
<td>KV 压缩</td>
<td>无</td>
<td>CSA 4× / HCA 128×</td>
<td><strong>无</strong></td>
</tr>
<tr>
<td>稀疏选择器</td>
<td>QSA（每 4 层）</td>
<td>sparse indexer（偶数层）</td>
<td>有类似物但不是这个</td>
</tr>
<tr>
<td>hyper-connection</td>
<td>无</td>
<td><strong>mHC，43 层</strong></td>
<td><strong>无</strong></td>
</tr>
<tr>
<td>attn_sinks</td>
<td>无</td>
<td>43 层</td>
<td><strong>无</strong></td>
</tr>
<tr>
<td>hash 路由</td>
<td>无</td>
<td>层 0–2</td>
<td><strong>无</strong></td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>最能说明问题的一行是 n-gram 表。</strong></p>
<p dir="auto">Strata 的加速逻辑是：</p>
<blockquote>
<p dir="auto">你只用到 24,576 个专家里的 10 个 → 一张巨大的查表告诉你「下一步大概会用哪几个」→ 提前从 SSD 预取 → 等路由真的问到的时候，数据已经在内存里了。</p>
</blockquote>
<p dir="auto">这套东西成立的前提是：<strong>专家数量极多、单个专家极小、路由极度稀疏</strong>。</p>
<p dir="auto">DeepSeek V4 Flash 是 <strong>256 个专家、每个是大矩阵、激 6 个</strong>。它的瓶颈根本不是「预测哪个专家」，而是「专家张量本来就大」。<strong>Strata 那张表在这个形状上没有任何价值。</strong></p>
<h3>理由二：Strata 的设计哲学就是「一个模型一个引擎」</h3>
<p dir="auto">官方文档第一句就写死了：</p>
<blockquote>
<p dir="auto"><strong>Strata runs one model, Qwen3.8-Flash-Next.</strong></p>
</blockquote>
<p dir="auto">这不是「暂时只支持一个」，是<strong>刻意的设计选择</strong>。作者把整个引擎的 kernel、内存布局、调度器都围绕这一个模型的形状去塑形。这正是它比通用引擎快的原因——</p>
<p dir="auto">社区里对它有个很准的称呼：<strong>「napkin runtime」</strong>（餐巾纸运行时）。一位开发者在实测对比里写道：</p>
<blockquote>
<p dir="auto">在同一台 RTX 4070 12GB 的机器上，把 llama.cpp 调到极限是 27 tok/s；换 Strata，在 6 万 token 上下文下跑出 53.2 tok/s。</p>
<p dir="auto">差值不是来自更好的优化，而是来自<strong>放弃通用性</strong>。</p>
</blockquote>
<p dir="auto">同一批「偏科引擎」还包括 ninfer、DwarfStar、Splash、llamAmpere、gufo——每一个都只服务一个模型 + 一类硬件。</p>
<h3>那到底要写多少代码？</h3>
<p dir="auto">粗估：<strong>6,000–10,000 行新 C++/CUDA</strong>，用来实现一个 <code>deepseek4</code> 后端。</p>
<p dir="auto">而且要注意，这不是「在现有代码上加分支」。Strata 的几何常量是通过<strong>编译期字面量</strong>渗透进 kernel 的，加第二个架构意味着这些常量要全面泛化——而它们散落在 14 个文件里，其中一部分在 <code>.cu</code> 里直接影响性能假设。</p>
<hr />
<h2>五、那正确的路怎么走</h2>
<h3>路径 A：DwarfStar（ds4）—— 这就是为 DeepSeek V4 写的引擎</h3>
<p dir="auto"><strong>最直接、最对症的一条路。</strong> 作者是 antirez（Salvatore Sanfilippo，Redis 的作者），MIT 协议，纯 C。</p>
<p dir="auto">官方定位：</p>
<blockquote>
<p dir="auto"><strong>ds4 is intentionally narrow: it supports a small, opportunistic set of model families.</strong><br />
Today that means <strong>DeepSeek V4 Flash and PRO, DeepSeek V4.1 Flash, GLM 5.x and Qwen3.8 Flash Next.</strong></p>
</blockquote>
<p dir="auto">后端已经不只 Metal 了：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>平台</th>
<th>内存要求</th>
<th>后端</th>
</tr>
</thead>
<tbody>
<tr>
<td>MacBook / Mac Studio</td>
<td>96GB+</td>
<td>Metal</td>
</tr>
<tr>
<td>MacBook Pro</td>
<td>64GB</td>
<td>Qwen3.8 Q2，或 <strong>V4 Flash via SSD streaming</strong></td>
</tr>
<tr>
<td>Mac Studio</td>
<td>512GB</td>
<td>V4.1 q4 / PRO q2</td>
</tr>
<tr>
<td><strong>NVIDIA DGX Spark GB10</strong></td>
<td>128GB</td>
<td><strong>CUDA (cuda-spark)</strong></td>
</tr>
<tr>
<td><strong>通用 NVIDIA Linux</strong></td>
<td>够跑该量化的 VRAM + RAM</td>
<td><strong>CUDA (cuda-generic)</strong></td>
</tr>
<tr>
<td>AMD Strix Halo</td>
<td>96–128GB 统一内存</td>
<td>ROCm</td>
</tr>
</tbody>
</table>
<p dir="auto">可选模型档位：</p>
<pre><code class="language-bash">./download_model.sh ds4f-q2        # Flash · 96–128GB
./download_model.sh ds4f-q2-q4     # Flash · q2 + 最后 6 层专家 q4
./download_model.sh ds4f-q4        # Flash · 4-bit · 256GB+
./download_model.sh ds4f-mxfp4     # Flash · 原生 MXFP4 专家 · ~156GB
./download_model.sh ds4f-dspark    # Flash · DSpark 投机解码支持文件
</code></pre>
<h3>路径 B：llama.cpp —— 通用、稳、但慢</h3>
<p dir="auto">上游 llama.cpp 从 <strong>b9843</strong> 起支持 <code>deepseek4</code> 架构。官方 GGUF 已经现成：</p>
<pre><code class="language-bash"># MXFP4，约 155 GB，2 个分片
llama-server -hf ggml-org/DeepSeek-V4-Flash-0731-GGUF:MXFP4
</code></pre>
<h3>路径 C：如果你还想用 Strata —— 就用它原本的模型</h3>
<p dir="auto">Strata 就是为 Qwen3.8-Flash-Next 造的。本机在双卡上其实已经跑通了，实测数字也拿下过（热请求 ~140.8 tok/s 含 TTFT）。<strong>让它继续跑它擅长的模型，是收益最高、成本最低的选择。</strong></p>
<h3>路径 D：如果只是想复刻 Strata 的调度思路</h3>
<p dir="auto">Strata 真正值得抄的不是它的 CUDA kernel，而是<strong>调度层</strong>：</p>
<ul>
<li><code>serve/server.py</code>（7,517 行，<strong>零模型常量</strong>）</li>
<li>CUDA graph 捕获</li>
<li>VMM 弹性 arena</li>
<li>专家缓存的 admit / never-evict 策略 + 按层准入窗口</li>
<li>CPU/GPU 专家瀑布（miss 在 CPU 上并行算，不阻塞 GPU）</li>
<li>MTP 投机框架</li>
<li>多卡 peer experts</li>
</ul>
<p dir="auto">这些是可以剥离出来挂到别的后端上的。<strong>但注意：调度框架能复用，调度参数不能。</strong> 专家槽位数量、准入窗口大小、预取深度，全都是按「24,576 个小专家、激活 10 个」调出来的。换成「256 个大专家、激活 6 个」，这些值必须重调。</p>
<hr />
<h2>六、一句话总结</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>问题</th>
<th>答案</th>
</tr>
</thead>
<tbody>
<tr>
<td>Strata 能通过改源码跑 DeepSeek V4 Flash 吗？</td>
<td><strong>不能。</strong></td>
</tr>
<tr>
<td>是「改」还是「重写」？</td>
<td><strong>重写一个 deepseek4 后端</strong>，粗估 6,000–10,000 行。</td>
</tr>
<tr>
<td>重写完能跑吗？</td>
<td><strong>不一定。</strong></td>
</tr>
<tr>
<td>那怎么办？</td>
<td>想跑 V4 Flash → 用 <strong>ds4</strong>（对症）或 <strong>llama.cpp</strong>（通用但慢）。想用 Strata → 就让它跑 Qwen3.8-Flash-Next。</td>
</tr>
</tbody>
</table>
<hr />
<h2>附：这件事背后更值得想的一个问题</h2>
<p dir="auto"><strong>##### 虽然没折腾成功吧， 但是我觉得也算是给大家一个科普，让大家知道为什么Strata只能跑Qwen3.8 Flash ,  也大概知道一下原理。 对自己的硬件， 和后续的投资， 有一个清醒的认识。</strong></p>
<p dir="auto">Strata 这类「偏科引擎」（社区叫 napkin runtime）最近集中出现，不是偶然。</p>
<p dir="auto">推理优化有一个很特殊的性质：<strong>它的目标函数异常清晰。</strong></p>
<blockquote>
<p dir="auto">输入：一个固定的权重文件 + token id<br />
约束：输出必须和参考实现在容差内一致<br />
目标：每秒更多 token、更少内存</p>
</blockquote>
<p dir="auto">这种「可机器校验」的目标，让 AI coding agent 能围着硬件计数器反复迭代。结果是——写一个高性能推理引擎的成本，从「资深系统工程师几个月」降到了「几周甚至更短」。</p>
<p dir="auto">但代价也写在同一张纸上：<strong>目标越窄，优化越狠；模型一换代，引擎可能直接作废。</strong></p>
<p dir="auto">有开发者立了一个可检验的预测：<strong>到 2027 年 4 月，这批偏科引擎里至少 4 个会连续 60 天没有任何提交。</strong></p>
<p dir="auto">所以更可能的未来不是「偏科引擎取代通用引擎」，而是：</p>
<blockquote>
<p dir="auto"><strong>通用引擎继续做格式、量化研究、各后端的参考 kernel，退成「零件库」；<br />
偏科引擎从里面拆零件，拼成一次性快消品。</strong></p>
</blockquote>
<p dir="auto"><strong>别跟推理引擎绑定。</strong> 真正稳定的那一层是它上面的接口——OpenAI / Anthropic 兼容的 HTTP API。引擎可以换，客户端不用动。</p>
<hr />
]]></description><link>https://lcz.me/topic/2153</link><generator>RSS for Node</generator><lastBuildDate>Mon, 12 Oct 2026 13:28:42 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/2153.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Oct 2026 00:17:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Sat, 10 Oct 2026 03:41:07 GMT]]></title><description><![CDATA[<p dir="auto">strata 2-3万元机器就能跑的很爽, 估计   GLM-5.3-Flash-Maya 需要5-8万的硬件组合了</p>
]]></description><link>https://lcz.me/post/23681</link><guid isPermaLink="true">https://lcz.me/post/23681</guid><dc:creator><![CDATA[gao Gao]]></dc:creator><pubDate>Sat, 10 Oct 2026 03:41:07 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Sat, 10 Oct 2026 03:23:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/applejuice" aria-label="Profile: applejuice">@<bdi>applejuice</bdi></a> 是的,很奇怪我看见别人windows下是50%,但是我linux下也显示50%,但是我测试cpu的功耗已经满125瓦,然后我用小米的智能插座也倒算出基本cpu也是满的.</p>
]]></description><link>https://lcz.me/post/23677</link><guid isPermaLink="true">https://lcz.me/post/23677</guid><dc:creator><![CDATA[gao Gao]]></dc:creator><pubDate>Sat, 10 Oct 2026 03:23:55 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Sat, 10 Oct 2026 02:40:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gao-gao" aria-label="Profile: gao-Gao">@<bdi>gao-Gao</bdi></a> 你是说strata 跑的时候会把cpu 拉满对吧?</p>
]]></description><link>https://lcz.me/post/23667</link><guid isPermaLink="true">https://lcz.me/post/23667</guid><dc:creator><![CDATA[applejuice]]></dc:creator><pubDate>Sat, 10 Oct 2026 02:40:33 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Sat, 10 Oct 2026 02:33:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gao-gao" aria-label="Profile: gao-Gao">@<bdi>gao-Gao</bdi></a> 其实就是能量守恒定律，消耗能量越高，说明性能发挥越充分，性能越强</p>
]]></description><link>https://lcz.me/post/23665</link><guid isPermaLink="true">https://lcz.me/post/23665</guid><dc:creator><![CDATA[johnnybegood]]></dc:creator><pubDate>Sat, 10 Oct 2026 02:33:08 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Sat, 10 Oct 2026 02:00:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joker_chang" aria-label="Profile: joker_chang">@<bdi>joker_chang</bdi></a> 我可不是大佬,我提升了内存到96G 测试下了速度还是不行,这个模型已经超过单卡3090的能力了,双卡我看论坛也有人发,速度也没有办法实际工作,我个人现在感觉 3090单卡+96GB或64GB 内存用 Qwen3.8-Flash-Next-GSQ-RCO-IQ3_S ,128K上下文 parallel: 5 设置(刚开始运行会慢) + cc swtich +claude desktop 效果我目前感觉比 dsh 好,具体还要再使用一段时间. 随便提一下 Strata会把 cpu拉满(虽然显示50% 其实是100%功耗) 电费会很感人  我i7+4根32x2 16x2 +3090单卡限330w 整机最高实际功耗是500瓦</p>
]]></description><link>https://lcz.me/post/23661</link><guid isPermaLink="true">https://lcz.me/post/23661</guid><dc:creator><![CDATA[gao Gao]]></dc:creator><pubDate>Sat, 10 Oct 2026 02:00:58 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Fri, 09 Oct 2026 01:03:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gao-gao" aria-label="Profile: gao-Gao">@<bdi>gao-Gao</bdi></a> 大佬，这个模型的能力如何？您有没有测试过？</p>
]]></description><link>https://lcz.me/post/23380</link><guid isPermaLink="true">https://lcz.me/post/23380</guid><dc:creator><![CDATA[joker_chang]]></dc:creator><pubDate>Fri, 09 Oct 2026 01:03:23 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Fri, 09 Oct 2026 01:02:31 GMT]]></title><description><![CDATA[<p dir="auto">我整个国庆节，除了开车在路上的时间，剩下全是telegram操控Hermes在折腾Strata。</p>
<p dir="auto">在看到这个贴子前，我也在网上搜索，有没有大神采用类似的技术，本地跑deepseek v4.1 flash。</p>
<p dir="auto">看来还是我太贪心了~</p>
<p dir="auto">补一张我本机Hermes 调用strata的运行数据图：<br />
<img src="https://upload.lcz.me/uploads/5459599d-8f28-4933-8031-b2b5c9132d54.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" /></p>
]]></description><link>https://lcz.me/post/23377</link><guid isPermaLink="true">https://lcz.me/post/23377</guid><dc:creator><![CDATA[joker_chang]]></dc:creator><pubDate>Fri, 09 Oct 2026 01:02:31 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Thu, 08 Oct 2026 20:50:03 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f525.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--fire" style="height:1.4em;width:auto;vertical-align:middle" title="🔥" alt="🔥" /> 本帖参与讨论人数已达 <strong>10+</strong>，入选<strong>热议</strong>，作者 <strong>+3 积分</strong>奖励，感谢分享！</p>
<blockquote>
<p dir="auto">奖励凭证：热议 +3 分 · 编号 h2153-363-1（系统自动发放，显示稍有延迟）</p>
</blockquote>
]]></description><link>https://lcz.me/post/23364</link><guid isPermaLink="true">https://lcz.me/post/23364</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Thu, 08 Oct 2026 20:50:03 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Thu, 08 Oct 2026 20:48:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnnybegood" aria-label="Profile: johnnybegood">@<bdi>johnnybegood</bdi></a>  "... 于是我跟AI一起把 Strata 的说明书和源码翻了一遍，又用脚本把 Huihui-DeepSeek-V4-Flash-BF16-abliterated-ds4-Q4_K.gguf 的 GGUF 头解开逐层比对。..." 大侠你是这么过国庆节的啊 <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--blush" style="height:1.4em;width:auto;vertical-align:middle" title=":blush:" alt="😊" /></p>
]]></description><link>https://lcz.me/post/23363</link><guid isPermaLink="true">https://lcz.me/post/23363</guid><dc:creator><![CDATA[Ben Lee]]></dc:creator><pubDate>Thu, 08 Oct 2026 20:48:23 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Thu, 08 Oct 2026 15:35:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gao-gao" aria-label="Profile: gao-Gao">@<bdi>gao-Gao</bdi></a> 哈哈，这让我想起我之前在双路 XEON老机器 上面（16条16G DDR4 2133内存） 纯CPU跑122B的IQ4_XS模型，那里也能得到15-20T/S （用了proxmox的arc技术，把划64G给磁盘当缓存用，因此llama.cpp可以 秒速从内存里面读GGUF） 。<br />
后来放弃了，速度真的太慢，不实用。 我感觉本地要40-50 T/S可以实用。 100T/S左右可以爽玩。</p>
]]></description><link>https://lcz.me/post/23324</link><guid isPermaLink="true">https://lcz.me/post/23324</guid><dc:creator><![CDATA[stxpnet]]></dc:creator><pubDate>Thu, 08 Oct 2026 15:35:17 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Thu, 08 Oct 2026 11:24:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnnybegood" aria-label="Profile: johnnybegood">@<bdi>johnnybegood</bdi></a>  不是,我估计我内存上到96GB ,把ssd上的全部加载到内存,速度会明显提升</p>
]]></description><link>https://lcz.me/post/23283</link><guid isPermaLink="true">https://lcz.me/post/23283</guid><dc:creator><![CDATA[gao Gao]]></dc:creator><pubDate>Thu, 08 Oct 2026 11:24:52 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Thu, 08 Oct 2026 11:05:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gao-gao" aria-label="Profile: gao-Gao">@<bdi>gao-Gao</bdi></a> 这。。。这个跟llama.cpp 0.6.0 直接跑也差不多了。</p>
]]></description><link>https://lcz.me/post/23280</link><guid isPermaLink="true">https://lcz.me/post/23280</guid><dc:creator><![CDATA[johnnybegood]]></dc:creator><pubDate>Thu, 08 Oct 2026 11:05:14 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Thu, 08 Oct 2026 10:31:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stxpnet" aria-label="Profile: stxpnet">@<bdi>stxpnet</bdi></a> 汇报下,单卡3090 24G 64G内存 64K上下文  Maya-S-v2-IQ2_XXS 不太会测试,仅供参考<br />
<img src="https://upload.lcz.me/uploads/1e3c23a5-065b-4316-9b5c-b706fc4530c7.png" alt="2026-10-08 18 24 57.png" class="img-markdown  img-fluid" /><br />
<img src="https://upload.lcz.me/uploads/4519e709-1a7d-4439-8101-80701e536501.png" alt="2026-10-08 18 24 57-2.png" class="img-markdown  img-fluid" /><br />
<img src="https://upload.lcz.me/uploads/1f6406b6-73c5-4fbf-9f99-093372812a46.png" alt="2026-10-08 18 24 57-3.png" class="img-markdown  img-fluid" /></p>
]]></description><link>https://lcz.me/post/23276</link><guid isPermaLink="true">https://lcz.me/post/23276</guid><dc:creator><![CDATA[gao Gao]]></dc:creator><pubDate>Thu, 08 Oct 2026 10:31:06 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Thu, 08 Oct 2026 04:09:43 GMT]]></title><description><![CDATA[<p dir="auto">看来用 智商 最高的大模型去 解决这类问题 实现拉一把小弟智商性能的 的渠道是可以打通的</p>
]]></description><link>https://lcz.me/post/23185</link><guid isPermaLink="true">https://lcz.me/post/23185</guid><dc:creator><![CDATA[gao Gao]]></dc:creator><pubDate>Thu, 08 Oct 2026 04:09:43 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Thu, 08 Oct 2026 03:20:34 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://upload.lcz.me/uploads/e8cf4395-3f88-4e83-a5b7-b350ce56a042.jpeg" alt="image.jpeg" class="img-markdown  img-fluid" /></p>
<p dir="auto"><a href="https://huggingface.co/peasantsmith/GLM-5.3-Flash-Maya-GGUF" rel="nofollow ugc">https://huggingface.co/peasantsmith/GLM-5.3-Flash-Maya-GGUF</a><br />
有人已经做好了strata的fork了.  跑glm 5.3 flash,作者好像用的两张20系显卡.</p>
<p dir="auto">速度<br />
在两台配备 32GB 内存（30GB RAM）的 Tesla V100 上运行 Maya-S，并使用 Project Maya 进行测试：解码（写入答案）速度最高可达 40 个 token/s，支持 MTP 块草稿，即使在处理较长的上下文（60K tokens）时也能保持该速度；预填充（读取提示）速度最高可达 560 个 token/s。在一台配备 64GB RAM 的 Tesla V100 上：解码速度最高可达 19 个 token/s，预填充速度最高可达 370 个 token/s。 ./maya.sh --bench请以相同方式测试您的机器。</p>
<p dir="auto">运行它<br />
Project Maya（<a href="http://github.com/mw00/project-maya%EF%BC%89%EF%BC%9A%E4%BD%BF%E7%94%A8%E4%B8%80%E5%88%B0%E4%B8%A4%E5%9D%97" rel="nofollow ugc">github.com/mw00/project-maya）：使用一到两块</a> NVIDIA GPU，其余模型位于 RAM 和 SSD 上；图片通过上述视觉文件显示。./setup.sh下载、检查并设置 Maya-S；./setup.sh --setup --model Maya-M设置 Maya-M。<br />
llama.cpp构建支持 GLM-5.3-Flash ( glm5next)，可将其作为任何 GGUF 加载。</p>
<p dir="auto">那些人一般用的claude code最强的套餐去改的这些框架.</p>
]]></description><link>https://lcz.me/post/23177</link><guid isPermaLink="true">https://lcz.me/post/23177</guid><dc:creator><![CDATA[stxpnet]]></dc:creator><pubDate>Thu, 08 Oct 2026 03:20:34 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Wed, 07 Oct 2026 14:05:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johnnybegood" aria-label="Profile: johnnybegood">@<bdi>johnnybegood</bdi></a><br />
确实，我花了两三天的时间想要把paiton框架用到的算子和内核移植到SGlang上面配合牛逼的缓存技术让本地跑27b的体验飞升。结果天不随我愿，虽然已经从官方版本的pp1100左右今天顶到了2350，TG也提高了大概35%左右，整体上已经几乎翻倍了，相比原生SGlang。但是还是不如paiton在vLLM下的绝对速度，最后各种尝试遍了以后发现还是内核支持的问题，哎，干这个工程量可就太大了，而且即使在AI时代有这个能力的人也不多吧。<br />
还是要看大神们发挥了。</p>
]]></description><link>https://lcz.me/post/23099</link><guid isPermaLink="true">https://lcz.me/post/23099</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Wed, 07 Oct 2026 14:05:24 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Wed, 07 Oct 2026 13:56:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fcme" aria-label="Profile: fcme">@<bdi>fcme</bdi></a> 是的， 要写10000行代码， 还不一定成功。确实没时间。从硬件分析角度来说， 其实也收益不会太大。</p>
]]></description><link>https://lcz.me/post/23091</link><guid isPermaLink="true">https://lcz.me/post/23091</guid><dc:creator><![CDATA[johnnybegood]]></dc:creator><pubDate>Wed, 07 Oct 2026 13:56:37 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Wed, 07 Oct 2026 13:52:06 GMT]]></title><description><![CDATA[<p dir="auto">deepseek的ngram架构确实很好，Qwen这个flash就用了啊，部分内容以查代算。<br />
你这个一直再搞搞肯定是可以成功的，只不过工作量太大了，你要没有超级计算机的话</p>
]]></description><link>https://lcz.me/post/23090</link><guid isPermaLink="true">https://lcz.me/post/23090</guid><dc:creator><![CDATA[fcme]]></dc:creator><pubDate>Wed, 07 Oct 2026 13:52:06 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Wed, 07 Oct 2026 13:07:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/david-chen" aria-label="Profile: david-chen">@<bdi>david-chen</bdi></a>  你牛</p>
]]></description><link>https://lcz.me/post/23086</link><guid isPermaLink="true">https://lcz.me/post/23086</guid><dc:creator><![CDATA[gao Gao]]></dc:creator><pubDate>Wed, 07 Oct 2026 13:07:06 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Wed, 07 Oct 2026 12:48:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gao-gao" aria-label="Profile: gao-Gao">@<bdi>gao-Gao</bdi></a> 不用未來，我已經在弄了 <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/263a.png?v=fe25256ab4a" class="not-responsive emoji emoji-android emoji--relaxed" style="height:1.4em;width:auto;vertical-align:middle" title=":relaxed:" alt="☺" /></p>
]]></description><link>https://lcz.me/post/23082</link><guid isPermaLink="true">https://lcz.me/post/23082</guid><dc:creator><![CDATA[David Chen]]></dc:creator><pubDate>Wed, 07 Oct 2026 12:48:27 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Wed, 07 Oct 2026 12:29:34 GMT]]></title><description><![CDATA[<p dir="auto">有没有可能未来 新开源模型出来,自己用老模型+自定义Strata=新推理引擎+新模型 然后就能用了</p>
]]></description><link>https://lcz.me/post/23078</link><guid isPermaLink="true">https://lcz.me/post/23078</guid><dc:creator><![CDATA[gao Gao]]></dc:creator><pubDate>Wed, 07 Oct 2026 12:29:34 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Wed, 07 Oct 2026 12:01:37 GMT]]></title><description><![CDATA[<p dir="auto">不早了，晚了又要买高价硬件</p>
]]></description><link>https://lcz.me/post/23072</link><guid isPermaLink="true">https://lcz.me/post/23072</guid><dc:creator><![CDATA[vosrock]]></dc:creator><pubDate>Wed, 07 Oct 2026 12:01:37 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Wed, 07 Oct 2026 11:05:37 GMT]]></title><description><![CDATA[<p dir="auto">附议你的想法，拿整机的能力去跑更大的模型，而不是只用GPU+VRAM，肯定是好事。qwen3.8-flash-next说到底是技术预览版，未来flash是否开源现在还难讲，strata未来是否支持deepseek这样的模型也是未知。如果到时qwen4-27B开源了，而falsh不开源，那又得回到原来27B的老路上了。所以只是升级下内存之类测试尝鲜flash-next还行，现在整机升级朝着这个方向走，感觉为时过早啊。</p>
]]></description><link>https://lcz.me/post/23062</link><guid isPermaLink="true">https://lcz.me/post/23062</guid><dc:creator><![CDATA[neo]]></dc:creator><pubDate>Wed, 07 Oct 2026 11:05:37 GMT</pubDate></item><item><title><![CDATA[Reply to 【瞎折腾】Strata 改源码去跑 DeepSeek V4 Flash？要不就试试！ on Wed, 07 Oct 2026 02:20:33 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> 我看现在Strata太热了， 很多人脑子一热， 就要买新显卡， 装新机器了。 但是没考虑 Strata的扩展性如何，所以我做了这个测试。 谁也不想几万块买了硬件， 最后只能跑这一个或者几个模型啊， 我觉得通用性也很重要， 最后结尾也说了， 不通用。  当然这些工具和方法日新月异， 趁硬件便宜多屯一些也是可以的， 只是现在的价格真不是太合适了。</p>
]]></description><link>https://lcz.me/post/22954</link><guid isPermaLink="true">https://lcz.me/post/22954</guid><dc:creator><![CDATA[johnnybegood]]></dc:creator><pubDate>Wed, 07 Oct 2026 02:20:33 GMT</pubDate></item></channel></rss>