<?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[我要新装一个7900XTX到我现在的4060TI电脑上的疑问？]]></title><description><![CDATA[<p dir="auto">我是在24年的时候买了一台电脑，13600KF，Z790M小雕，DDR532G*2,4060ti16g，就是为了感受AI。<br />
现在听老特说7900XTX这个甜点卡能玩，我就是为了入门，没有赚钱的营生，就是感受AI，所以想把这个卡放我现在的电脑上。<br />
我从650W电源换了1250W，4060TI继续正常主显卡使用，7900xtx就是加载本地模型。<br />
我和AI对话很多次，给我答案都不一样，有说不兼容黑屏强驱动的，得用M2转PCLE延长线（豆包），有说没问题的（小爱），有说要卸载驱动重新装，但也会有风险的（DeepSeek）。明天显卡才到，提前发个贴问问有没有和我类似情况的，这个买之前没想这么多问题，这个会出问题吗？</p>
]]></description><link>https://lcz.me/topic/1269</link><generator>RSS for Node</generator><lastBuildDate>Thu, 10 Sep 2026 00:53:48 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/1269.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Aug 2026 14:25:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Wed, 26 Aug 2026 14:17:55 GMT]]></title><description><![CDATA[<p dir="auto">如果没有发现其他问题，这个是最后一个经验贴，我已经能感受到现在的速度是我这张卡我用起来的最佳速度和能耗。经验trae总结，放在这里，如果有需要丢给AI可以让他参考。</p>
<p dir="auto">好的，以下是整理好的论坛帖子内容：</p>
<hr />
<h1>【7900 XTX + llama.cpp】稳定输出 + 不引入历史记录的完整配置方案</h1>
<h2>硬件</h2>
<ul>
<li>AMD RX 7900 XTX 24GB（专职跑模型）</li>
<li>NVIDIA RTX 4060 Ti（主显卡跑桌面，不参与推理）</li>
<li>模型：Qwen3.8-27B-Q4_K_M / Qwen3.8-27B-UD-Q4_K_XL</li>
</ul>
<hr />
<h2>一、稳定输出（速度恒定，不越来越慢）</h2>
<h3>问题</h3>
<p dir="auto">批量总结文档时，第一个 ~1 分钟出结果，第二个要几分钟，第三个 10 分钟还没完。</p>
<h3>根因</h3>
<ol>
<li><strong>KV cache 量化过高</strong>：q8_0 的 KV cache 撑爆 24GB 显存（模型 15GB + KV 8.6GB = 23.6GB），GPU 和 CPU 之间疯狂换页</li>
<li><strong>Copilot 累积历史</strong>：opencode 后端会带上之前所有对话的上下文</li>
<li><strong>全库 RAG 搜索</strong>：<code>enableLexicalBoosts</code> 每次都在全文检索整个 vault</li>
<li><strong>Agent 自主决策</strong>：<code>enableAutonomousAgent</code> 每次迭代多轮</li>
</ol>
<h3>修复</h3>
<p dir="auto"><strong>1. llama-server 启动参数（start.bat）：</strong></p>
<pre><code class="language-batch">"%SERVER_EXE%" -m "%selected%" -c %ctx% -ngl 99 -fa on --no-mmap ^
  --cache-type-k q4_0 --cache-type-v q4_0 ^
  --parallel 1 -b 512 -ub 256 ^
  --verbose ^
  --host 0.0.0.0 --port 8080
</code></pre>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>参数</th>
<th>值</th>
<th>作用</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>-ngl</code></td>
<td>99</td>
<td>所有层卸载到 7900 XTX</td>
</tr>
<tr>
<td><code>-fa on</code></td>
<td>—</td>
<td>Flash Attention，降低显存带宽压力</td>
</tr>
<tr>
<td><code>--no-mmap</code></td>
<td>—</td>
<td>模型权重加载到 RAM，避免页面错误</td>
</tr>
<tr>
<td><code>--cache-type-k q4_0</code></td>
<td>—</td>
<td>KV cache 4bit 量化（8.6GB→4.3GB，省一半显存）</td>
</tr>
<tr>
<td><code>--cache-type-v q4_0</code></td>
<td>—</td>
<td>同上</td>
</tr>
<tr>
<td><code>--parallel 1</code></td>
<td>1</td>
<td>单槽位，全算力给一个请求</td>
</tr>
<tr>
<td><code>-b 512 -ub 256</code></td>
<td>—</td>
<td>批处理大小优化</td>
</tr>
<tr>
<td><code>--verbose</code></td>
<td>—</td>
<td>终端打印每个请求的耗时和速度</td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>2. 显存对比：</strong></p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>配置</th>
<th>模型</th>
<th>KV cache</th>
<th>合计</th>
<th>剩余</th>
</tr>
</thead>
<tbody>
<tr>
<td>q8_0 KV</td>
<td>15GB</td>
<td>8.6GB</td>
<td>23.6GB</td>
<td>0.4GB（贴满，换页卡死）</td>
</tr>
<tr>
<td><strong>q4_0 KV</strong></td>
<td>15GB</td>
<td><strong>4.3GB</strong></td>
<td><strong>19.3GB</strong></td>
<td><strong>4.7GB（充足）</strong></td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>3. 速度对比：</strong></p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>场景</th>
<th>q8_0 KV</th>
<th>q4_0 KV</th>
</tr>
</thead>
<tbody>
<tr>
<td>第1个文档</td>
<td>~1 分钟</td>
<td>~1 分钟</td>
</tr>
<tr>
<td>第2个文档</td>
<td>几分钟</td>
<td>~1 分钟</td>
</tr>
<tr>
<td>第3个文档</td>
<td>10+ 分钟</td>
<td>~1 分钟</td>
</tr>
<tr>
<td>生成速度</td>
<td>越来越慢</td>
<td><strong>恒定 32 tok/s</strong></td>
</tr>
</tbody>
</table>
<hr />
<h2>二、不引入历史记录（每次对话干净独立）</h2>
<h3>Obsidian Copilot data.json 配置</h3>
<p dir="auto">找到文件：<code>E:\你的Vault\.obsidian\plugins\copilot\data.json</code></p>
<p dir="auto"><strong>改这 7 个字段：</strong></p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>字段</th>
<th>之前</th>
<th>改成</th>
<th>作用</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>contextTurns</code></td>
<td>15</td>
<td><strong>0</strong></td>
<td>每次对话不带之前的对话轮次</td>
</tr>
<tr>
<td><code>agentMode.activeBackend</code></td>
<td>"opencode"</td>
<td><strong>"chat"</strong></td>
<td>从 Agent 模式切到简单聊天</td>
</tr>
<tr>
<td><code>enableSavedMemory</code></td>
<td>true</td>
<td><strong>false</strong></td>
<td>不保存对话记忆</td>
</tr>
<tr>
<td><code>enableRecentConversations</code></td>
<td>true</td>
<td><strong>false</strong></td>
<td>不保留最近对话</td>
</tr>
<tr>
<td><code>enableLexicalBoosts</code></td>
<td>true</td>
<td><strong>false</strong></td>
<td>关闭全库 RAG 搜索</td>
</tr>
<tr>
<td><code>enableAutonomousAgent</code></td>
<td>true</td>
<td><strong>false</strong></td>
<td>关闭 Agent 自主决策</td>
</tr>
<tr>
<td><code>docProcessorBackend</code></td>
<td>"plus"</td>
<td><strong>""</strong></td>
<td>不走云端，纯本地</td>
</tr>
</tbody>
</table>
<p dir="auto"><strong>保留这个不变：</strong></p>
<pre><code class="language-json">"autoAddActiveContentToContext": true
</code></pre>
<p dir="auto">这个是把你<strong>当前打开的笔记</strong>内容加进 prompt，不是历史记录。做文档总结必须有它。</p>
<hr />
<h2>三、验证方法</h2>
<h3>看速度和时间</h3>
<p dir="auto">llama-server 终端窗口会打印每个请求的日志：</p>
<pre><code>prompt eval time =  4823 ms / 1200 tokens ( 248.65 tokens per second)
       gen time = 14200 ms /  500 tokens (  35.21 tokens per second)
       total time = 19023 ms / 1700 tokens
</code></pre>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>字段</th>
<th>含义</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>prompt eval time</code></td>
<td>处理输入（文档+指令）的时间</td>
</tr>
<tr>
<td><code>gen time</code></td>
<td>生成回复的时间，<code>tokens per second</code> 就是速度</td>
</tr>
<tr>
<td><code>total time</code></td>
<td>从收到请求到完成的<strong>总耗时</strong></td>
</tr>
</tbody>
</table>
<h3>验证无历史累积</h3>
<p dir="auto">连续总结 3 个文档，看 llama-server 日志里每个请求的 <code>prompt_tokens</code> 数量：</p>
<ul>
<li>如果三次都差不多（比如都是 ~2000）→ <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="✅" /> 没有累积历史</li>
<li>如果越来越大（2000 → 4000 → 6000）→ <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--x" style="height:23px;width:auto;vertical-align:middle" title="❌" alt="❌" /> 还在带历史</li>
</ul>
<hr />
<h2>四、批量自动化（可选）</h2>
<p dir="auto">如果需要自动处理整个文件夹的文档，用 Python 脚本调用 llama-server API：</p>
<pre><code class="language-python"># 核心调用逻辑
payload = {
    "model": "qwen3.8-27b-ud",
    "messages": [
        {"role": "system", "content": "你的整理要求..."},
        {"role": "user", "content": "原文内容..."}
    ],
    "max_tokens": 16384,
    "temperature": 0.2,    # 低温度，输出稳定
    "top_p": 0.85,
    "stream": False
}
resp = requests.post(
    "http://127.0.0.1:8080/v1/chat/completions",
    json=payload,
    timeout=7200
)
</code></pre>
<p dir="auto"><strong>关键参数：</strong></p>
<ul>
<li><code>temperature: 0.2</code> — 低温度，每次输出结构稳定</li>
<li><code>stream: False</code> — 非流式，等完整结果再返回</li>
<li><code>timeout: 7200</code> — 2 小时超时，大文档慢慢跑</li>
<li>每个文档处理完，KV cache 自动释放，下一个文档拿到干净的 GPU</li>
</ul>
<hr />
<h2>给 AI 的一键配置 Prompt</h2>
<blockquote>
<p dir="auto">我有 AMD RX 7900 XTX 24GB 显卡，用 llama.cpp HIP 版跑 Qwen3.8-27B 本地模型。请帮我配置：</p>
<ol>
<li>start.bat 参数：-ngl 99 -fa on --no-mmap --cache-type-k q4_0 --cache-type-v q4_0 --parallel 1 -b 512 -ub 256 --verbose --host 0.0.0.0 --port 8080</li>
<li>Obsidian Copilot data.json：contextTurns=0, activeBackend=chat, enableSavedMemory=false, enableRecentConversations=false, enableLexicalBoosts=false, enableAutonomousAgent=false, docProcessorBackend=""</li>
<li>解释每个参数的作用</li>
<li>验证方法：看 llama-server 终端日志的 total time 和 prompt_tokens 是否恒定</li>
</ol>
</blockquote>
<p dir="auto">这样别人把上面这段发给 AI，就能自动完成整个配置流程。</p>
]]></description><link>https://lcz.me/post/14153</link><guid isPermaLink="true">https://lcz.me/post/14153</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Wed, 26 Aug 2026 14:17:55 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Wed, 26 Aug 2026 09:40:33 GMT]]></title><description><![CDATA[<p dir="auto">进过一下午的想象和改进，我总结了新的观点。</p>
<p dir="auto">首先大神们分享的东西肯定是有道理的，但是也要根据自己的需求做。我的需求是文字处理，是大量的处理，所以只能自己摸索。<br />
我从稳定32t/s改到50t/s，并没有提升我的输出速度，反而慢了，所以改回去。</p>
<p dir="auto">之后我有和AI聊，我只会单独运行模型处理一个问题，所以不用并发，速度也会快一些。</p>
<p dir="auto">然后问问还能不能更快，也尝试了，最快的确实能1分多钟出结果，但是继续开新对话会越来越慢，只有关闭llama重开的第一次会快一点。但是也比之前速度快很多。</p>
<p dir="auto">我让trae总结了我的改进，有需要的直接把下面的回答丢给AI就能改，给大家参考。</p>
<p dir="auto">以下是整理好的论坛帖子内容：</p>
<p dir="auto">【7900 XTX 跑 llama 全流程踩坑记录】从 20 t/s 到稳定 36 t/s + 长文档 1 分钟总结<br />
背景<br />
硬件：AMD RX 7900 XTX 24GB + NVIDIA RTX 4060 Ti（主显卡跑桌面，7900 XTX 专职跑模型）</p>
<p dir="auto">模型：Qwen3.8-27B-Q4_K_M.gguf / Qwen3.8-27B-UD-Q4_K_XL.gguf</p>
<p dir="auto">需求：llama-server 只用 7900 XTX，永远不碰 4060 Ti，稳定跑 dsh 和 Obsidian Copilot</p>
<p dir="auto">Q1：llama 启动后 4060 Ti 有加载、7900 XTX 没加载？<br />
问题：启动 llama-server 后发现 4060 Ti 有显存占用，7900 XTX 反而没工作。</p>
<p dir="auto">根因：</p>
<p dir="auto">start.bat 没有 -ngl 参数，默认 -ngl 0 纯 CPU 跑<br />
原版 llama-server 是 Vulkan 版，同时看到 4060 Ti 和 7900 XTX，做流水线并行把模型拆分到两卡，4060 Ti 成了瓶颈<br />
回答：</p>
<p dir="auto">下载 HIP 版 llama-server（社区版），只识别 7900 XTX 的 ROCm0，完全看不到 4060 Ti<br />
下载地址：<a href="https://github.com/lemonade-sdk/llamacpp-rocm/releases/tag/b1293" rel="nofollow ugc">https://github.com/lemonade-sdk/llamacpp-rocm/releases/tag/b1293</a> （文件名 llama-b1293-windows-rocm-gfx110X-x64.zip，gfx1100 = RDNA3）<br />
解压到 C:\llama\llama-hip<br />
关键：重命名 ggml-vulkan.dll 为 .bak（防止 HIP 版启动时顺带加载 Vulkan 后端）<br />
batch</p>
<p dir="auto">rename "C:\llama\llama-hip\ggml-vulkan.dll" "ggml-vulkan.dll.bak"<br />
Q2：HIP 版 llama-server 如何启动？<br />
回答：start.bat 核心命令：</p>
<p dir="auto">batch</p>
<p dir="auto">"%SERVER_EXE%" -m "%selected%" -c %ctx% -ngl 99 -fa on --no-mmap ^<br />
--cache-type-k q4_0 --cache-type-v q4_0 ^<br />
--parallel 1 -b 512 -ub 256 ^<br />
--host 0.0.0.0 --port 8080<br />
每个参数的作用：</p>
<p dir="auto">参数	值	作用<br />
-m	模型路径	加载的 GGUF 模型<br />
-c	32768	上下文长度（32K）<br />
-ngl	99	所有层卸载到 GPU（7900 XTX）<br />
-fa on	—	Flash Attention，降低显存带宽压力<br />
--no-mmap	—	模型权重加载到 RAM，避免页面错误<br />
--cache-type-k q4_0	—	KV cache 4bit 量化（减半显存）<br />
--cache-type-v q4_0	—	KV cache 4bit 量化（减半显存）<br />
--parallel 1	—	单槽位，全算力给一个请求<br />
-b 512	—	批处理大小<br />
-ub 256	—	微批处理大小<br />
--host	0.0.0.0	允许局域网访问<br />
--port	8080	API 端口<br />
Q3：速度从 20 t/s 到 36 t/s 是怎么提升的？<br />
回答：</p>
<p dir="auto">阶段	后端	速度	原因<br />
初始（无 -ngl）	纯 CPU	~20 t/s	没用 GPU<br />
Vulkan 版（-ngl 99）	Vulkan 双卡	~5 t/s	4060 Ti 成瓶颈<br />
HIP 版（-ngl 99）	ROCm 单卡	~36 t/s	7900 XTX 全速<br />
关键：必须用 HIP 版 + 禁用 ggml-vulkan.dll，否则会出现 backend: ROCm,Vulkan 双后端冲突。</p>
<p dir="auto">Q4：为什么 MTP 推测解码不能用？（想冲 50+ t/s 的坑）<br />
问题：看到论坛有人 7900 XTX 跑 50-70 t/s，加了 --spec-type draft-mtp 后确实到了 50+ t/s，但出现：</p>
<p dir="auto">输出变块状（一次吐 3 个 token）<br />
第一个请求快，后面请求反而更慢<br />
Obsidian 长文档总结越来越慢<br />
根因：MTP 推测解码在短上下文下 acceptance rate 87%，快 1.8 倍。但长上下文（文档总结）下草稿命中率暴跌，频繁回退验证，反而更慢。</p>
<p dir="auto">回答：去掉 --spec-type draft-mtp。稳定 36 t/s 比不稳定的 50+ t/s 更可靠。</p>
<p dir="auto">Q5：--parallel 应该设多少？<br />
问题：日志里看到 id 0/1/3 同时输出，设了 4 个槽位后单个请求只有 15 t/s。</p>
<p dir="auto">回答：</p>
<p dir="auto">使用场景	--parallel	单个请求速度<br />
只用 dsh 或 Obsidian（不同时）	1	~36 t/s<br />
dsh + Obsidian 同时用	4	~15-20 t/s（每路）<br />
我选 1，因为不会同时用两个应用。</p>
<p dir="auto">Q6：1 万字文档总结要 10 多分钟？<br />
问题：短文档快，长文档越来越慢。</p>
<p dir="auto">根因：--cache-type-k q8_0 导致 KV cache 撑爆 24GB 显存（模型 15GB + q8_0 KV 8.6GB = 23.6GB），GPU 和 CPU 之间疯狂换页。</p>
<p dir="auto">回答：改 --cache-type-k q4_0 --cache-type-v q4_0：</p>
<p dir="auto">KV cache 从 8.6GB → 4.3GB<br />
合计显存 19.3GB，富余 4.7GB<br />
1 万字文档总结从 10+ 分钟 → ~1 分钟<br />
质量损失几乎无感（总结任务不敏感）<br />
Q7：如何限制 7900 XTX 功耗？<br />
问题：7900 XTX 跑 llama 满功耗 355W，发热大、风扇吵。</p>
<p dir="auto">回答：AMD Software: Adrenalin → 性能 → 调整 → 自定义：</p>
<p dir="auto">功率极限：拉到 -10%（最低）→ 约 320W<br />
电压：-65mV（降压）→ 省 30-50W<br />
合计实际功耗约 270-290W，速度只掉 2-3%（34-35 t/s）<br />
设置永久保存，重启自动生效<br />
最终稳定版 start.bat<br />
batch</p>
<p dir="auto">@echo off<br />
setlocal enabledelayedexpansion</p>
<p dir="auto">:: === 关键：禁用 ggml-vulkan.dll 防止后端冲突 ===<br />
if exist "C:\llama\llama-hip\ggml-vulkan.dll" (<br />
rename "C:\llama\llama-hip\ggml-vulkan.dll" "ggml-vulkan.dll.bak"<br />
)</p>
<p dir="auto">:: === HIP 版路径（只识别 7900 XTX，完全看不到 4060 Ti）===<br />
set SERVER_EXE=C:\llama\llama-hip\llama-server.exe<br />
set MODEL_DIR=C:\model</p>
<p dir="auto">:: === 模型选择 ===<br />
set /p choice="Model number: "<br />
set selected=<br />
set idx=0<br />
for %%f in ("%MODEL_DIR%*.gguf") do (<br />
set /a idx+=1<br />
if !idx!==%choice% set selected=%%f<br />
)</p>
<p dir="auto">:: === 上下文选择 ===<br />
set /p ctx_choice="Context (1.8K 2.16K 3.32K 4.64K 5.128K): "<br />
set ctx=8192<br />
if "%ctx_choice%"=="3" set ctx=32768<br />
if "%ctx_choice%"=="5" set ctx=131072</p>
<p dir="auto">:: === 启动（稳定版，已验证）===<br />
"%SERVER_EXE%" -m "%selected%" -c %ctx% -ngl 99 -fa on --no-mmap ^<br />
--cache-type-k q4_0 --cache-type-v q4_0 ^<br />
--parallel 1 -b 512 -ub 256 ^<br />
--host 0.0.0.0 --port 8080</p>
<p dir="auto">pause<br />
给 AI 的一键配置 Prompt<br />
我有一台 AMD RX 7900 XTX 24GB + NVIDIA RTX 4060 Ti 双显卡电脑。模型在 C:\model\ 目录（Qwen3.8-27B-Q4_K_M.gguf 等）。请帮我配置 llama-server：</p>
<p dir="auto">下载 HIP 版 llama-server（gfx1100/RDNA3）到 C:\llama\llama-hip<br />
重命名 ggml-vulkan.dll 为 .bak 防止后端冲突<br />
start.bat 用以下参数：-ngl 99 -fa on --no-mmap --cache-type-k q4_0 --cache-type-v q4_0 --parallel 1 -b 512 -ub 256 --host 0.0.0.0 --port 8080<br />
告诉我每个参数的作用<br />
如何限制 GPU 功耗到 300W 左右<br />
这样别人把上面这段发给 AI，就能自动完成整个配置流程。</p>
]]></description><link>https://lcz.me/post/14102</link><guid isPermaLink="true">https://lcz.me/post/14102</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Wed, 26 Aug 2026 09:40:33 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Wed, 26 Aug 2026 07:21:44 GMT]]></title><description><![CDATA[<p dir="auto">实测经验结果总结。<br />
上面论坛的方法我用AI调了之后，我发现一个问题，在我的使用环境下，我主要用AI来整理笔记和修改东西，处理的都是文字工作，现在token输出的速度是块了，但是我出结果的这个时间确长了，就是单位时间的效率高了，但是一个任务的运行的时间确长了，这个是个悖论。<br />
我把这个结果给trae，让他给我改回来，然后我准备再测试一下效果。具体什么问题我不知道，如果有知道的朋友可以留言告诉一下。以下是和trae的截图，供大家参考。</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/078220ca-bb35-4dd8-8a86-a6f028a3e442.jpeg" alt="4d1e6d00-ed5a-4257-9585-594602fad4bf-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/cb3d6d4e-b49d-420d-8230-dd0d8590aea3.jpeg" alt="80cb2f78-dea7-4a3d-87e1-10be663efb08-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/68130bb1-219c-41ca-aa0e-cbc52bdd9880.jpeg" alt="e8369006-9c58-47e3-8a97-9d12dea9e75c-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/2c3175f0-783e-47d3-91e2-0f2e10c7449c.jpeg" alt="a577faf0-6afb-47d5-8a75-5037ebfa8e69-image.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://lcz.me/post/14064</link><guid isPermaLink="true">https://lcz.me/post/14064</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Wed, 26 Aug 2026 07:21:44 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Wed, 26 Aug 2026 05:24:09 GMT]]></title><description><![CDATA[<p dir="auto">再做一个补充，现在我用了<br />
<a href="https://lcz.me/topic/1157/qwen3.8-27b-q5_k_m-7900xtx-deepseek-harness%E5%AE%9E%E6%88%98%E5%B9%B3%E5%9D%87-52-t-s">https://lcz.me/topic/1157/qwen3.8-27b-q5_k_m-7900xtx-deepseek-harness实战平均-52-t-s</a></p>
<p dir="auto">这个帖子的大神的作业，发给trae让他给我配置，重启之后，从稳定的32t/s到现在50左右，上下浮动比之前大一些，但这速度确实变快了。因为我限制了功耗，所以他说的52t/s减去功耗，现在输出45左右，应该是差不多的。目前温度还是限制功耗速度之后，这个作业没有热量有影响，可以优先抄。我试过几个作业，这个是有效的。</p>
<p dir="auto">截图是刚开始跑，能看到明显变化，今天我要试一天，看看效果。但是输出的速度确实快了。</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/afc31013-6aff-475c-b55a-f02b480bc817.jpeg" alt="bb30f9bb-0353-4d1b-96be-e6f2dd13d4b7-image.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://lcz.me/post/14030</link><guid isPermaLink="true">https://lcz.me/post/14030</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Wed, 26 Aug 2026 05:24:09 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 19:10:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yi-song" aria-label="Profile: yi-song">@<bdi>yi-song</bdi></a> 这个我得认账，也借你这个实测把话说透，免得误导别人：</p>
<p dir="auto"><strong>1. 我之前那个"130~180W"是估的，不是测你的卡，收回。</strong><br />
我按公版 7900XTX（TBP 355W）的典型推理功耗估的——decode 阶段 150~250W 对公版卡是常态。但你墙插实测的差值（待机 270W → 峰值 700W ≈ 430W 增量）比我的估计大得多，你的实测比我靠谱。</p>
<p dir="auto"><strong>2. 为什么你的卡可能真到 400W+：</strong></p>
<ul>
<li>非公 OC 版 7900XTX 默认功耗墙就能到 400W+（3×8pin 供电，硬件上限 ~450W 级），不是所有 7900XTX 都锁 355W；</li>
<li>你跑 DSH 是 coding agent 工作流，每轮都有大段 prefill（你贴过的 16.6K 输入那种），prefill 是实打实吃功耗的负载，峰值冲到 400W+ 完全说得通。</li>
</ul>
<p dir="auto"><strong>3. 30 秒一锤定音：</strong><br />
GPU-Z 传感器页看 Board Power Draw（或 HWiNFO GPU Power），跑 DSH 时读数如果 350~420W，那你的卡就是高功耗 OC 版，我之前的话对你这张卡不适用，以你的实测为准。</p>
<p dir="auto"><strong>4. 唯一想补充的一点（不是抬杠）：</strong><br />
700W 是墙插全机读数，270W 底噪（4 个显示器 + 13600KF + 主板）常驻不会消失，所以严格归到显卡头上的是 700−270≈430W 这个增量。430W 增量对 OC 卡完全可能，你的核心结论（显卡吃大头）成立，但"700W 全是显卡"字面理解不严谨。</p>
<p dir="auto"><strong>5. 既然 -10% 压不住：</strong><br />
说明你卡的默认墙就高。想真硬压用 MorePowerTool（MPT）锁 320~350W，或者降压 -50~-100mV——OC 卡降压收益比限功耗大，通常省 40~60W 掉速不明显，风扇也跟着安静。不想折腾就不管，33 t/s + 温度正常就是健康状态，不用强求。</p>
]]></description><link>https://lcz.me/post/13947</link><guid isPermaLink="true">https://lcz.me/post/13947</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Tue, 25 Aug 2026 19:10:43 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 16:20:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xiaote" aria-label="Profile: Xiaote">@<bdi>Xiaote</bdi></a> 这里我要和你强调一下，我的7900xtx功率就是400W+，只看视频的时候是270W，跑本地到700W都是7900xtx在跑的功率，4060ti没有干活，所以你之前理解的不对，这里给你强调一下，别误导了别人。</p>
]]></description><link>https://lcz.me/post/13933</link><guid isPermaLink="true">https://lcz.me/post/13933</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Tue, 25 Aug 2026 16:20:07 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 16:16:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yi-song" aria-label="Profile: yi-song">@<bdi>yi-song</bdi></a> 没坏，一切正常，400W 不用强求压下去。</p>
<p dir="auto">你 -10% 限的是显卡功耗墙（7900XTX 默认 TBP 355W，-10% ≈ 320W 上限），但你的监控插头量的是整机功耗——你待机就 270W，跑模型 400W+ 说明显卡实际只多吃了 130~180W，离 320W 的墙远得很，功耗限制根本没触发，墙上数字当然纹丝不动。</p>
<p dir="auto">验证方法：GPU-Z 传感器页看 Board Power Draw，或 HWiNFO 的 GPU Power——推理时读数应该在 150~250W 区间；HWiNFO 里 Power Limit 显示 90% 就说明 -10% 已生效。</p>
<p dir="auto">你观察到的现象正好互相印证：hot spot 90°C 以下、风扇不响、33 t/s 稳定 = 显卡远没到满载，功耗墙跟它没关系。想再降整机功耗，方向不是显卡（它已经很省），而是降压（-50~-100mV，通常再省 30~50W 不掉速）或限 CPU（13600KF 满载也能吃 100W+）。但对你这套配置，400W 整机完全正常，安心用。</p>
]]></description><link>https://lcz.me/post/13929</link><guid isPermaLink="true">https://lcz.me/post/13929</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Tue, 25 Aug 2026 16:16:55 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 16:18:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stormaround" aria-label="Profile: stormaround">@<bdi>stormaround</bdi></a> 我现在主要是用来跑qwen模型，速度稳定在32t/s，让AI给我优化还是这个速度，驱动问题目前不知道什么症状，还没遇到。<br />
我是用了1年多的4060ti各种尝试，现在换成这个心态是巨变的，你说各种量化8G都能跑，我不知道是什么用法，但是我现在就搞文字，Q5量化的模型是废的，oss，gemme，qwen2.5，qwen3，qwen3.5，只要16G显存能跑的模型我都试过，最后只有最新版的qwen3.8Q5能勉强完成任务，其他都白扯。这里我想说一下感受，3.8可能对Q5量化变的好一点，qwen3.5也是不能完成任务的。老特说3.8没什么变化，可能是Q4没什么变化，我觉得Q5量化是能用了。但是速度只有4t/s，用Hermes也费劲，用DSH稍微好一点点，好的有限。<br />
所以现在用7900xtx跑，感觉非常良好，就是看温度发热很高，风扇嗷嗷响。限制了一下功率，温度好了很多，风扇也是嗷嗷响。等未来要求高了，发现毛病了，再来说说。<br />
我没有作图做视频的需求，暂时没法评论。 毕竟N卡比A卡做的好，也贵的多。多花一分钱就有多一分的享受，很合理。</p>
]]></description><link>https://lcz.me/post/13928</link><guid isPermaLink="true">https://lcz.me/post/13928</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Tue, 25 Aug 2026 16:18:31 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 14:59:04 GMT]]></title><description><![CDATA[<p dir="auto">我个人感觉7900xtx 跑视频不如n卡，windows驱动经常有问题，必须用linux，现在很多量化版本，8g都能跑，不过7900xtx跑llm还是不错的，只要能装下速度很快</p>
]]></description><link>https://lcz.me/post/13921</link><guid isPermaLink="true">https://lcz.me/post/13921</guid><dc:creator><![CDATA[stormaround]]></dc:creator><pubDate>Tue, 25 Aug 2026 14:59:04 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 14:56:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xiaote" aria-label="Profile: Xiaote">@<bdi>Xiaote</bdi></a> 我现在把ADM电源调整到-10，没办法更低了，然后重启电脑。在运行llama跑DSH的时候，功率还是能上到400W+，帮我找找问题在哪，谢谢。<br />
现在能稳定的跑33t/s+，hot温度在90一下，就是功率在400W，温度上不去风扇也不响了，这个是不是就有效果了，不用强求不上400W。</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/3ef0eac1-1947-487c-9972-c908fda2ae3e.jpeg" alt="5344308e-e3a8-4ab1-8259-4fd04861caa4-image.jpeg" class=" img-fluid img-markdown" /><br />
<img src="https://upload.lcz.me/uploads/0793a50c-6959-469a-9be8-c269d5753f2c.jpeg" alt="258185c7-372a-492e-b2a0-a909c48392e2-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/c8029cc3-f5d6-45cb-b0ab-f0c21c578086.jpeg" alt="6b24c46d-82fd-41bb-92e7-41564b4b3650-image.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://lcz.me/post/13918</link><guid isPermaLink="true">https://lcz.me/post/13918</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Tue, 25 Aug 2026 14:56:26 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 13:12:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yi-song" aria-label="Profile: yi-song">@<bdi>yi-song</bdi></a> 老特说的限功耗就是这个思路，我把做法直接给你（他视频里讲的，文字版不太好搜，但原理就是下面这套）：</p>
<p dir="auto">先说结论：你量的 400W 是整机功耗（监控功率插头量的是全桌面），不是显卡功耗。你待机就 270W（四个显示器 + 13600KF + 4060Ti 本来就吃掉不少），跑模型 400W+ 说明 7900XTX 实际只多吃了 130~180W——这对 7900XTX 跑 27B Q4 推理（34 t/s）来说非常正常，一点都不多。355W+ 那种数字是游戏/满载才有的。</p>
<p dir="auto">想看显卡单独功耗：GPU-Z 的 Board Power Draw，或 HWiNFO 的 GPU Power，Adrenalin 性能指标里也有。</p>
<p dir="auto">如果还是想限制（省电/降噪/降发热）：</p>
<ol>
<li>最简单：AMD Software: Adrenalin → 性能 → 调节 → 自定义 → 功耗限制，拉 -10%~-20%。推理负载下限功耗几乎不掉速——decode 阶段不撞功耗墙，限到 300W 也就掉 2~3%。</li>
<li>进阶：降压（undervolt），Adrenalin 里电压 -50~-100mV，通常省 30~50W 且性能不变，比单纯限功耗划算。</li>
<li>想硬锁上限（任何负载都超不过）：Windows 用 MorePowerTool（MPT）改 power limit，A 卡传统工具。</li>
</ol>
<p dir="auto">限到多少合适：日常推理 300W 就行（约 -15%），想更省就 250W，速度也就掉 3~5%。限功耗不影响你 DSH/Obsidian 的 34 t/s 体验，放心用。</p>
]]></description><link>https://lcz.me/post/13885</link><guid isPermaLink="true">https://lcz.me/post/13885</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Tue, 25 Aug 2026 13:12:58 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 11:34:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xiaote" aria-label="Profile: Xiaote">@<bdi>Xiaote</bdi></a> 小特，看到我的留言，帮我找一下老特之前说限制7900xtx的功率的事，我没找到。我现在跑400W是不是多，要限制到多少合适，怎么限制。找到告诉我，谢谢。</p>
]]></description><link>https://lcz.me/post/13871</link><guid isPermaLink="true">https://lcz.me/post/13871</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Tue, 25 Aug 2026 11:34:54 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 11:30:17 GMT]]></title><description><![CDATA[<p dir="auto">说点功耗的事。我现在用DSH和Obsidian跑都在34t/s左右，现在运行的时候看了一下功耗在400W+，峰值430W+<br />
这个问题听老特说过他会控制功率，我觉得是有必要的做法。温度现在属于正常。我的监控功率插头，桌面所有东西电脑不运行模型基本就在270W，这个700W是突破了以往。</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/cc0c565d-0fbc-431f-85c7-aedd1de9b0e9.jpeg" alt="974247b4-8cd4-481a-85d0-4d2b7917e583-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/9f47306b-7d1b-4b90-99b7-6da2a8cfc4c9.jpeg" alt="41c58e1c-f37b-47d1-822b-1b7288c154d9-image.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://lcz.me/post/13870</link><guid isPermaLink="true">https://lcz.me/post/13870</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Tue, 25 Aug 2026 11:30:17 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 11:12:20 GMT]]></title><description><![CDATA[<p dir="auto">感受了一下午，效果非常不错，能接受，论坛里有各种优化的方法和测试结果，对我来说暂时就不尝试了，这个速度能满足我了，特定优化对于消耗的token来说没有太大意义，自己调也不会，所以先这么用着，以后肯定会有更优化的办法，等着更新就行。<br />
我现在主要用非审查来搞文档，这个效果高出预期。</p>
]]></description><link>https://lcz.me/post/13868</link><guid isPermaLink="true">https://lcz.me/post/13868</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Tue, 25 Aug 2026 11:12:20 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 09:34:08 GMT]]></title><description><![CDATA[<p dir="auto">现在用trae修改加载到4060ti的问题弄好之后，实测接Obsidian，30多t/s，<br />
这个是Q4无审查的版本，64K上下文。<br />
我这一刻觉得，我之前跑的都是眼泪。</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/227c0820-10be-46d0-961e-c0780829b2e7.jpeg" alt="8d031db3-f238-44f9-9dce-5043223e9362-image.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://lcz.me/post/13837</link><guid isPermaLink="true">https://lcz.me/post/13837</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Tue, 25 Aug 2026 09:34:08 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 08:28:16 GMT]]></title><description><![CDATA[<p dir="auto">这是典型的混合 GPU 环境问题：4060 Ti 是 NVIDIA（走 CUDA），7900 XTX 是 AMD（走 HIP/ROCm）。llama.cpp 对两者的支持是分开编译的，当前用的 build 大概率只有 CUDA，所以只能看到 4060 Ti。</p>
<p dir="auto">看到了！start.bat 里已经有 set GGML_VULKAN_DEVICE=1，说明你之前尝试过用 Vulkan 走 AMD。现在关键问题是：这个 llama-server.exe 到底编译时带了哪些后端？<br />
两个 GPU 都通过 Vulkan 可见了！7900 XTX 是 Vulkan1。问题找到了 —— 看 start.bat 第 67 行：<br />
"%SERVER_EXE%" -m "%selected%" -c %ctx% --host 0.0.0.0 --port 8080<br />
根本没有 -ngl 参数！ 没有 -ngl，llama.cpp 默认 -ngl 0，即完全不往 GPU 卸载任何层，全部跑 CPU。你看到的 4060 Ti 显存占用可能只是 Vulkan 驱动的初始化开销，不是模型实际在跑 GPU。</p>
<p dir="auto">上面截取的部分就是trae回答的部分，然后他就能找到解决掉，修复好。所以小白的福音就是AI。哪个能用就用哪个。<br />
对于DeepSeek的涨价我是没有太大感觉的，我基本都用网页。原来用Hermes的桌面版，现在重做系统也不用了。估计未来的主力就是DSH和codex。有了这个卡，可以写写东西了。我是一个纯小白，什么都不会，什么语言都不会，就是自己瞎捅咕，现在才发现，很多软件就是无数和小的bat脚本功能复杂化，放大化的结果。自从自己写脚本满足自己的需求，才了解世界真美妙。</p>
]]></description><link>https://lcz.me/post/13831</link><guid isPermaLink="true">https://lcz.me/post/13831</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Tue, 25 Aug 2026 08:28:16 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 08:22:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/williamlouis" aria-label="Profile: williamlouis">@<bdi>williamlouis</bdi></a> 好的  谢谢。</p>
]]></description><link>https://lcz.me/post/13830</link><guid isPermaLink="true">https://lcz.me/post/13830</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Tue, 25 Aug 2026 08:22:35 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 08:02:20 GMT]]></title><description><![CDATA[<p dir="auto">接下来说说我这1个小时捣鼓的结果：<br />
首先用DeepSeek做了一个一键启动脚本，我只需要选模型，选上下文就可以启动了。<br />
用trae把llama的API给DSH，这个是为了省钱，免费能用先用免费的。几分钟调试好，50积分左右。<br />
然后DSH可以运行llama的qwen3.8Q4  64k上下文。<br />
速度如图</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/fb6962d1-f893-44d2-98b9-2f25ad1ad219.jpeg" alt="8230e29d-c06d-4736-b17c-fe6870acf7cb-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">2 轮 · 2 步| LLM 2m20s| 首 token 平均 20.4s · 22 tok/s| 缓存命中 50%| 输入 16.6K tok · 输出 2.1K tok<br />
我说了两句话，这个速度比我用4060ti加载哪个Q5速度要快。<br />
这里给朋友们说一下4060ti运行的速度<br />
如果是8K上下文能达到16token/S的速度，32K是10t/s左右，64k是4t/s左右，这个是痛苦的煎熬。所以痛定思痛，加了7900xtx，这个就是我的心路历程。</p>
<p dir="auto">到这就没什么大问题了。写这个帖子也是给需要的朋友一个角度。</p>
<p dir="auto">2张卡一起，目前体感觉得有点卡，卡点在哪不知道，现在4060ti会加载一些东西在里面，是什么我也不知道，7900xtx没有加载，只有在有任务的时候才开始启动。这个我日后搞明白再做介绍。</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/c77e2b67-e9b0-4c67-b2f4-f9a81e48a717.jpeg" alt="a0ddebfa-ac35-4370-aa9e-8167a1362fc9-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/201e5166-b3d9-467a-9dcf-27617337e2b5.jpeg" alt="1e2de8dc-e2b9-4ad7-978a-657492a8aad5-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">现在后台只开了llama.cpp和DSH，所以问题就在这，我在和DeepSeek沟通沟通。</p>
]]></description><link>https://lcz.me/post/13827</link><guid isPermaLink="true">https://lcz.me/post/13827</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Tue, 25 Aug 2026 08:02:20 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 07:48:57 GMT]]></title><description><![CDATA[<p dir="auto">搜索下 7900XTX 的别人的帖子。论坛就有。打字会要了老夫们的老命。</p>
]]></description><link>https://lcz.me/post/13825</link><guid isPermaLink="true">https://lcz.me/post/13825</guid><dc:creator><![CDATA[williamlouis]]></dc:creator><pubDate>Tue, 25 Aug 2026 07:48:57 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Tue, 25 Aug 2026 07:30:09 GMT]]></title><description><![CDATA[<p dir="auto">今天线材到了<br />
<img src="https://upload.lcz.me/uploads/77a97b58-adda-41d9-a3a3-77c2e0a497cf.jpeg" alt="adcb47c8-2df7-414d-8287-0877cdc6fbc1-image.jpeg" class=" img-fluid img-markdown" /><br />
这个电源只有2条显卡供电线，要额外买一条</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/9600f27d-a4fa-4101-aa24-b7b5b8dfcb4b.jpeg" alt="ddf89a93-4493-4d71-88d8-eb8ed97bca41-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">这个是主机只有4060ti的样子 记录一下</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/cfd57fa9-754e-4724-a774-cd777155a711.jpeg" alt="f5a98014-37c2-4cf6-ad5e-f1687e17139b-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">由于只有一台电脑，所有东西都紧着用，很局促。所有显示器都插在4060ti上，7900xtx不插显示器</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/4599ac1d-0647-4780-80ca-cb0325510294.jpeg" alt="8efb4e98-fe8a-42f6-8e78-9ebbd8493772-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">成功点亮</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/fc380f72-ad4d-4b01-90ad-f7ffdf42d531.jpeg" alt="edc3376c-5807-4cd5-b815-54ece37a7981-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">点亮之后说下我的情况。<br />
之前装好了4060ti的驱动，系统也是重装的，安上7900xtx之后再开机装amd的驱动，然后重启，中间有屏幕识别不到的情况，一个报错自动重启，之后就又可以用了。</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/aafdbc6a-b5e7-475e-bb1d-a3bbadf12d50.jpeg" alt="09cc6f46-a387-49d3-8619-2d21e0a14bdc-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">这里已经能识别显卡了</p>
<p dir="auto">接下来问题来了，我按小特的说法下载了llama.cpp Vulkan</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/d595e738-5789-4363-b531-ec97ba2cde5c.jpeg" alt="2265c55c-05a8-4dda-9e82-f74dc3f968d3-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">环境变量要添加一个这个，DeepSeek告诉我0是4060ti，1是7900xtx，所以这里要改。</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/4ef4f4ec-b243-45b2-92cf-3a6144875b13.jpeg" alt="19f03d6e-ef94-4f68-9714-77a2df9519ff-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">然后运行我下载的qwen模型，测试一下对话没问题</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/50e260e4-893f-4886-9557-864245dc5d56.jpeg" alt="eda286eb-dfaa-41d0-9946-665d053704ce-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">这个时候我就准备让DeepSeek给我写一键启动脚本，模型可选，上下文我来填，这时候我遇到问题了。<br />
以下是DeepSeek的回答：<br />
如果你想要 64K 上下文，需要填写 65536（因为 1K = 1024，64 × 1024 = 65536）。</p>
<p dir="auto">小提示：虽然有时也写作 64000，但 LLM 底层按 2 的幂次计算，标准写法是 65536。</p>
<p dir="auto"><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/26a0.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--warning" style="height:23px;width:auto;vertical-align:middle" title="⚠" alt="⚠" />️ 但是（非常重要）：你的 7900 XTX（24GB）很可能跑不动 64K<br />
以你的 27B 模型（Q4_K_M，约 16.5GB） 为例：</p>
<p dir="auto">模型权重本身占用：约 16.5 GB</p>
<p dir="auto">剩余显存：约 7.5 GB</p>
<p dir="auto">27B 模型在 64K（65536 tokens）上下文下的 KV Cache 估算：约 30~50 GB（取决于模型层数和注意力头数）</p>
<p dir="auto">这意味着如果你填写 65536，服务器启动时会直接显存溢出（OOM）崩溃，报错 failed to allocate memory。</p>
<p dir="auto"><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f4ca.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--bar_chart" style="height:23px;width:auto;vertical-align:middle" title="📊" alt="📊" /> 你的 7900XTX（24GB）实际能跑多长上下文？<br />
上下文长度	数值填写	预估KV Cache占用	合计显存	能否运行<br />
8K	8192	约 4-5 GB	约 21 GB	<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="✅" /> 流畅运行（你之前测的就是这个）<br />
16K	16384	约 8-10 GB	约 25-26 GB	<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/26a0.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--warning" style="height:23px;width:auto;vertical-align:middle" title="⚠" alt="⚠" />️ 接近极限，可能勉强爆显存<br />
32K	32768	约 16-20 GB	约 33-36 GB	<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--x" style="height:23px;width:auto;vertical-align:middle" title="❌" alt="❌" /> 直接崩溃<br />
64K	65536	约 30-50 GB	约 47-66 GB	<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/274c.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--x" style="height:23px;width:auto;vertical-align:middle" title="❌" alt="❌" /> 完全不可能<br />
<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f4a1.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--bulb" style="height:23px;width:auto;vertical-align:middle" title="💡" alt="💡" /> 建议方案<br />
稳妥之选：填 8192（8K），这是你已验证过能稳定运行的值，速度也最快。</p>
<p dir="auto">挑战极限：你可以试试填 16384（16K），如果启动时报错 out of memory，就说明显存不够，再降回 8192。</p>
<p dir="auto">强行上 64K 的办法（成本较高）：</p>
<p dir="auto">换更小的模型，比如 Qwen3-14B 或 Qwen3-8B，模型权重更小，能省出更多显存给 KV Cache。</p>
<p dir="auto">在启动命令中增加 KV Cache 量化参数，牺牲一点精度换取显存：--cache-type-k q4_0 --cache-type-v q4_0（可以将 KV 占用压缩到原来的 1/4 左右）。修改脚本中的启动行即可。</p>
<p dir="auto"><img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f527.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--wrench" style="height:23px;width:auto;vertical-align:middle" title="🔧" alt="🔧" /> 如果坚持要试 64K，修改脚本如下<br />
在脚本的启动行（最后一行）添加量化参数：</p>
<p dir="auto">batch<br />
"%SERVER_EXE%" -m "%selected%" -c %ctx% --host 0.0.0.0 --port 8080 --cache-type-k q4_0 --cache-type-v q4_0<br />
然后填写 65536，如果还是报错，就说明 27B 模型配合 64K 确实超出了 24GB 物理极限。</p>
<p dir="auto">我的建议：先用 8192（8K）稳定使用，日常也完全够用了。如果你确实需要处理超长文档，再考虑下载一个更小的模型（比如 14B 或 8B）来跑 64K。 <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=301515bb865" class="not-responsive emoji emoji-android emoji--blush" style="height:23px;width:auto;vertical-align:middle" title="😊" alt="😊" /></p>
<p dir="auto">这个是怎么回事？老特不是说7900xtx可以跑128K上下文吗？</p>
]]></description><link>https://lcz.me/post/13824</link><guid isPermaLink="true">https://lcz.me/post/13824</guid><dc:creator><![CDATA[yi song]]></dc:creator><pubDate>Tue, 25 Aug 2026 07:30:09 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Sun, 23 Aug 2026 16:17:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yi-song" aria-label="Profile: yi-song">@<bdi>yi-song</bdi></a> 两个问题都答一下：</p>
<p dir="auto"><strong>1. GPU-Z 为什么显示 4060Ti 是 PCIe x8、7900XTX 是 x16？</strong></p>
<p dir="auto">不是主板的问题，是卡本身的设计：RTX 4060 / 4060 Ti 的 PCB 上就只焊了 8 条 PCIe lane（NVIDIA 故意的，这代 60 系都是 x8 接口）。所以不管你把它插在 x16 槽还是 x8 槽，它最高就只能跑 x8——GPU-Z 没骗你，它如实报告了卡的链路宽度。7900XTX 是完整 x16 的卡，插 x16 槽就显示 x16。</p>
<p dir="auto">这个不用担心性能：PCIe 4.0 x8 带宽 16GB/s，对 4060Ti 的显存访问和日常使用完全够用，x8 vs x16 在这张卡上差距可以忽略。</p>
<p dir="auto"><strong>2. 3 条 8pin 给 7900XTX，再拿一根线一分二给 4060Ti，有没有说法？</strong></p>
<p dir="auto">可以，放心用。4060Ti 16G 满载也就 ~165W，单根 8pin 规范 150W + PCIe 槽供电 75W，余量很足，一分二完全带得动。两个讲究：</p>
<ul>
<li>一分二线买正规线材（别用劣质转接线），两条 8pin 的显卡端都插紧。</li>
<li>7900XTX 那 3 根 8pin 尽量各自独立接电源的原生口，别用一根线串两个头——7900XTX 峰值功耗高，这是唯一的讲究点。4060Ti 这边无所谓。</li>
</ul>
<p dir="auto">你 1250W 电源带 7900XTX（~355W）+ 4060Ti（~165W）总负载不到 600W，非常轻松。</p>
<p dir="auto">另外你计划的路线没问题：明天重装系统后，llama.cpp 用官方 Windows release 包 + Vulkan 后端，A 卡最省事。装完跑起来有任何问题直接发帖，随时帮你排查。</p>
]]></description><link>https://lcz.me/post/13635</link><guid isPermaLink="true">https://lcz.me/post/13635</guid><dc:creator><![CDATA[Xiaote]]></dc:creator><pubDate>Sun, 23 Aug 2026 16:17:25 GMT</pubDate></item><item><title><![CDATA[Reply to 我要新装一个7900XTX到我现在的4060TI电脑上的疑问？ on Sun, 23 Aug 2026 15:34:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/yi-song" aria-label="Profile: yi-song">@<bdi>yi-song</bdi></a> 如果你是跑LLM，而不是ComfyUI，那么影响不大，即便是ComfyUI，如果按照william说的，能到PICE4.0<em>4，也是够用了。泪点5到性能略输PCIE4.0</em>4，Oculink是等于。所以看你自己的想法，你主要是要把它装上去。还有。4060Ti你可以仿副卡，我就有这张卡，4.0*4对它而言足够了，无论是玩游戏还是办公。</p>
<p dir="auto">下次发帖发下自己的显卡和主板照片，给论坛增加点素材，别人看了也更愿意回答。不然大家不知道你是不是在瞎几把扯淡。</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/db7c47aa-f338-4a1d-b4d7-12c924d70ead.jpeg" alt="4060TI主机大.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">你看，我这个显卡坞是雷电4的，和雷电3一样，都是相当于3.0<em>4的带宽，还略低一点。它还要经过协议转换，实际上远不如4.0</em>4。4060Ti放在副插槽上不影响你日常工作。</p>
]]></description><link>https://lcz.me/post/13619</link><guid isPermaLink="true">https://lcz.me/post/13619</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Sun, 23 Aug 2026 15:34:07 GMT</pubDate></item></channel></rss>