<?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[双RTX2080ti 22G nvlink llama.cpp 跑Qwen3.8-27B实战]]></title><description><![CDATA[<p dir="auto">配置如下：</p>
<ul>
<li>
<p dir="auto">cpu  i5-10600k</p>
</li>
<li>
<p dir="auto">主板 Z490 arous pro ax</p>
</li>
<li>
<p dir="auto">内存 16+8+16+8 共48G</p>
</li>
<li>
<p dir="auto">显卡 RTX2080ti 22G x2 nvlink （300瓦bios水冷）</p>
</li>
</ul>
<p dir="auto">推理框架：自编译llama.cpp docker镜像(官方镜像不支持nccl通信)<br />
dockerfile</p>
<pre><code># syntax=docker/dockerfile:1
# CUDA 13.0.3 + NCCL build for RTX 2080 Ti (SM 75) / llama.cpp tensor parallelism

ARG CUDA_VERSION=13.0.3
ARG UBUNTU_VERSION=24.04
ARG LLAMA_CPP_REF=b10362

FROM nvidia/cuda:${CUDA_VERSION}-devel-ubuntu${UBUNTU_VERSION} AS build

ARG LLAMA_CPP_REF
ARG CUDA_ARCH=75
ARG BUILD_JOBS=4

ENV DEBIAN_FRONTEND=noninteractive \
    CC=gcc-13 \
    CXX=g++-13 \
    CUDAHOSTCXX=g++-13

# The CUDA Ubuntu repository in the NVIDIA CUDA base image supplies libnccl-dev.
RUN apt-get update &amp;&amp; apt-get install -y --no-install-recommends \
        ca-certificates git cmake make \
        gcc-13 g++-13 \
        libnccl-dev \
    &amp;&amp; rm -rf /var/lib/apt/lists/*

WORKDIR /src
RUN git clone --depth 1 --branch "${LLAMA_CPP_REF}" https://github.com/ggml-org/llama.cpp.git .

RUN cmake -S . -B build \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_CUDA_ARCHITECTURES=${CUDA_ARCH} \
        -DGGML_NATIVE=OFF \
        -DGGML_CUDA=ON \
        -DGGML_CUDA_NCCL=ON \
        -DGGML_BACKEND_DL=ON \
        -DLLAMA_BUILD_TESTS=OFF \
        -DLLAMA_BUILD_EXAMPLES=ON \
    # CMake's install manifest includes the enabled example binaries.  Build all
    # enabled targets before installing, rather than just llama-server.
    &amp;&amp; cmake --build build -j${BUILD_JOBS} \
    &amp;&amp; cmake --install build --prefix /opt/llama

# The user has the CUDA devel image locally, so use it as the runtime base too.
# Change this to nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_VERSION}
# once that runtime image is available locally.
FROM nvidia/cuda:${CUDA_VERSION}-devel-ubuntu${UBUNTU_VERSION} AS server

ENV DEBIAN_FRONTEND=noninteractive \
    LLAMA_ARG_HOST=0.0.0.0 \
    LD_LIBRARY_PATH=/opt/llama/lib:${LD_LIBRARY_PATH}

RUN apt-get update &amp;&amp; apt-get install -y --no-install-recommends \
        ca-certificates curl libgomp1 libnccl2 \
    &amp;&amp; rm -rf /var/lib/apt/lists/*

COPY --from=build /opt/llama /opt/llama
RUN ldconfig \
    &amp;&amp; ldd /opt/llama/bin/llama-server | grep -E 'nccl|not found' || true

WORKDIR /opt/llama
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=5s --start-period=30s --retries=3 \
    CMD curl -fsS http://localhost:8080/health || exit 1

ENTRYPOINT ["/opt/llama/bin/llama-server"]
</code></pre>
<pre><code> docker build --no-cache --progress=plain   -f Dockerfile.llama-cpp-cuda130-nccl   -t llama.cpp:cuda13.0.3-nccl-sm75   --build-arg LLAMA_CPP_REF=master   --build-arg CUDA_ARCH=75   --build-arg BUILD_JOBS=4 .
</code></pre>
<pre><code>-m /models/Qwen3.8-27B.Q6_K.gguf --alias Qwen3.8-27B -mm /models/Qwen3.8-27B.mmproj-q8_0.gguf --host 0.0.0.0 --port 8080  --fit off  -c 262144 -np 2 -ngl -1 --threads 6 --threads-batch 12 --split-mode tensor --flash-attn on --spec-type draft-mtp --spec-draft-n-max 3 --no-context-shift --jinja --cache-type-k q8_0 --cache-type-v q8_0 -cram 12288 -ctxcp 32 -kvu --temp 0.6 --top-p 0.5 --top-k 15 --chat-template-kwargs "{\"enable_thinking\":true,\"preserve_thinking\":false,\"reasoning_effort\":\"medium\"}" --api-key xxxx --no-ui  
</code></pre>
<p dir="auto">2080 Ti 22GB ×2 性能测试</p>
<p dir="auto">并发数：1｜超时：30s</p>
<p dir="auto">提示词长度	预填充耗时	预填充速度	输出长度	输出耗时	输出速度<br />
2,048 tokens	2,266.30 ms	903.68 tokens/s	512 tokens	8,504.73 ms	60.20 tokens/s<br />
4,096 tokens	4,151.52 ms	986.63 tokens/s	512 tokens	7,855.27 ms	65.18 tokens/s<br />
6,144 tokens	6,126.74 ms	1,002.82 tokens/s	512 tokens	8,005.43 ms	63.96 tokens/s<br />
8,192 tokens	8,136.60 ms	1,006.81 tokens/s	512 tokens	8,021.08 ms	63.83 tokens/s<br />
10,240 tokens	10,208.45 ms	1,003.09 tokens/s	512 tokens	6,271.73 ms	81.64 tokens/s</p>
<p dir="auto">所有测试均为 1/1 并发成功。</p>
<p dir="auto">总体性能<br />
**预填充吞吐范围：**903.68～1,006.81 tokens/s<br />
**输出吞吐范围：**60.20～81.64 tokens/s<br />
**平均预填充吞吐：**980.61 tokens/s<br />
**平均输出吞吐：**66.96 tokens/s</p>
<p dir="auto">2080 Ti 22GB ×2 性能测试</p>
<p dir="auto">并发数：2｜超时：30s</p>
<p dir="auto">提示词长度	预填充耗时	总预填充速度	输出长度	输出耗时	总输出速度<br />
2,048 tokens	3,852.35 ms	1,063.25 tokens/s	512 tokens	12,374.84 ms	82.75 tokens/s<br />
4,096 tokens	7,779.40 ms	1,053.04 tokens/s	512 tokens	13,557.93 ms	75.53 tokens/s<br />
6,144 tokens	12,875.19 ms	954.39 tokens/s	512 tokens	12,327.89 ms	83.06 tokens/s<br />
8,192 tokens	17,385.96 ms	942.37 tokens/s	512 tokens	13,142.39 ms	77.92 tokens/s<br />
10,240 tokens	14,149.75 ms	1,447.38 tokens/s	512 tokens	16,787.24 ms	61.00 tokens/s</p>
<p dir="auto">所有测试均为 2/2 并发成功。</p>
<p dir="auto">总体性能<br />
**总预填充吞吐范围：**942.37～1,447.38 tokens/s<br />
**总输出吞吐范围：**61.00～83.06 tokens/s<br />
**平均总预填充吞吐：**1,092.09 tokens/s<br />
**平均总输出吞吐：**76.05 tokens/s</p>
]]></description><link>https://lcz.me/topic/1184/双rtx2080ti-22g-nvlink-llama.cpp-跑qwen3.8-27b实战</link><generator>RSS for Node</generator><lastBuildDate>Sat, 22 Aug 2026 00:31:02 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/1184.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Aug 2026 13:38:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 双RTX2080ti 22G nvlink llama.cpp 跑Qwen3.8-27B实战 on Tue, 18 Aug 2026 13:58:25 GMT]]></title><description><![CDATA[<p dir="auto">2张 2080 ti 的价钱都不到 3090 一张的价钱<br />
就有3090一张的效率 而且更大的vram<br />
的确可以玩玩<br />
用个1-2年 都不可惜</p>
]]></description><link>https://lcz.me/post/12766</link><guid isPermaLink="true">https://lcz.me/post/12766</guid><dc:creator><![CDATA[applejuice]]></dc:creator><pubDate>Tue, 18 Aug 2026 13:58:25 GMT</pubDate></item></channel></rss>