> For the complete documentation index, see [llms.txt](https://unsloth.ai/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unsloth.ai/docs/zh/mo-xing/qwen3.8.md). Agents can also search and read this documentation through its [MCP server](https://unsloth.ai/docs/~gitbook/mcp).

# Qwen3.8：如何本地运行

在你的本地环境中运行包括 Qwen3.8-27B 在内的 Qwen3.8 量化模型指南。

Qwen3.8-27B 是一款拥有 270 亿参数的稠密型 Qwen 模型，具备 **视觉** 和推理能力，拥有 **256K 上下文** 窗口，并可在本地 **17GB RAM/VRAM** 的配置上运行。Qwen3.8 擅长智能体编程、视觉和聊天任务，现在还可通过 Unsloth GGUF、NVFP4 以及 [Unsloth Desktop](#run-qwen3.8-in-unsloth-desktop).

**11 月 11 日更新：** Qwen3.8-27B GGUF 现已采用 [Unsloth Dynamic V3.1](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/dynamic-3.0-ggufs.md) ，在相近模型大小下，其平均准确率提升了 5–10%，覆盖 Terminal Bench、DeepSWE 等更多基准测试。我们正在开发更出色的 Dynamic 量化版本，并将应用于 **Qwen4** 及未来的模型。

{% columns %}
{% column width="50%" %} <a href="https://unsloth.ai/pages/d03b47babbad2abc249a0979b2d44af1f02bbd20#run-qwen3.8-guide" class="button primary">运行 Qwen3.8 指南</a><a href="https://unsloth.ai/download" class="button secondary">下载 Unsloth</a>

感谢 Qwen 提供首日访问权限。Unsloth 量化版本还包括：

* **开发者角色支持** ，可用于 Codex 等智能体工具
* [已启用 MTP](https://unsloth.ai/docs/zh/mo-xing/mtp.md) ，实现快速推理
* **工具调用：** 改进了对嵌套对象的解析，让工具调用更容易成功

Unsloth 量化版本： [Qwen3.8-**27B**-GGUF](https://huggingface.co/unsloth/Qwen3.8-27B-GGUF)
{% endcolumn %}

{% column width="50%" %}

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2F6aw6IjO7lnYJhSyzXYwq%2Fvolcano%20qwen.gif?alt=media&amp;token=94e56117-d10d-45e8-82dc-3e134b2b9359" alt=""><figcaption><p>在 Unsloth Desktop 中运行的动态 4 位 Qwen3.8-27B</p></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

### Dynamic V3.1 更新（2026 年 11 月 11 日）

我们很高兴推出采用更新版 [**Unsloth Dynamic**](https://unsloth.ai/docs/basics/dynamic-3.0-ggufs) **V3.1（预览版）算法的 Qwen3.8-27B GGUF** 在大多数基准测试中，模型大小相同时，Unsloth 量化版本的准确率提升了 5–10%；在编程、智能体工作负载和常规聊天等大多数任务中表现均属一流。

从 2 位到 6 位的大多数量化版本都已更新。我们发现 3 位 UD3 量化版本的表现与 UD3.1 相当，因此没有更新。我们正在积极改进所有量化版本！

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FWf4zRxz4iskzXZcBUQYq%2Ffour(1).png?alt=media&amp;token=0e7bc8b1-6a96-4978-bcbe-227d69705eb2" alt="" width="563"><figcaption></figcaption></figure>

**我们运行了 Terminal Bench 2.1、DeepSWE v1.1 等智能体基准测试**，以及 LiveCodeBench v6、GPQA Diamond、MMLU-Pro、AIME25 等常规基准测试。所有智能体基准测试均使用 256K 上下文长度，其余测试使用 128K。我们对 Qwen3.8-27B 采用了与 [DeepSeek-V4.1-Flash](https://unsloth.ai/docs/zh/mo-xing/deepseek-v4.1-flash.md) 和 [Qwen3.8-Flash-Next](https://unsloth.ai/docs/zh/mo-xing/qwen3.8-next.md) 相同的方法，这两者也使用了我们的 V3.1 预览版算法。

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FAJWlEwcA3LRXIky6AN34%2Fall_no_embedding(1).png?alt=media&amp;token=205c8068-8815-402a-aacf-aa877915be1b" alt=""><figcaption></figcaption></figure>

#### Dynamic V3.1 完整分析

点击下方查看基准测试的完整详情及更多内容：

<details>

<summary>点击展开完整详情与分析</summary>

#### Exllama-v3 注意事项

为了比较 GSQ-RCO 和 Exllama-v3，我们必须从 x 轴中排除 token embedding 层，因为 Exllama-v3 使用 BF16 表示该层。

如果将 Exllama-v3 的完整下载大小和总 RAM 用量纳入考量，那么加入 BF16 embedding 表并计入所有 embedding 大小后，图表会有所变化。我们的主图 x 轴会从所有量化方案中排除 embedding 层的大小。 **不过，若仅比较 RAM 用量和磁盘占用与准确率的关系，下图才真实反映了实际用量。**

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FOAyvQGNinlCjqTfvInzE%2Fall_file_size(1).png?alt=media&amp;token=71d6a14b-4dd5-4629-9011-c24145c16b41" alt=""><figcaption></figcaption></figure>

我们尚未调查 Exllama-v3 为何将 token embeddings 保留为 BF16。不过，由于 lm\_head 仍经过高强度量化，embedding 层或许已经“吸收”了大部分由此造成的量化损失。我们很乐意对 Exllama-v3 的非 BF16 token embedding 量化版本进行基准测试，例如采用 8 位量化，并观察基准测试结果是否会发生变化。

#### GSQ-RCO 结果具有误导性

在 LiveCodeBench 测试中，GSQ-RCO 显示 Unsloth UD3 量化版本的表现始终不如 ISTA 的版本。然而我们 **发现实际情况恰恰相反：除最小规格外，所有规格的 UD3 量化版本（我们的旧版量化方案）在 LCB 上都优于 ISTA。** UD3.1 在 LCB 上也进一步提升了表现。

我们推测 GSQ-RCO 使用的上下文预算为 96K，因为这最符合我们现有运行结果的数据。在 96K 下，GSQ-RCO 的表现确实略好于 UD3；但在 128K 下，UD3 的表现则好得多。

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2Fi7fxu1dfYubjTRlaplQd%2Fq27_lcb_auc_vs_budget.png?alt=media&amp;token=8d364f9a-dcab-4f03-b08a-b1dd149e1ca6" alt=""><figcaption></figcaption></figure>

在另一项基准测试中，对于 ISTA 的 GSQ-RCO AIME25 基准测试，其量化版本的准确率恢复率分别达到 100%、100%、100% 和 96.7%。而他们却说我们的量化版本表现更差。

经过调查，我们估计 ISTA 只进行了 1 次试验；而我们进行了 14 次试验，并且结果显示，平均准确率恢复率为 93% 到 96%，而不是 100%。 **事实上，在 14 次运行的平均结果中，我们旧版的 UD3 量化版本表现也优于他们的量化版本（他们只运行了 1 次）。**&#x56E0;此，如果进行更多次试验，我们得出的结论恰恰相反。

我们还使用 Math Verify 检查并评分了答案 [动态 3.1 GGUF](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/dynamic-3.0-ggufs/dong-tai-3.1-gguf.md) ，并使用 LightEval 进行了检查，得出的结论完全相同。我们还尝试了贪心解码（temperature 为 0），但无法像 ISTA 那样在多次贪心运行中都达到 100% 的准确率恢复率，因为 GPU 本身具有非确定性。这就是为什么基准测试应运行多次。贪心解码也不能代表真实世界的使用场景。

我们还测试了 96K（这很可能是 ISTA 使用的预算）和 128K，结果显示我们的量化版本平均表现仍然更好。

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2Fbh6wGXtOMWkzqRnfoova%2Fq27_aime25_auc_vs_budget.png?alt=media&amp;token=46081d81-dcf1-4d6f-b30e-6033d33433e6" alt=""><figcaption></figcaption></figure>

#### Unsloth v3.1 与 v3 的 KLD

我们针对多个领域，测量了 Unsloth UD3.1 量化版本和 UD3 量化版本的 KLD。对于大多数量化版本和大多数领域，我们都降低了 KLD。我们没有替换 3-bit 版本，因为我们发现 UD3 的整体表现已经很好，而且 UD3.1 在基准测试中的准确率恢复提升并不足以支持更新，因此我们没有更新这些版本。

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FKjLQfsZa7dpm50lm4487%2Fq27_kld_v3_vs_v31(1).png?alt=media&amp;token=5bda64f6-c756-4709-8f8c-15b60761e7f2" alt=""><figcaption></figcaption></figure>

#### 基准测试详情与设置

所有基准测试均采用与 Qwen3.8-Flash-Next 和 DeepSeek-V4.1-Flash 相同的流程，详情另见 [动态 3.1 GGUF](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/dynamic-3.0-ggufs/dong-tai-3.1-gguf.md)。我们为 Qwen3.8-27B 使用了 temperature 1.0、top\_p 0.95、top\_k 20、min\_p 0，不设置 presence 或 repetition penalty，并启用 preserve\_thinking 和 xhigh 推理。

</details>

### :gear: 使用指南

#### Qwen3.8-27B 的硬件要求：

Qwen3.8-**27B** 4-bit 量化版本可在 16–19GB 显存的设备上运行，例如 RTX 5080、4090，或配备 24GB 内存的 Mac。\
**表：硬件要求** （单位 = 总内存：RAM + VRAM，或统一内存）

<table><thead><tr><th>1-bit</th><th>2-bit</th><th>3-bit</th><th>4-bit</th><th width="128">6-bit</th><th>8-bit</th><th>BF16</th></tr></thead><tbody><tr><td>7–8 GB</td><td>9–11 GB</td><td>12–14 GB</td><td>16–19 GB</td><td>23–26 GB</td><td>31 GB</td><td>56 GB</td></tr></tbody></table>

{% hint style="info" %}
如果你想使用 [MTP](https://unsloth.ai/docs/zh/mo-xing/mtp.md) 来加快推理，请预留额外 1–2GB 的内存空间。
{% endhint %}

### 推荐设置

Qwen3.8-27B 是一个 **混合思考** 模型，思考模式和非思考模式采用不同的默认设置。默认启用 Extra high；如果你想缩短思考过程，可以 [调整思考强度](#thinking--preserve-thinking):

| 参数                   | 思考模式 | 指令模式（非思考） |
| -------------------- | ---- | --------- |
| `temperature`        | 1.0  | 0.7       |
| `top_p`              | 0.95 | 0.80      |
| `top_k`              | 20   | 20        |
| `min_p`              | 0.0  | 0.0       |
| `presence_penalty`   | 0.0  | 1.5       |
| `repetition_penalty` | 1.0  | 1.0       |

* **最大上下文窗口：** `262,144` （可通过 YaRN 扩展至 1M）
* 思考模式： `temperature=1.0`, `top_p=0.95`, `top_k=20`, `min_p=0.0`, `presence_penalty=0.0`, `repetition_penalty=1.0`
* 指令（或非思考）模式： `temperature=0.7`, `top_p=0.80`, `top_k=20`, `min_p=0.0`, `presence_penalty=1.5`, `repetition_penalty=1.0`

### 💡 思考 + 保留思考

{% columns %}
{% column %}
Qwen3.8 支持 **保留思考** 功能，它会保留上一轮对话中的思考轨迹。这会增加 token 用量，但可能提高连续对话的准确性。 [Unsloth](#run-qwen3.8-in-unsloth-desktop) 为 Qwen3.8 提供“思考”和“保留思考”切换选项（见右图）：
{% endcolumn %}

{% column %}

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FLdgmjRrb5qhpbY9PwYe8%2FScreenshot%202026-08-14%20at%2011.26.15%E2%80%AFAM.png?alt=media&amp;token=6333f5ca-196d-46ae-9efd-2e522014e6db" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

Qwen3.8-27B 支持 `reasoning_effort`，可用于调整推理深度并控制成本。这些选项在 Unsloth 中会自动启用：

* `xhigh` （默认）：适用于需要深入分析的复杂任务
* `medium`：平衡准确性与速度
* `low`：以速度和成本为优先的高效推理
* none

{% hint style="warning" %}
若要调整[ 思考 / 推理](#how-to-enable-or-disable-reasoning-and-thinking) 强度，可在 `unsloth run` 或 `llama-server`中使用 `--chat-template-kwargs '{"reasoning_effort":"medium"}'`

如果你使用的是 **Windows** PowerShell，请使用： `--chat-template-kwargs "{\"reasoning_effort\":\"medium\"}"`

将 `medium` 改为你想要的推理级别。
{% endhint %}

## 运行 Qwen3.8 指南

现在，你可以在 llama.cpp 和 Unsloth Desktop 中运行 Qwen3.8-27B。量化类型也可以按需调整。

* Hugging Face： [Qwen3.8-27B-**GGUF**](https://huggingface.co/unsloth/Qwen3.8-27B-GGUF) • [Qwen3.8-27B-**NVFP4**](https://huggingface.co/unsloth/Qwen3.8-27B-NVFP4)
* ModelScope： [Qwen3.8-27B-**GGUF**](https://www.modelscope.cn/models/unsloth/Qwen3.8-27B-GGUF) • [Qwen3.8-27B-**NVFP4**](https://www.modelscope.cn/models/unsloth/Qwen3.8-27B-NVFP4)

<a href="https://unsloth.ai/pages/d03b47babbad2abc249a0979b2d44af1f02bbd20#run-qwen3.8-in-unsloth-desktop" class="button primary">在 Unsloth Desktop 中运行</a><a href="https://unsloth.ai/pages/d03b47babbad2abc249a0979b2d44af1f02bbd20#run-qwen3.8-in-llama.cpp" class="button secondary">在 llama.cpp 中运行</a><a href="https://unsloth.ai/pages/d03b47babbad2abc249a0979b2d44af1f02bbd20#run-qwen3.8-in-llama.cpp" class="button secondary">NVFP4 指南</a><a href="https://unsloth.ai/pages/d03b47babbad2abc249a0979b2d44af1f02bbd20#qwen3.8-2.4t-a95b" class="button primary">Qwen3.8-2.4T-A95B 指南</a>

### 🦥 在 Unsloth Desktop 中运行 Qwen3.8

Qwen3.8 可以在 [Unsloth Desktop](#run-qwen3.8-in-unsloth-desktop)中运行。这是一款用于本地 AI 的开源 UI 应用。 **Unsloth 会自动将模型卸载到 RAM，并检测多 GPU 配置**。使用 Unsloth Desktop，你可以在以下系统上本地运行模型： **macOS、Windows**、Linux，以及：

{% columns %}
{% column %}

* 搜索、下载并 [运行 GGUF](https://unsloth.ai/docs/zh/xin/studio.md#run-models-locally)、MLX 和 safetensors 模型
* [**自动修复** 工具调用](https://unsloth.ai/docs/zh/xin/studio/chat.md#auto-healing-tool-calling) + **网页搜索**
* [**代码执行**](https://unsloth.ai/docs/zh/desktop.md#code-execution) （Python、Bash）
* [自动推理](https://unsloth.ai/docs/desktop#feature-deep-dive) 参数调优（temp、top-p 等）
* 通过 MLX 和 llama.cpp 实现快速 CPU + GPU 推理
* [训练 LLM](https://unsloth.ai/docs/zh/xin/studio.md#no-code-training) 速度提升 2 倍，VRAM 占用减少 70%
  {% endcolumn %}

{% column %}

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2F6IXaXdTVyvbrnjehlxys%2Fkimik3.gif?alt=media&amp;token=31e1213b-d7da-46e9-bc7f-3a8c402513fc" alt=""><figcaption></figcaption></figure>
{% endcolumn %}
{% endcolumns %}

{% stepper %}
{% step %}

#### 安装 Unsloth

最简单的入门方式是下载 [Unsloth Desktop 应用](https://unsloth.ai/docs/zh/desktop.md)。支持 [macOS](https://unsloth.ai/docs/zh/kuai-su-kai-shi/install/mac.md), [Windows](https://unsloth.ai/docs/zh/kuai-su-kai-shi/install/windows-installation.md)和 [Linux](https://unsloth.ai/docs/zh/kuai-su-kai-shi/install/linux.md).

<a href="https://unsloth.ai/download" class="button primary" data-icon="down-to-bracket">下载 Unsloth</a>

* <i class="fa-apple">:apple:</i> [下载 macOS 版](https://unsloth.ai/download/mac)
* <i class="fa-windows">:windows:</i> [下载 Windows 版](https://unsloth.ai/download/windows)
* <i class="fa-linux">:linux:</i> [下载 Linux 版](https://unsloth.ai/download/linux)

或者，如果你更喜欢手动安装：

{% tabs %}
{% tab title="本地安装" %}
**MacOS、Linux、WSL：**

```bash
curl -fsSL https://unsloth.ai/install.sh | sh
```

**Windows：**

```powershell
irm https://unsloth.ai/install.ps1 | iex
```

{% endtab %}

{% tab title="Docker" %}
该 [Unsloth Docker 镜像](https://hub.docker.com/r/unsloth/unsloth) `unsloth/unsloth` 可在 Docker 上获取。 [阅读指南。](https://unsloth.ai/docs/get-started/install/docker)
{% endtab %}

{% tab title="Homebrew" %}
安装 Unsloth Desktop：

{% code collapsedlinecount="10" %}

```bash
brew install --cask unsloth
```

{% endcode %}

更新 Unsloth Desktop：

```bash
brew upgrade --cask unsloth
```

{% endtab %}

{% tab title="WinGet" %}
安装 Unsloth Desktop：

```powershell
winget install --id UnslothAI.Unsloth -e
```

更新 Unsloth Desktop：

```powershell
winget upgrade --id UnslothAI.Unsloth -e
```

{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}

#### 搜索并下载 Qwen3.8

前往 [Unsloth Chat](https://unsloth.ai/docs/zh/xin/studio/chat.md) 或模型中心，在搜索栏中搜索 Qwen3.8，然后下载你需要的模型和量化版本。

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2Fo53hIyoFypinWWLa1c0x%2FScreenshot%202026-08-14%20at%2012.42.38%E2%80%AFPM.png?alt=media&amp;token=a69de985-56ee-4ef3-8e10-f669cc168346" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

#### 运行 Qwen3.8

使用 Unsloth 时，推理参数通常会自动设置，不过你仍可手动更改。你也可以编辑上下文长度、聊天模板和其他设置。

如需了解更多信息，请参阅我们的 [Unsloth 推理指南](https://unsloth.ai/docs/zh/xin/studio/chat.md).

例如，使用 Unsloth Desktop 运行 397GB 的 Qwen3.8（体积缩小 91%），即可切换思考模式、启用行内画布、网页搜索和代码执行等功能。

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2Fb3IiYJzHzsp2698xTim4%2Fgiffyy%20gf.gif?alt=media&amp;token=f1bda1a1-b81f-43e2-ba10-dbdc9a29c0c0" alt="" width="563"><figcaption><p>在 Unsloth Desktop 中运行的 Qwen3.8 2.4T 动态 1-bit 397GB GGUF（体积缩小 91%）</p></figcaption></figure>
{% endstep %}

{% step %}

#### 使用 Unsloth API 部署 Qwen3.8

你可以使用 `unsloth run` 命令，并通过 API 使用 `llama-server` 运行时标志配置上下文大小、GPU 层数、线程、采样、网络和工具等。更多信息请参阅我们的 [API 文档](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/api.md) 或 [unsloth start](https://unsloth.ai/docs/zh/ji-cheng/unsloth-start.md).

{% code overflow="wrap" %}

```bash
unsloth run --model unsloth/Qwen3.8-27B-GGUF:UD-Q4_K_XL
    --temp 1.0 \
    --top-p 0.95 \
    --top-k 20 \
    --min-p 0.0 \
    --reasoning-effort medium
```

{% endcode %}
{% endstep %}

{% step %}

#### Unsloth 已准备就绪

你还可以通过 Unsloth Desktop 使用 Qwen3.8 完成许多其他任务，例如：

* **连接工具：** [Claude Code](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/claude-code.md), [Codex](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/codex.md), [网页搜索](https://unsloth.ai/docs/zh/xin/studio/chat.md#advanced-web-search), [MCP](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/mcp.md) 等等
* **训练模型：** 微调文本、扩散模型、 [嵌入模型](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/embedding-finetuning.md)等
* **生成媒体：** 创建并训练 [图像](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/diffusion-image.md)、视频、 [文本转语音](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/text-to-speech-tts-fine-tuning.md) （本地运行）

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FYShiiub5gs5pCQLX6d4U%2FScreenshot%202026-08-15%20at%2012.18.24%E2%80%AFAM.png?alt=media&amp;token=d6996797-a144-4113-b4c3-155cca6c39a0" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

### :llama: 在 llama.cpp 中运行 Qwen3.8

{% stepper %}
{% step %}
下载最新版本的 llama.cpp。你也可以按照下面的说明进行构建。将 `-DGGML_CUDA=ON` 改为 `-DGGML_CUDA=OFF` 如果你没有 GPU，或者只想使用 CPU 进行推理。 **对于 Apple Mac / Metal 设备**，设置 `-DGGML_CUDA=OFF` 然后照常继续即可——Metal 支持默认启用。

```bash
apt-get update
apt-get install pciutils build-essential cmake curl libcurl4-openssl-dev -y
git clone https://github.com/ggml-org/llama.cpp
cmake llama.cpp -B llama.cpp/build \
    -DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON
cmake --build llama.cpp/build --config Release -j --clean-first --target llama-cli llama-mtmd-cli llama-server llama-gguf-split
cp llama.cpp/build/bin/llama-* llama.cpp
```

{% endstep %}

{% step %}
通过以下方式下载模型（先安装 `pip install huggingface_hub`）。如果下载卡住，请参阅： [Hugging Face Hub、XET 调试](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/troubleshooting-and-faqs/hugging-face-hub-xet-debugging.md)

```bash
pip install -U "huggingface_hub[cli]"
hf download unsloth/Qwen3.8-27B-GGUF \
    --local-dir unsloth/Qwen3.8-27B-GGUF \
    --include "*UD-Q4_K_XL*" # 使用 "*UD-Q3_K_XL*" 获取 3 位量化
```

{% endstep %}

{% step %}
要在 llama-cli 中运行模型，请参考以下代码片段：\
请记得 [更改设置](#recommended-settings) 以适应你的使用场景。

{% code overflow="wrap" %}

```bash
./llama.cpp/llama-cli \
    --model unsloth/Qwen3.8-27B-GGUF/Qwen3.8-27B-UD-Q4_K_XL.gguf \
    --temp 1.0 \
    --top-p 0.95 \
    --top-k 20 \
    --min-p 0.0
```

{% endcode %}
{% endstep %}
{% endstepper %}

### ⚡️NVFP4

与 Qwen3.6 一样，我们还发布了全新的 [动态 NVFP4 Qwen3.8](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/nvfp4.md)-27B 量化版本，其运行速度 **约快 1.5 倍** 于 BF16 检查点，同时具备 **更佳性能** 和相当的文件大小。运行 Qwen3.8-27B NVFP4，速度 **快 1.5 倍** 仅需 **24GB VRAM。** 我们还加入了 **FP8 KV 缓存校准** ，可将上下文长度延长 2 倍！NVFP4 需要使用 NVIDIA Blackwell GPU，例如 RTX 50X、DGX Spark（参见 [#dgx-spark-with-nvfp4-quants](#dgx-spark-with-nvfp4-quants "mention")）、B200 和 B300 GPU。对于较旧的 GPU，我们的 GGUF 效果也很好！目前只能在 [vLLM](#vllm) 中运行 NVFP4 量化版本（暂不支持 SGLang）。

* [Qwen3.8-27B-**NVFP4**](https://huggingface.co/unsloth/Qwen3.8-27B-NVFP4) 量化

<table><thead><tr><th width="90" align="right">批次</th><th width="114.5999755859375" align="right">BF16 总 tok/s</th><th width="122.60003662109375" align="right">NVFP4 总 tok/s</th><th width="122" align="right">加速比</th><th width="137.4000244140625" align="right">BF16 单用户</th><th align="right">NVFP4 单用户</th></tr></thead><tbody><tr><td align="right">1</td><td align="right">89.8</td><td align="right"><strong>133.7</strong></td><td align="right">1.49x</td><td align="right">89.8</td><td align="right"><strong>133.7</strong></td></tr><tr><td align="right">8</td><td align="right">649.4</td><td align="right"><strong>938.8</strong></td><td align="right">1.45x</td><td align="right">81.2</td><td align="right"><strong>117.3</strong></td></tr><tr><td align="right">32</td><td align="right">1983.0</td><td align="right"><strong>2787.0</strong></td><td align="right">1.41x</td><td align="right">62.0</td><td align="right"><strong>87.1</strong></td></tr><tr><td align="right">64</td><td align="right">3048.5</td><td align="right"><strong>4407.2</strong></td><td align="right">1.45x</td><td align="right">47.6</td><td align="right"><strong>68.9</strong></td></tr></tbody></table>

下文还列出了此前对 Qwen3.6 进行的基准测试，并与其他 NVFP4 实现进行了比较；这些实现使用 16 位激活值，而我们使用 NVFP4 激活值：

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2F8zM7cg0Xgo2pAlop1iPW%2F01_qwen36_combined_throughput.png?alt=media&amp;token=23131a96-4c41-42d7-aa16-5bfb21bb44a3" alt="" width="563"><figcaption></figcaption></figure>

所有基准测试均使用 1 台 B200，128 并发。更高的并发量可将 35B 的速度提升至 17,561 tokens/s。&#x20;

在准确率基准测试中，我们针对代码、聊天及多个领域进行了 KLD 和 Top-1 一致性测试。与 BF16 相比，NVFP4 的准确率恢复率稳定在 92% 至 97%。

| 语料库               |        KLD 均值 | top-1 一致率 |
| ----------------- | ------------: | --------: |
| zh                |       0.01628 |    93.55% |
| 代码                |       0.02600 |    96.68% |
| refgen            |       0.03993 |    94.46% |
| 聊天                |       0.05818 |    92.15% |
| ja / ko / ru / es | 0.0124-0.0155 |    94-95% |

在 Qwen 3.6 的准确率基准测试中，我们针对 FP8、BF16、NVIDIA 的 NVFP4 以及我们的 NVFP4s 进行了 MMLU-Pro、AIME 2025 和 GPQA 测试——结果显示，我们更快的量化版本在所有测试中的表现都相近：

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FFhOUUUlRBj3dafGnmvhK%2F03_qwen36_combined_accuracy(7).png?alt=media&amp;token=9178447f-d5ae-4489-9bdc-73b2b7b1631b" alt=""><figcaption></figcaption></figure>

如需了解更多信息，请阅读我们的 [动态 NVFP4 量化博客](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/nvfp4.md).

如需运行 NVFP4 量化模型，请参阅下方的命令，了解如何使用 [vLLM](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/inference-and-deployment/vllm-guide.md) 或 [SGLang](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/inference-and-deployment/sglang-guide.md):

#### **vLLM：**

如需在独立的虚拟环境中安装 vLLM：

{% code overflow="wrap" expandable="true" %}

```bash
uv venv unsloth-nvfp4-env --python 3.13
source unsloth-nvfp4-env/bin/activate
uv pip install "vllm>=0.25.0" "flashinfer-python>=0.6.13" "nvidia-cutlass-dsl>=4.5.2" \
    --torch-backend=auto
```

{% endcode %}

然后，运行 27B 版本：

```shell
vllm serve unsloth/Qwen3.8-27B-NVFP4
```

若要启用 MTP / 投机解码（解码速度更快，但吞吐量会略低），请使用：

```bash
vllm serve unsloth/Qwen3.8-27B-NVFP4
    --speculative-config '{"method": "mtp", "num_speculative_tokens": 2}'
```

如果遇到 Torchcodec 问题，请先执行以下命令，然后重新启动 vllm。

{% code overflow="wrap" expandable="true" %}

```bash
sudo apt-get update
sudo apt-get install -y ffmpeg
```

{% endcode %}

#### **SGLang：**

如果使用 SGLang，必须使用 **SGLang 版本 v0.5.19** 否则将无法运行，因为我们将 lm\_head 量化为 FP8。

{% hint style="info" %}
vLLM 提供了 `CompressedTensorsW8A8Fp8` 内核支持此功能，而 SGLang v0.5.19 无法加载 FP8 lm\_head。现在 v0.5.19 已可正常使用！
{% endhint %}

安装最新版后，SGLang 用户可执行：

{% code overflow="wrap" %}

```bash
uv pip install sglang sglang-kernel \
  --extra-index-url https://sgl-project.github.io/whl/cu130/ \
  --extra-index-url https://download.pytorch.org/whl/cu130 \
  --index-strategy unsafe-best-match
```

{% endcode %}

然后即可运行：

```bash
sglang serve unsloth/Qwen3.8-27B-NVFP4
```

如需启用 MTP，请使用：

{% code overflow="wrap" %}

```bash
sglang serve unsloth/Qwen3.8-27B-NVFP4 --speculative-algorithm EAGLE \
    --speculative-num-steps 3 --speculative-eagle-topk 1  --speculative-num-draft-tokens 4
```

{% endcode %}

### :exploding\_head:量化分析

NVFP4 量化模型的速度比 BF16 快 1.5 倍，同时保留 92% 至 97% 的 top-1 准确率。

我们使用了 [Dynamic 3.0 GGUFs](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/dynamic-3.0-ggufs.md) 来大幅提升 Qwen3.8-27B 的表现！

如下所示为 Qwen3.8-27B 在 UD-3 中的 top-1 准确率图：

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FVg5FHPxOpmaJ1r3ciw4u%2Fimage.png?alt=media&amp;token=107ef044-0181-489b-b6ae-da218e16c98b" alt="" width="563"><figcaption></figcaption></figure>

Qwen3.8 的平均 KLD：

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2Ft8BnEqBLUQGUgu2cAKKI%2Fimage.png?alt=media&amp;token=912d5b6a-540f-4ee0-9208-f5ad45776341" alt="" width="563"><figcaption></figcaption></figure>

### 📊 基准测试

GGUF 量化基准测试请参阅上方的 [量化分析](#quantization-analysis) 或 [Dynamic V3.0 文章](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/dynamic-3.0-ggufs.md).

#### Qwen3.8-**27B**

下方还有表格基准测试：

<div><figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FWijY5wYmLx70Ao2ol7Tj%2Fqwen%20benchmark%201.jpeg?alt=media&amp;token=f69ebf50-cf35-426f-a610-8eeb32151d90" alt=""><figcaption></figcaption></figure> <figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FELa2vq8Wh3oelQi6Bf07%2Fqwen%20benchmark%202.jpeg?alt=media&amp;token=2cc6d085-630d-4fa1-9b50-784b22a1fb04" alt=""><figcaption></figcaption></figure></div>

#### 文本性能

<details>

<summary>点击展开完整表格</summary>

| 基准测试                                 | Qwen3.8-27B               | Qwen3.6-27B          | Qwen3.7-Plus         | Muse Glimmer-30B | Opus4.6 Max |
| ------------------------------------ | ------------------------- | -------------------- | -------------------- | ---------------- | ----------- |
| **编程**                               |                           |                      |                      |                  |             |
| 智能体终端编程Terminal Bench 2.1 (Terminus) | 73.0                      | 63.4                 | 64.0                 | 51.7             | **78.2**    |
| 智能体编程SWE-bench Pro                   | **61.7**                  | 53.5                 | 57.6                 | 51.2             | 53.4        |
| 仓库级代码生成NL2Repo-Bench                 | 42.3                      | 36.2                 | 41.1                 | --               | **47.6**    |
| 智能体编程DeepSWE 1.1                     | **42.2**                  | 13.3                 | 14.2                 | --               | --          |
| 软件工程QwenSWEBench                     | **79.0**                  | 49.3                 | 59.2                 | --               | 63.8        |
| **智能体**                              |                           |                      |                      |                  |             |
| 长周期办公任务CoWorkBench                   | **70.7**                  | 61.0                 | 65.1                 | --               | 68.2        |
| 专业工作任务JobBench                       | **33.4**                  | 21.8                 | 27.6                 | --               | --          |
| 前沿智能体任务Agents' Last Exam             | Pass\@1**20.4**得分**42.9** | Pass\@110.6Score27.3 | Pass\@113.2Score33.6 | --               | --          |
| 通用                                   |                           |                      |                      |                  |             |
| 指令遵循IFBench                          | **79.5**                  | 69.1                 | 79.1                 | 77.0             | 62.5        |
| 科学推理GPQA Diamond                     | 89.2                      | 87.8                 | 90.3                 | 83.5             | **91.3**    |
| 多学科推理HLE                             | 30.8                      | 24.0                 | 34.7                 | 22.0             | **40.0**    |
| 竞赛编程LiveCodeBench v6                 | **90.3**                  | 83.9                 | 89.6                 | --               | 88.8        |

</details>

## **Qwen3.8-2.4T-A95B**

Qwen3.8-**2.4T**-A95B 是一款参数量为 2.4T（激活参数量为 95B）的模型，性能可与 GPT-5.6 Sol 媲美。全精度 Qwen3.8-2.4T-A95B 需要 4.9TB 存储空间，而 1 位 [Unsloth](https://github.com/unslothai/unsloth) Dynamic GGUF 仅需 **397GB（体积缩小 91%）**，更大的 IQ1\_S 则需要 508GB。

### :gear: 使用指南

#### Qwen3.8-**2.4T** 需求：

* [Qwen3.8-**2.4T-A95B**-GGUF](https://huggingface.co/unsloth/Qwen3.8-2.4T-A95B-GGUF)

| 动态 1 位 XXXS | 动态 1 位标准 | 动态 2 位 | Q8\_0  | BF16（无损） |
| ----------- | -------- | ------ | ------ | -------- |
| 397GB       | 508GB    | 657 GB | 2.6 TB | 4.9 TB   |

### 推荐设置

Qwen3.8-2.4T 是 **纯思考型**，而 Qwen3.8-Max 是混合型。

| 默认                      |
| ----------------------- |
| temperature = 1.0       |
| top\_p = 0.95           |
| top\_k = 20             |
| min\_p = 0.0            |
| presence\_penalty = 0.0 |

* 上下文长度 = 最多 `1,010,000`
* `temperature=1.0`, `top_p=0.95`, `top_k=20`, `min_p=0.0`, `presence_penalty=0.0`, `repetition_penalty=1.0`

如果模型能装入内存，使用 B200 时生成速度约为 20 tokens/s，吞吐量超过 120 tokens/s。一个简单的经验法则：RAM+VRAM ≈ 量化后的模型大小；否则模型仍可运行，只是由于从磁盘卸载数据，速度会慢得多。

### 运行 Qwen3.8 指南

现在可以在 llama.cpp 和 Unsloth Desktop 中运行 Qwen3.8。对于大型 Qwen3.8-2.T 模型，我们将使用 397GB `IQ1_XXXS` 量化格式（名为 Q1\_0），以获得最佳的易用性和准确性，并且至少需要 450GB RAM。你也可以根据需要更改量化类型。

* **2.4T-A95B：** [Qwen3.8-**2.4T-A95B**-GGUF](https://huggingface.co/unsloth/Qwen3.8-2.4T-A95B-GGUF)

<a href="https://unsloth.ai/pages/d03b47babbad2abc249a0979b2d44af1f02bbd20#run-qwen3.8-in-unsloth-desktop" class="button primary">在 Unsloth Desktop 中运行</a><a href="https://unsloth.ai/pages/d03b47babbad2abc249a0979b2d44af1f02bbd20#run-qwen3.8-in-llama.cpp" class="button secondary">在 llama.cpp 中运行</a>

### 🦥 在 Unsloth Desktop 中运行

Qwen3.8 可在 [Unsloth Desktop](#run-qwen3.8-in-unsloth-desktop)中运行，这是一款用于本地 AI 的开源 UI 应用。 **Unsloth 会自动将数据卸载到 RAM，并检测多 GPU 配置**。使用 Unsloth Desktop，你可以在 **macOS、Windows**和 Linux 上本地运行模型。\
\
前往 [Unsloth Chat](https://unsloth.ai/docs/zh/xin/studio/chat.md) 或 Model hub，在搜索栏中搜索 Qwen3.8，然后下载所需的模型和量化版本。接着运行即可。

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FpEVd0BlF4VCVbXoNQLRa%2FScreenshot%202026-11-09%20at%2011.15.41%E2%80%AFPM.png?alt=media&amp;token=a4a985da-109d-45c9-a8e3-517af2d44cb1" alt=""><figcaption></figcaption></figure>

### Qwen3.8-2.4T-A95B 全新 1 位数据类型

我们扩展了 llama.cpp 中每个权重为 1.5625 位的 IQ1\_S，通过减少码本中的条目数量，将其降至 1.1875 bpw。我们发现这种方式适用于大型模型，并且仍能保留很高的准确度。我们还发现，这些新数据类型适用于训练后量化（PTQ），无需进行量化感知训练或蒸馏（QAT 或 QAD）。 [Qwen3.8-**2.4T-A95B**-GGUF](https://huggingface.co/unsloth/Qwen3.8-2.4T-A95B-GGUF)

<details>

<summary>点击查看详细分析</summary>

由于命名问题，我们使用了 TQ2\_0、TQ1\_0 和 Q1\_0，否则它们不会显示在 HF 仓库中。

<table><thead><tr><th>数据类型</th><th width="147.60000610351562">名称</th><th width="114.39996337890625" align="right">每权重位数</th><th width="106.20001220703125" align="right">条目数</th><th width="113.413330078125" align="right">索引位数</th><th width="106.4000244140625" align="right">块</th></tr></thead><tbody><tr><td>IQ1_S</td><td>IQ1_S</td><td align="right"><strong>1.5625</strong></td><td align="right">2048</td><td align="right">11</td><td align="right">50 B</td></tr><tr><td>UD-IQ1_XS</td><td>TQ2_0</td><td align="right">1.4375</td><td align="right">1024</td><td align="right">10</td><td align="right">46 B</td></tr><tr><td>UD-IQ1_XXS</td><td>TQ1_0</td><td align="right">1.3125</td><td align="right">512</td><td align="right">9</td><td align="right">42 B</td></tr><tr><td>UD-IQ1_XXXS</td><td>Q1_0</td><td align="right"><strong>1.1875</strong></td><td align="right">256</td><td align="right">8</td><td align="right">38 B</td></tr></tbody></table>

我们仍在对新的数据类型进行基准测试，但对于其他大型模型，我们取得了 **不错的结果，且无需进行任何 QAT / QAD**:

| 数据类型         |     GiB |      PPL |      KLD |  top-p |
| ------------ | ------: | -------: | -------: | -----: |
| IQ1\_S       | 553.204 | 2.578876 | 0.564553 | 78.882 |
| UD-IQ1\_XS   | 513.583 | 2.931261 | 0.690161 | 75.726 |
| UD-IQ1\_XXS  | 473.961 | 3.540383 | 0.876007 | 71.284 |
| UD-IQ1\_XXXS | 434.340 | 4.488796 | 1.109944 | 66.257 |

</details>

### :llama: 在 llama.cpp 中运行 Qwen3.8-2.4T

{% stepper %}
{% step %}
我们需要使用特定的 IQ1\_XXXS 分支 [此处](https://github.com/unslothai/llama.cpp/pull/61). 你也可以按照下面的构建说明操作。将 `-DGGML_CUDA=ON` 改为 `-DGGML_CUDA=OFF` 如果你没有 GPU，或者只想使用 CPU 进行推理。 **对于 Apple Mac / Metal 设备**，请设置 `-DGGML_CUDA=OFF` 然后照常继续操作——Metal 支持默认已启用。

如果你只想运行标准的 `IQ1_S` 和其他量化版本，那么 [正常编译 llama.cpp](#run-qwen3.8-in-llama.cpp):

```bash
apt-get update
apt-get install pciutils build-essential cmake curl libcurl4-openssl-dev -y
git clone --branch iq1-narrow https://github.com/unslothai/llama.cpp
cmake llama.cpp -B llama.cpp/build \
    -DBUILD_SHARED_LIBS=OFF -DGGML_CUDA=ON
cmake --build llama.cpp/build --config Release -j --clean-first --target llama-cli llama-mtmd-cli llama-server llama-gguf-split
cp llama.cpp/build/bin/llama-* llama.cpp
```

{% endstep %}

{% step %}
通过以下方式下载模型（需先安装 `pip install huggingface_hub`）。你可以选择 `Q1_0` 来运行 `IQ1_XXXS` ，也可以选择其他量化版本，例如 `Q8_0` 。如果下载卡住，请参阅： [Hugging Face Hub、XET 调试](https://unsloth.ai/docs/zh/ji-chu-zhi-shi/troubleshooting-and-faqs/hugging-face-hub-xet-debugging.md)

```bash
pip install -U "huggingface_hub[cli]"
hf download unsloth/Qwen3.8-2.4T-A95B-GGUF \
    --local-dir unsloth/Qwen3.8-2.4T-A95B-GGUF \
    --include "*Q1_0*" # Use "*IQ2_XXS*" for 2-bit
```

{% endstep %}

{% step %}
要在 llama-cli 中运行模型，请参考以下代码片段。请记得 [根据你的使用场景](#recommended-settings) 更改设置。

{% code overflow="wrap" %}

```bash
./llama.cpp/llama-cli \
    --model unsloth/Qwen3.8-2.4T-A95B-GGUF/UD-Q1_0/Qwen3.8-2.4T-A95B-UD-Q1_0-00001-of-00010.gguf \
    --temp 1.0 \
    --top-p 0.95 \
    --top-k 20 \
    --min-p 0.0
```

{% endcode %}
{% endstep %}

{% step %}
要运行通用的 UD-IQ1\_S，可以这样做：

{% code overflow="wrap" %}

```bash
pip install -U "huggingface_hub[cli]"
hf download unsloth/Qwen3.8-2.4T-A95B-GGUF \
    --local-dir unsloth/Qwen3.8-2.4T-A95B-GGFF \
    --include "*IQ1_S*" # Use "*IQ2_XXS*" for 2-bit
```

{% endcode %}
{% endstep %}

{% step %}
接下来运行它：

{% code overflow="wrap" %}

```bash
./llama.cpp/llama-cli \
    --model unsloth/Qwen3.8-2.4T-A95B-GGUF/UD-IQ1_S/Qwen3.8-2.4T-A95B-UD-IQ1_S-00001-of-00012.gguf \
    --temp 1.0 \
    --top-p 0.95 \
    --top-k 20 \
    --min-p 0.0
```

{% endcode %}
{% endstep %}
{% endstepper %}

#### Qwen3.8-**2.4T 基准测试**

<figure><img src="https://2657992854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxhOjnexMCB3dmuQFQ2Zq%2Fuploads%2FWP0nBgaQcnnAGjqG1jyQ%2Fqwen3.8%20bench.jpg?alt=media&amp;token=92a0d19c-51cb-4df2-a4f5-334fe08e6a21" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://unsloth.ai/docs/zh/mo-xing/qwen3.8.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
