<?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[交作業～新手初試X99配雙RTX2080ti 22G]]></title><description><![CDATA[<p dir="auto">小弟是個MIS，但因為工作環境其實很久沒有接觸新知，AI火了很多年，直到今年因為體驗過gemini雲端ai感受到AI的強大，後來開始一系列的上網看影片補知識，搭建了第一個agent應用，用hermes做我的生活助理，更是不斷讓我驚奇，之後看到老特說/掄搥者頻道又學到了很多名詞，還有一些本地AI的觀念，目前雖然調整參數什麼的還是不會，但至少有建立起非常基礎的知識了。</p>
<p dir="auto">前面廢話完畢，總之看了老特大神的影片，又來到論壇每天潛水，終於慢慢開始計畫弄自己的AI工作站。首先我先在FB market找到一家動畫工作室，搬走這台又大又重的退役X99工作站</p>
<ul>
<li>CPU：i7-6850K (水冷一體是散熱器)</li>
<li>RAM：DDR4-2666 8G*2</li>
<li>MB：技嘉 GA-X99-ULTRA GAMING</li>
<li>POWER：EVGA 1000 G3 80 GOLD PLUS</li>
<li>SSD：自備samsung pm981a 1TB</li>
</ul>
<p dir="auto">我另外上淘寶買了下面零件</p>
<ul>
<li>E5-2680v4</li>
<li>DDR4-2400 RDIMM 32G*4</li>
<li>RTX 2080Ti 22G *2 (雙散熱器風扇，佔2.5slot)，加上NVLINK 2.0組合</li>
</ul>
<p dir="auto">這幾天終於利用下班時間慢慢升級這台洋垃圾成完全體，也一面跟gemini和hermes討論除錯，總算裝好ubuntu 24.04系統和配好環境。</p>
<p dir="auto">啟動腳本</p>
<pre><code>#!/bin/bash
# llama-server - Qwen3.6-27B MTP-Q5_K_P (雙卡 NVLink)
# 啟動：~/serve-qwen-mtp.sh
# 停止：~/serve-stop.sh

PID_FILE="/tmp/llama-server.pid"
LOG_FILE="/tmp/llama-server.log"

# 如果已經在跑，先關掉
if [ -f "$PID_FILE" ]; then
    OLD_PID=$(cat "$PID_FILE")
    if kill -0 "$OLD_PID" 2&gt;/dev/null; then
        echo "🔴 停止舊服務 (PID $OLD_PID)..."
        kill "$OLD_PID"
        sleep 2
        if kill -0 "$OLD_PID" 2&gt;/dev/null; then
            kill -9 "$OLD_PID"
            sleep 1
        fi
    fi
    rm -f "$PID_FILE"
fi

# 鎖 200W 功耗
nvidia-smi -pl 200 &gt; /dev/null 2&gt;&amp;1

echo "🟢 啟動 Qwen3.6-27B MTP-Q5_K_P..."
nohup /home/user/llama.cpp.cuda/build/bin/llama-server \
  --alias qwen3.6 \
  --host 0.0.0.0 \
  --port 8080 \
  --model /home/user/models/Qwen3.6-27B-Uncensored-HauhauCS-Balanced-MTP-Q5_K_P.gguf \
  --mmproj /home/user/models/mmproj-Qwen3.6-27B-HauhauCS-Balanced-f16.gguf \
  -ngl 99 \
  -c 131072 \
  --cache-type-k q4_0 \
  --cache-type-v q4_0 \
  --spec-type draft-mtp \
  --spec-draft-n-max 2 \
  --reasoning off \
  -fa 1 \
  -ub 512 \
  -np 1 \
  -fit off \
  --image-min-tokens 1024 \
  &gt; "$LOG_FILE" 2&gt;&amp;1 &amp;

NEW_PID=$!
echo "$NEW_PID" &gt; "$PID_FILE"
echo "✅ 已啟動 (PID $NEW_PID) | 日誌：$LOG_FILE"
echo "🌐 http://192.168.10.6:8080"
</code></pre>
<p dir="auto">nvidia-smi畫面，這是沒有任務時的狀態，覆載時大概會衝到50/60度c，有手動設定限制功耗上限200瓦，省點電和降低發熱，兩張卡貼的實在太近了，怕～<br />
<img src="https://upload.lcz.me/uploads/ffb6e2d7-e3d6-409a-8d87-876549bdceab.png" alt="nvidia-smi_2x2080ti.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">編譯了最新的llama.cpp，雙卡文字推理生成速度<br />
<img src="https://upload.lcz.me/uploads/feb55796-3a6c-492b-a5d8-8a9ae1e2b945.png" alt="llama.cpp_token-generate-log.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">編譯腳本供參</p>
<pre><code>#!/bin/bash
# llama.cpp CUDA 版更新腳本
# 用法：~/llama-cuda-update.sh

set -e

LLAMA_DIR="$HOME/llama.cpp.cuda"
BUILD_DIR="$LLAMA_DIR/build"
CORES=$(nproc)

echo "🔄 更新 llama.cpp ..."

# 1. 先停止現有服務
if [ -f /tmp/llama-server.pid ]; then
    OLD_PID=$(cat /tmp/llama-server.pid)
    if kill -0 "$OLD_PID" 2&gt;/dev/null; then
        echo "🔴 停止現有服務 (PID $OLD_PID)..."
        kill "$OLD_PID"
        sleep 2
        if kill -0 "$OLD_PID" 2&gt;/dev/null; then
            kill -9 "$OLD_PID"
        fi
    fi
    rm -f /tmp/llama-server.pid
fi

# 2. 拉最新原始碼
cd "$LLAMA_DIR"
echo "📥 git pull..."
git pull --ff-only

# 3. 重新 cmake 設定 + 編譯（CUDA 加速）
echo "🔧 cmake 設定..."
cd "$LLAMA_DIR"
cmake -B build -DGGML_CUDA=ON
echo "🔧 編譯中（使用 $CORES 線程）..."
cmake --build build --config Release -j "$CORES"

# 4. 驗證
echo "✅ 編譯完成！"
ls -lh "$BUILD_DIR/bin/llama-server"

echo "---"
echo "🟢 請執行以下指令重啟服務："
echo "   ~/llama-cuda-qwen3.6-Q5-mtp.sh"
</code></pre>
<p dir="auto">以上是粗淺的心得，速度沒有單一張7900XTX猛暴，但這老卡勝在便宜，疊兩張得到44GB VRAM，AI都給我信心加持說這已將很划算，性能表現也很正常<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f602.png?v=9786174bac0" class="not-responsive emoji emoji-android emoji--joy" style="height:23px;width:auto;vertical-align:middle" title=":joy:" alt="😂" /> 。我不知道的東西還是太多了，大部分都是問AI然後貼上，或是AI幫我改，煩請各位大神不吝賜教，謝謝。</p>
]]></description><link>https://lcz.me/topic/773/交作業-新手初試x99配雙rtx2080ti-22g</link><generator>RSS for Node</generator><lastBuildDate>Sun, 26 Jul 2026 23:29:53 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/773.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 Jul 2026 18:23:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 交作業～新手初試X99配雙RTX2080ti 22G on Wed, 08 Jul 2026 02:49:26 GMT]]></title><description><![CDATA[<p dir="auto">昨天又繼續跟我的hermes一起研究（其實都是它的功勞啦）報告如下<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f447.png?v=9786174bac0" class="not-responsive emoji emoji-android emoji--point_down" style="height:23px;width:auto;vertical-align:middle" title="👇" alt="👇" /></p>
<hr />
<h1>雙 RTX 2080 Ti 22GB 跑 Qwen3.6 35B Coder FP8 實戰紀錄</h1>
<h2>來源</h2>
<p dir="auto">基於 <a href="https://github.com/weicj/vLLM-2080Ti-Definitive" rel="nofollow ugc">weicj/vLLM-2080Ti-Definitive</a> 專案的 profile 與 launcher。</p>
<h2>硬體</h2>
<ul>
<li>2× RTX 2080 Ti 22GB + NVLink</li>
<li>GPU 功耗上限 200W</li>
</ul>
<h2>模型</h2>
<p dir="auto"><strong>Jackrong/Qwopus3.6-35B-A3B-Coder-FP8</strong>（約 35GB）</p>
<ul>
<li>MoE 架構，35B 總參數 / 3B 激活</li>
<li>FP8 量化，純文字版</li>
<li>支援 256K context（FP16 KV cache）</li>
<li>支援 Function Calling（tool-call-parser: qwen3_coder）</li>
</ul>
<h2>啟動參數</h2>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="text-align:left">項目</th>
<th style="text-align:left">值</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">Profile</td>
<td style="text-align:left"><code>qwen35b/normal/fp8/fp16kv-256K-nomtp-text-only.env</code></td>
</tr>
<tr>
<td style="text-align:left">GPU</td>
<td style="text-align:left">CUDA_VISIBLE_DEVICES=0,1 (TP=2)</td>
</tr>
<tr>
<td style="text-align:left">量化</td>
<td style="text-align:left">FP8</td>
</tr>
<tr>
<td style="text-align:left">Context</td>
<td style="text-align:left">262144 tokens (256K)</td>
</tr>
<tr>
<td style="text-align:left">KV cache</td>
<td style="text-align:left">FP16</td>
</tr>
<tr>
<td style="text-align:left">MTP</td>
<td style="text-align:left">0（無多 token 預測）</td>
</tr>
<tr>
<td style="text-align:left">Reasoning</td>
<td style="text-align:left">OFF（<code>enable_thinking=false</code>）</td>
</tr>
<tr>
<td style="text-align:left">Chat Template</td>
<td style="text-align:left">froggeric-v21（修復版）</td>
</tr>
<tr>
<td style="text-align:left">Tool Call Parser</td>
<td style="text-align:left">qwen3_coder</td>
</tr>
</tbody>
</table>
<h2>Chat Template</h2>
<p dir="auto">使用 <a href="https://huggingface.co/froggeric/Qwen-Fixed-Chat-Templates" rel="nofollow ugc">froggeric/Qwen-Fixed-Chat-Templates</a> v21.3</p>
<p dir="auto">修復官方 Qwen template 的多項問題：</p>
<ul>
<li>禁用強制思考模式（<code>enable_thinking=false</code>）</li>
<li>修復 KV cache 失效問題</li>
<li>優化 Jinja 渲染效能</li>
</ul>
<h2>實際測試速度表現</h2>
<p dir="auto">Prompt: 寫一篇 2000 字的小說，故事要完整，有開頭結尾<br />
輸出:   2132 字中文字<br />
Token:  1384 completion tokens<br />
花費:   15.14 秒<br />
速度:   91.4 tok/s<br />
結束:   stop（自然結束）</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th style="text-align:left">項目</th>
<th style="text-align:center">數據</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">生成速度（暖機後）</td>
<td style="text-align:center"><strong>91.4 tok/s</strong></td>
</tr>
<tr>
<td style="text-align:left">TTFT（首個 token）</td>
<td style="text-align:center">~11ms</td>
</tr>
<tr>
<td style="text-align:left">最大小說產出</td>
<td style="text-align:center"><strong>2132 字 / 1384 tokens / 15.14s</strong></td>
</tr>
</tbody>
</table>
<p dir="auto">我滿足了<img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/1f64f.png?v=9786174bac0" class="not-responsive emoji emoji-android emoji--pray" style="height:23px;width:auto;vertical-align:middle" title="🙏" alt="🙏" /></p>
]]></description><link>https://lcz.me/post/9422</link><guid isPermaLink="true">https://lcz.me/post/9422</guid><dc:creator><![CDATA[densha]]></dc:creator><pubDate>Wed, 08 Jul 2026 02:49:26 GMT</pubDate></item><item><title><![CDATA[Reply to 交作業～新手初試X99配雙RTX2080ti 22G on Sun, 05 Jul 2026 06:44:37 GMT]]></title><description><![CDATA[<p dir="auto">感謝樓上大大，昨天跟hermes搞了一整天，抄完作業，速度提升起來，但還是遠不如該作者的每秒100t，真是夠折騰的了</p>
<p dir="auto">FP8 文字版 150 tokens 產出:<br />
#1: 3.21s → 46.7 tok/s<br />
#2: 3.12s → 48.1 tok/s<br />
#3: 3.39s → 44.3 tok/s<br />
─────────────────<br />
穩定: ~46 tok/s <img src="https://lcz.me/assets/plugins/nodebb-plugin-emoji/emoji/android/2705.png?v=9786174bac0" class="not-responsive emoji emoji-android emoji--white_check_mark" style="height:23px;width:auto;vertical-align:middle" title="✅" alt="✅" /></p>
]]></description><link>https://lcz.me/post/9212</link><guid isPermaLink="true">https://lcz.me/post/9212</guid><dc:creator><![CDATA[densha]]></dc:creator><pubDate>Sun, 05 Jul 2026 06:44:37 GMT</pubDate></item><item><title><![CDATA[Reply to 交作業～新手初試X99配雙RTX2080ti 22G on Fri, 03 Jul 2026 18:29:12 GMT]]></title><description><![CDATA[<p dir="auto">优化太差  <a href="https://github.com/weicj/vLLM-2080Ti-Definitive" rel="nofollow ugc">https://github.com/weicj/vLLM-2080Ti-Definitive</a> 照着抄</p>
]]></description><link>https://lcz.me/post/9160</link><guid isPermaLink="true">https://lcz.me/post/9160</guid><dc:creator><![CDATA[yu zhengyang]]></dc:creator><pubDate>Fri, 03 Jul 2026 18:29:12 GMT</pubDate></item></channel></rss>