<?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[Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s]]></title><description><![CDATA[<h2>软硬件配置：</h2>
<p dir="auto">cpu： AMD Ryzen 5 5600<br />
RAM： 32GB 3200<br />
GPU： 7900xtx<br />
OS： Ubuntu 26.04<br />
软件 ： llama.cpp + vulkan<br />
版本：</p>
<pre><code>   version: 9737 (67e9fd3b7)
   built with GNU 15.2.0 for Linux x86_64
</code></pre>
<h2>测试：</h2>
<ol>
<li>llama.cpp 自带webui 创建打飞机游戏<br />
提示词：</li>
</ol>
<pre><code>"Create a complete, fully functional 2D space shooter arcade game inside a single HTML file using HTML5 Canvas, CSS, and vanilla JavaScript.        
**Requirements:**        
        
1.  **Canvas &amp; Layout:** Set up a centered 800x600 black canvas with a retro arcade UI showing the current score and remaining lives at the top.        
            
2.  **Player Ship:** Draw a distinct player ship at the bottom center. Allow smooth movement left and right using the Arrow Keys or A/D keys, constrained within the canvas bounds.        
            
3.  **Shooting Mechanics:** Pressing the Spacebar should fire a laser projectile upward from the player's position. Implement a brief cooldown between shots.        
            
4.  **Enemies:** Spawn alien ships or asteroids at random X coordinates along the top, moving downward at varying speeds.        
            
5.  **Collision Detection:** Write precise collision logic for bullets hitting enemies (destroying both and adding points) and enemies hitting the player or bottom screen (losing a life).        
            
6.  **Game Loop &amp; States:** Include smooth requestAnimationFrame logic, a 'Game Over' screen, and a 'Restart' button functionality. Clean, well-commented code only."
</code></pre>
<p dir="auto">日志</p>
<pre><code>1.47.020.662 I slot print_timing: id  1 | task 0 | n_decoded =   5409, tg =  89.47 t/s, tg_3s =  71.71 t/s
1.47.476.673 I slot print_timing: id  1 | task 0 | prompt eval time =     519.21 ms /   262 tokens (    1.98 ms per token,   504.61 tokens per second)
1.47.476.677 I slot print_timing: id  1 | task 0 |        eval time =   60909.77 ms /  5440 tokens (   11.20 ms per token,    89.31 tokens per second)
1.47.476.677 I slot print_timing: id  1 | task 0 |       total time =   61428.98 ms /  5702 tokens
1.47.476.681 I slot print_timing: id  1 | task 0 |    graphs reused =       1480
1.47.476.684 I slot print_timing: id  1 | task 0 | draft acceptance = 0.87497 ( 3940 accepted /  4503 generated), mean acceptance length =  3.62, acceptance rate per position = (0.943, 0.875, 0.806)

</code></pre>
<ol start="2">
<li>配合 Deepseek Harness 修改QT + C++ 项目 SimulIDE， 使其能在apple silicon上运行，并修改Qt 文本框输入bug</li>
</ol>
<p dir="auto">llama.cpp 日志中的一段</p>
<pre><code>32.32.489.805 I slot print_timing: id  1 | task 10430 | prompt eval time =   17284.15 ms /  4098 tokens (    4.22 ms per token,   237.10 tokens per second)
32.32.489.807 I slot print_timing: id  1 | task 10430 |        eval time =    5461.48 ms /   277 tokens (   19.72 ms per token,    50.72 tokens per second)
32.32.489.808 I slot print_timing: id  1 | task 10430 |       total time =   22745.63 ms /  4375 tokens
32.32.489.808 I slot print_timing: id  1 | task 10430 |    graphs reused =       9929
32.32.489.811 I slot print_timing: id  1 | task 10430 | draft acceptance = 0.89333 (  201 accepted /   225 generated), mean acceptance length =  3.68, acceptance rate per position = (0.960, 0.893, 0.827)

</code></pre>
<p dir="auto">DSH 摘要：</p>
<pre><code> 63歩ILLM 13m13S・工具週用 2m2s｜首token 平均3.8s・52 tok/s|緩存命中98%1輸入 4.4M tok・輸出 29.2K tok
</code></pre>
<h2>llama.cpp运行参数：</h2>
<pre><code>-t 10 
-b 512 
-ub 256 
--spec-draft-n-max 3 
--fit off 
--no-context-shift 
--metrics 
--kv-unified 
--jinja 
--cache-type-k q8_0 
--cache-type-v q8_0 
-fa on 
--spec-type draft-mtp 
--ctx-size 131072 
--parallel 2 
-ngl -1 
--host 0.0.0.0 
--port 8080 
--chat-template-kwargs {"enable_thinking": true, "preserve_think": false, "reasoning_effort": "medium"} 
--no-mmap 
--temp 0.6 
--top-p 0.5 
--top-k 15 
--repeat-penalty 1.0 
--override-tensor blk\.\d+\.ffn_.*_exps\.=CPU 
--alias qwen3.8-27b-q5 
</code></pre>
]]></description><link>https://lcz.me/topic/1157/qwen3.8-27b-q5_k_m-7900xtx-deepseek-harness实战平均-52-t-s</link><generator>RSS for Node</generator><lastBuildDate>Sat, 22 Aug 2026 00:31:25 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/1157.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Aug 2026 07:32:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Wed, 19 Aug 2026 14:48:20 GMT]]></title><description><![CDATA[<p dir="auto">感谢分享，学习中。。。</p>
]]></description><link>https://lcz.me/post/12931</link><guid isPermaLink="true">https://lcz.me/post/12931</guid><dc:creator><![CDATA[Enigma]]></dc:creator><pubDate>Wed, 19 Aug 2026 14:48:20 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Wed, 19 Aug 2026 03:31:49 GMT]]></title><description><![CDATA[<p dir="auto">关于--parallel 2 的测试</p>
<p dir="auto">软硬件环境：<br />
cpu： AMD Ryzen 7 9700X<br />
RAM：DDR5 64GB 6000<br />
GPU：R9700 32G<br />
OS： Ubuntu 24.04<br />
软件 ： llama.cpp + vulkan</p>
<p dir="auto">结论：将并行设为1或者2，大部分情况下，性能变化属于正常波动，没有明显差别。</p>
<p dir="auto">但是，即使有32G显存，有些任务还是会报以下错误：<br />
26.48.401.777 E init_batch: failed to prepare attention ubatches<br />
26.48.401.778 W decode: failed to find a memory slot for batch of size 16<br />
26.48.401.779 W srv        decode: failed to find free space in the KV cache, retrying with smaller batch size, off = 190, n_batch = 8, ret = 1<br />
26.48.403.275 E init_batch: failed to prepare attention ubatches<br />
26.48.403.277 W decode: failed to find a memory slot for batch of size 8<br />
26.48.403.277 W srv        decode: failed to find free space in the KV cache, retrying with smaller batch size, off = 190, n_batch = 4, ret = 1<br />
虽然使用了 --cache-type-k/v q8_0 做 KV 量化来节省显存，但是 128K 的超长上下文，加上 --parallel 2，对 KV Cache 的要求依然极其恐怖。模型权重稳稳地占了 17GB。但当开启并发，且 Prompt 超长时，给 128K 上下文预留的 KV Cache 空间，在高峰期（特别是并发请求时）瞬间耗尽了，导致没有空位给下一个 Token 的生成。<br />
好消息是，llama.cpp不能为KV Cache分配空间，并不会导致崩溃或任务中断（我没有碰到过），只会导致llama.cpp降级重试，严重的情况下会感觉明显卡顿而已，不用过于担心。<br />
所以，用7900XTX的朋友，把并发设为1可能是更好的选择。</p>
]]></description><link>https://lcz.me/post/12847</link><guid isPermaLink="true">https://lcz.me/post/12847</guid><dc:creator><![CDATA[xl]]></dc:creator><pubDate>Wed, 19 Aug 2026 03:31:49 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 15:13:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/laobenxiong" aria-label="Profile: laobenxiong">@<bdi>laobenxiong</bdi></a> 确实，用了你这个q5ks的模型，我的速度终于正常了，也不用关thinking，不知道为什么其他人的q5km可以</p>
]]></description><link>https://lcz.me/post/12775</link><guid isPermaLink="true">https://lcz.me/post/12775</guid><dc:creator><![CDATA[6cccccc]]></dc:creator><pubDate>Tue, 18 Aug 2026 15:13:56 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 14:19:05 GMT]]></title><description><![CDATA[<p dir="auto">感谢楼主. 7900xtx 能跑,不错. 明天试试dsh. 今天dsh+v4pro花了100多, 肉疼(不过确实强, 长链自主调试FPGA, 综合+ila probe+烧写+测试+uart输出分析一条龙, 我基本可以不用管, 花token就行).<br />
<img src="https://upload.lcz.me/uploads/c49690b8-e659-425b-bca5-0f02e629ba4a.jpeg" alt="802712c0-6935-4c19-b583-ca3851ade37f-image.jpeg" class=" img-fluid img-markdown" /></p>
<pre><code>bruin@lmde7 ~ $ ./run-3.8-q5.sh
0.00.035.069 W Setting 'enable_thinking' via --chat-template-kwargs is deprecated. Use --reasoning on / --reasoning off instead.
0.00.035.097 W DEPRECATED: --mmap and --no-mmap are deprecated. use --load-mode mmap instead
0.00.039.005 I cmn  common_param: common_params_print_info: verbosity = 3 (adjust with the `-lv N` CLI arg)
0.00.039.491 W srv  llama_server: -----------------
0.00.039.495 W srv  llama_server: CORS is set to allow all origins ('*') and no API key is set
0.00.039.495 W srv  llama_server: this can be a security risk (cross-origin attacks)
0.00.039.495 W srv  llama_server: more info: https://github.com/ggml-org/llama.cpp/pull/25655
0.00.039.495 W srv  llama_server: -----------------
0.00.040.765 I srv    load_model: loading model '/opt/gguf-models/unsloth/Qwen3.8-27B-GGUF/Qwen3.8-27B-Q5_K_S.gguf'
0.08.836.391 I cmn          init: llama threadpool init, n_threads = 10
0.09.247.607 I common_speculative_init_result: creating MTP draft context against the target model '/opt/gguf-models/unsloth/Qwen3.8-27B-GGUF/Qwen3.8-27B-Q5_K_S.gguf'
0.09.318.357 I srv    load_model: initializing, n_slots = 1, n_ctx_slot = 131072, kv_unified = 'true'
0.09.457.688 I srv          init: chat template supports preserving reasoning, consider enabling it via --reasoning-preserve
0.09.457.746 I srv  llama_server: model loaded
0.09.457.750 I srv  llama_server: listening on http://0.0.0.0:8000
0.31.502.907 I slot get_availabl: id  0 | task -1 | selected slot by LRU, t_last = -1
0.31.503.144 I slot launch_slot_: id  0 | task 0 | processing task, is_child = 0
0.33.674.917 I slot print_timing: id  0 | task 0 | prompt eval time =    1607.08 ms /   333 tokens (    4.83 ms per token,   207.21 tokens per second)
0.33.674.922 I slot print_timing: id  0 | task 0 |        eval time =     564.47 ms /    34 tokens (   17.11 ms per token,    58.46 tokens per second)
0.33.674.923 I slot print_timing: id  0 | task 0 |       total time =    2171.56 ms /   367 tokens
0.33.674.928 I slot print_timing: id  0 | task 0 |    graphs reused =         11
0.33.674.930 I slot print_timing: id  0 | task 0 | draft acceptance = 0.72727 (   24 accepted /    33 generated), mean len =  3.18
0.33.674.999 I slot      release: id  0 | task 0 | stop processing: n_tokens = 368, truncated = 0
0.39.250.971 I slot get_availabl: id  0 | task -1 | selected slot by LCP similarity, f_sim_best = 0.963 (&gt; 0.100 thold), f_keep = 1.000
0.39.251.208 I slot launch_slot_: id  0 | task 16 | processing task, is_child = 0
0.40.592.295 I slot print_timing: id  0 | task 16 | prompt eval time =     368.90 ms /    14 tokens (   26.35 ms per token,    37.95 tokens per second)
0.40.592.303 I slot print_timing: id  0 | task 16 |        eval time =     972.01 ms /    67 tokens (   14.73 ms per token,    67.90 tokens per second)
0.40.592.303 I slot print_timing: id  0 | task 16 |       total time =    1340.91 ms /    81 tokens
0.40.592.305 I slot print_timing: id  0 | task 16 |    graphs reused =         31
0.40.592.307 I slot print_timing: id  0 | task 16 | draft acceptance = 0.71429 (   45 accepted /    63 generated), mean len =  3.14
0.40.592.367 I slot      release: id  0 | task 16 | stop processing: n_tokens = 448, truncated = 0
</code></pre>
<p dir="auto">llama.cpp 我用的最新 b10485; 完全抄作业:</p>
<pre><code>bruin@lmde7 ~ $ cat run-3.8-q5.sh
#!/bin/bash

# ref: 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

LLAMA_SERVER=/home/bruin/llama-server-vulkan-b10485
MAIN_MODEL="/opt/gguf-models/unsloth/Qwen3.8-27B-GGUF/Qwen3.8-27B-Q5_K_S.gguf"
MTMD_MODEL="/opt/gguf-models/unsloth/Qwen3.8-27B-GGUF/mmproj-F16.gguf"
#--mmproj "${MTMD_MODEL}" \

${LLAMA_SERVER} \
--device Vulkan0 \
--model "${MAIN_MODEL}" \
-t 10 \
-b 512 \
-ub 256 \
--spec-draft-n-max 3 \
--fit off \
--no-context-shift \
--metrics \
--kv-unified \
--jinja \
--cache-type-k q8_0 \
--cache-type-v q8_0 \
-fa on \
--spec-type draft-mtp \
--ctx-size 131072 \
--parallel 1 \
-ngl -1 \
--host 0.0.0.0 \
--port 8000 \
--chat-template-kwargs '{"enable_thinking": true, "preserve_think": false, "reasoning_effort": "medium"}' \
--no-mmap \
--temp 0.6 \
--top-p 0.5 \
--top-k 15 \
--repeat-penalty 1.0 \
--override-tensor blk\.\d+\.ffn_.*_exps\.=CPU \
--alias qwen3.8-27b-q5
</code></pre>
<p dir="auto"><img src="https://upload.lcz.me/uploads/8e28fea1-17b4-4594-b26c-4fc8ee558f00.jpeg" alt="b7d3fd10-965f-4fff-86c9-7e0b456f7dd6-image.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://lcz.me/post/12769</link><guid isPermaLink="true">https://lcz.me/post/12769</guid><dc:creator><![CDATA[laobenxiong]]></dc:creator><pubDate>Tue, 18 Aug 2026 14:19:05 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 13:52:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/%E6%87%92%E4%BA%BA%E7%83%98%E5%9F%B9" aria-label="Profile: 懒人烘培">@<bdi>懒人烘培</bdi></a> 嗯，我一会试试，好像开了后，mtp命中率很低</p>
]]></description><link>https://lcz.me/post/12764</link><guid isPermaLink="true">https://lcz.me/post/12764</guid><dc:creator><![CDATA[6cccccc]]></dc:creator><pubDate>Tue, 18 Aug 2026 13:52:09 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 13:49:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/exllm" aria-label="Profile: exllm">@<bdi>exllm</bdi></a> 我一会试试</p>
]]></description><link>https://lcz.me/post/12763</link><guid isPermaLink="true">https://lcz.me/post/12763</guid><dc:creator><![CDATA[6cccccc]]></dc:creator><pubDate>Tue, 18 Aug 2026 13:49:34 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 12:29:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/exllm" aria-label="Profile: exllm">@<bdi>exllm</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/terry" aria-label="Profile: terry">@<bdi>terry</bdi></a> 感谢二位，以为本地部署没啥希望，刚好是7900xtx，简单测试</p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/3b1ac9dd-389b-45ed-b6cd-a62c025d89e6.jpeg" alt="fca927c4-1f8f-4a08-b70c-feeb467a8ba1-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="https://upload.lcz.me/uploads/07369383-7d3c-4913-97df-ee29e8d7f1c8.jpeg" alt="9383fec9-16fa-4792-b1dd-d25cc6dcaad5-image.jpeg" class=" img-fluid img-markdown" /></p>
]]></description><link>https://lcz.me/post/12750</link><guid isPermaLink="true">https://lcz.me/post/12750</guid><dc:creator><![CDATA[Michael Gill]]></dc:creator><pubDate>Tue, 18 Aug 2026 12:29:31 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 12:24:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/6cccccc" aria-label="Profile: 6cccccc">@<bdi>6cccccc</bdi></a><br />
刚才实际测试了，如果开启Thinking了，速度也只有16，把Thinking Off后，速度我就恢复了70了。注意</p>
]]></description><link>https://lcz.me/post/12749</link><guid isPermaLink="true">https://lcz.me/post/12749</guid><dc:creator><![CDATA[懒人烘培]]></dc:creator><pubDate>Tue, 18 Aug 2026 12:24:22 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 12:14:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/exllm" aria-label="Profile: exllm">@<bdi>exllm</bdi></a> 开不开影响都不大，我实测没感觉出来区别，但是有大神测了有区别。</p>
]]></description><link>https://lcz.me/post/12748</link><guid isPermaLink="true">https://lcz.me/post/12748</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Tue, 18 Aug 2026 12:14:08 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 12:13:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/6cccccc" aria-label="Profile: 6cccccc">@<bdi>6cccccc</bdi></a> 你BIOS开above 4G decoding了吗？</p>
]]></description><link>https://lcz.me/post/12747</link><guid isPermaLink="true">https://lcz.me/post/12747</guid><dc:creator><![CDATA[exllm]]></dc:creator><pubDate>Tue, 18 Aug 2026 12:13:38 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 11:58:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/6cccccc" aria-label="Profile: 6cccccc">@<bdi>6cccccc</bdi></a><br />
试试我那参数呢，不应该只有12</p>
]]></description><link>https://lcz.me/post/12742</link><guid isPermaLink="true">https://lcz.me/post/12742</guid><dc:creator><![CDATA[懒人烘培]]></dc:creator><pubDate>Tue, 18 Aug 2026 11:58:34 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 11:53:36 GMT]]></title><description><![CDATA[<p dir="auto">为啥我的启动参数是这样：<br />
-m "$SELECTED_MODEL" -t 10 -b 512 -ub 256<br />
--spec-draft-n-max 3 --fit off --no-context-shift<br />
--metrics --kv-unified --jinja<br />
--cache-type-k q8_0 --cache-type-v q8_0<br />
-fa on --spec-type draft-mtp<br />
--ctx-size 131072 --parallel 1 -ngl -1<br />
--host 0.0.0.0 --port $LLAMA_PORT<br />
--chat-template-kwargs {"enable_thinking": true, "preserve_think": false, "reasoning_effort": "medium"}<br />
--no-mmap --temp 0.6 --top-p 0.5 --top-k 15 --repeat-penalty 1.0<br />
--alias qwen3.8-27b-q5<br />
仍然速度很低，只有12左右<br />
配置如下<br />
cpu： AMD Ryzen 7 2700 Eight-Core Processor (8核16线程, 3.2GHz)<br />
RAM： 64GB DDR4<br />
GPU： AMD Radeon RX 7900 XTX 24GB (RADV NAVI31)<br />
OS： Ubuntu 26.04 LTS (内核 7.0.0-29-generic)<br />
软件 ： llama.cpp Vulkan b10486</p>
]]></description><link>https://lcz.me/post/12741</link><guid isPermaLink="true">https://lcz.me/post/12741</guid><dc:creator><![CDATA[6cccccc]]></dc:creator><pubDate>Tue, 18 Aug 2026 11:53:36 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 11:39:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/exllm" aria-label="Profile: exllm">@<bdi>exllm</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/terry" aria-label="Profile: terry">@<bdi>terry</bdi></a><br />
根据楼主的测试了一下<br />
cpu： AMD Ryzen 5 7500F<br />
RAM：DDR5 32GB 6000<br />
GPU： 7900XTX<br />
OS： Ubuntu 24.04<br />
软件 ： llama.cpp + vulkan</p>
<p dir="auto">先说结果：<br />
<img src="https://upload.lcz.me/uploads/f13bc373-33fa-4b21-a0bc-48922651238a.jpeg" alt="d9100061-f4ce-41c6-a642-6c786631721d-image.jpeg" class=" img-fluid img-markdown" /><br />
llama.cpp运行参数，spec-draft-n-max 3 速度最好：</p>
<pre><code>~/llama_vulkan/bin/llama-server \
-m ~/models/Qwen3.8-27B-Q5_K_M.gguf \
-t 10 \
-b 512 \
-ub 256 \
--spec-draft-n-max 3 \
--fit off \
--no-context-shift \
--metrics \
--kv-unified \
--jinja \
--cache-type-k q8_0 \
--cache-type-v q8_0 \
-fa on \
--spec-type draft-mtp \
--ctx-size 131072 \
--parallel 1 \
-ngl -1 \
--host 0.0.0.0 \
--port 8080 \
--chat-template-kwargs '{"enable_thinking":true,"preserve_think":false,"reasoning_effort":"medium"}' \
--no-mmap \
--temp 0.6 \
--top-p 0.5 \
--top-k 15 \
--repeat-penalty 1.0 \
--alias qwen3.8-27b-q5
</code></pre>
<p dir="auto">llama.cpp运行参数，spec-draft-n-max 2 ：<br />
<img src="https://upload.lcz.me/uploads/03f0ade3-c2a3-42a0-a327-5dfb8400bac3.jpeg" alt="a0024f56-4593-4dff-b3e1-f28a779fa278-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">llama.cpp运行参数，spec-draft-n-max 4 ：<br />
<img src="https://upload.lcz.me/uploads/6751ffc7-b8e6-4ed7-99ce-5bdf16777137.jpeg" alt="990f1775-f067-4cb1-a475-497ac29df862-image.jpeg" class=" img-fluid img-markdown" /></p>
<p dir="auto">总结：</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>参数</th>
<th style="text-align:right">Prompt速度</th>
<th style="text-align:right">生成速度</th>
<th style="text-align:right">平均延迟</th>
<th style="text-align:right">MTP命中率</th>
</tr>
</thead>
<tbody>
<tr>
<td>n=2</td>
<td style="text-align:right"><strong>288.73 t/s</strong></td>
<td style="text-align:right">68.14 t/s</td>
<td style="text-align:right">17.436 s</td>
<td style="text-align:right"><strong>87.62%</strong></td>
</tr>
<tr>
<td><strong>n=3</strong></td>
<td style="text-align:right">286.60 t/s</td>
<td style="text-align:right"><strong>71.74 t/s</strong></td>
<td style="text-align:right"><strong>16.772 s</strong></td>
<td style="text-align:right">82.50%</td>
</tr>
<tr>
<td>n=4</td>
<td style="text-align:right">249.53 t/s</td>
<td style="text-align:right">47.96 t/s</td>
<td style="text-align:right">24.911 s</td>
<td style="text-align:right">74.99%</td>
</tr>
</tbody>
</table>
<p dir="auto">这台电脑n=3最好。<br />
注：修改这个参数是MTP speculative decoding（推测解码）一次最多提前“猜”多少个 token。</p>
]]></description><link>https://lcz.me/post/12736</link><guid isPermaLink="true">https://lcz.me/post/12736</guid><dc:creator><![CDATA[懒人烘培]]></dc:creator><pubDate>Tue, 18 Aug 2026 11:39:48 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 10:27:41 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Wang-Wei <a href="/post/12713">说</a>:</p>
<p dir="auto">抄了作业 只有20-30 t/s 不过我是在win下的 wsl2挂着跑 显存有溢出  换原生Ubuntu太折腾了</p>
</blockquote>
<p dir="auto">我把np从2改到1就可以了，显存不溢出，q5 128k上下文 55t/s 换成q4可以到70 一个slot够我用了</p>
]]></description><link>https://lcz.me/post/12725</link><guid isPermaLink="true">https://lcz.me/post/12725</guid><dc:creator><![CDATA[Wang Wei]]></dc:creator><pubDate>Tue, 18 Aug 2026 10:27:41 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 10:26:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xl" aria-label="Profile: xl">@<bdi>xl</bdi></a> 总之参数大体是对的，我是复制链接给AI自己配置的。它把这一行直接干掉了，效率上和楼主的差不多。</p>
]]></description><link>https://lcz.me/post/12724</link><guid isPermaLink="true">https://lcz.me/post/12724</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Tue, 18 Aug 2026 10:26:54 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 10:15:10 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>
]]></description><link>https://lcz.me/post/12722</link><guid isPermaLink="true">https://lcz.me/post/12722</guid><dc:creator><![CDATA[xl]]></dc:creator><pubDate>Tue, 18 Aug 2026 10:15:10 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 10:10:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xl" aria-label="Profile: xl">@<bdi>xl</bdi></a> 不是巧合，就是应该注释掉</p>
]]></description><link>https://lcz.me/post/12721</link><guid isPermaLink="true">https://lcz.me/post/12721</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Tue, 18 Aug 2026 10:10:50 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 10:10:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kuntask" aria-label="Profile: kuntask">@<bdi>kuntask</bdi></a> 这个是要注释掉的，我也是注释了</p>
]]></description><link>https://lcz.me/post/12720</link><guid isPermaLink="true">https://lcz.me/post/12720</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Tue, 18 Aug 2026 10:10:23 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 10:04:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/exllm" aria-label="Profile: exllm">@<bdi>exllm</bdi></a> 并行改为1后，预填充性能有接近5~10倍的提升（不同的任务变化很大），但生成token的性能提升不到10%。我也将“--override-tensor blk.\d+.ffn_.*_exps.=CPU \”注释掉进行过测试，性能反而有略微下降，可能跟我的硬件和跑的任务也有一定关系。</p>
]]></description><link>https://lcz.me/post/12718</link><guid isPermaLink="true">https://lcz.me/post/12718</guid><dc:creator><![CDATA[xl]]></dc:creator><pubDate>Tue, 18 Aug 2026 10:04:45 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 09:18:28 GMT]]></title><description><![CDATA[<p dir="auto">抄了作业 只有20-30 t/s 不过我是在win下的 wsl2挂着跑 显存有溢出  换原生Ubuntu太折腾了</p>
]]></description><link>https://lcz.me/post/12713</link><guid isPermaLink="true">https://lcz.me/post/12713</guid><dc:creator><![CDATA[Wang Wei]]></dc:creator><pubDate>Tue, 18 Aug 2026 09:18:28 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 09:00:37 GMT]]></title><description><![CDATA[<p dir="auto">抄了作业，跑楼主参数，只有20tokens/s，比较尴尬，经过deepseek了一下，应该是我的CPU有点弱，我将--override-tensor blk.\d+.ffn_.*_exps.=CPU \注释掉了，并将--parallel改成了1，其他参数未动，现在能到60t/s了</p>
]]></description><link>https://lcz.me/post/12710</link><guid isPermaLink="true">https://lcz.me/post/12710</guid><dc:creator><![CDATA[kuntask]]></dc:creator><pubDate>Tue, 18 Aug 2026 09:00:37 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 07:53:01 GMT]]></title><description><![CDATA[<p dir="auto">看视频了。抄作业，已关注。请继续更新。</p>
]]></description><link>https://lcz.me/post/12703</link><guid isPermaLink="true">https://lcz.me/post/12703</guid><dc:creator><![CDATA[williamlouis]]></dc:creator><pubDate>Tue, 18 Aug 2026 07:53:01 GMT</pubDate></item><item><title><![CDATA[Reply to Qwen3.8 27B Q5_K_M + 7900xtx + DeepSeek Harness实战平均 52 t/s on Tue, 18 Aug 2026 07:43:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/xl" aria-label="Profile: xl">@<bdi>xl</bdi></a>  并行设置为1， 估计能到70t/s</p>
]]></description><link>https://lcz.me/post/12700</link><guid isPermaLink="true">https://lcz.me/post/12700</guid><dc:creator><![CDATA[exllm]]></dc:creator><pubDate>Tue, 18 Aug 2026 07:43:14 GMT</pubDate></item></channel></rss>