> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-partner-nodes-consolidate.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SamplerDPMPP_2M_SDE - ComfyUI Built-in Node Documentation

> SamplerDPMPP2MSDE 节点为扩散模型创建一个 DPM++ 2M SDE 采样器。

SamplerDPMPP\_2M\_SDE 节点为扩散模型创建一个 DPM++ 2M SDE 采样器。该采样器使用二阶微分方程求解器结合随机微分方程来生成样本。它提供了不同的求解器类型和噪声处理选项来控制采样过程。

## 输入

| 参数        | 描述                                                                                         | 数据类型  | 必需 | 范围                         |
| --------- | ------------------------------------------------------------------------------------------ | ----- | -- | -------------------------- |
| `求解器类型`   | 用于采样过程的微分方程求解器类型（默认值："midpoint"）                                                           | COMBO | 是  | `"midpoint"`<br />`"heun"` |
| `eta`     | 控制采样过程的随机性（默认值：1.0）                                                                        | FLOAT | 是  | 0.0 - 100.0                |
| `s_noise` | 控制采样过程中添加的噪声量（默认值：1.0）                                                                     | FLOAT | 是  | 0.0 - 100.0                |
| `设备`      | 执行噪声计算的设备。设置为 "cpu" 时，采样器使用基于 CPU 的噪声生成；设置为 "gpu" 时，采样器使用基于 GPU 的噪声生成，可能获得更快的性能（默认值："gpu"） | COMBO | 是  | `"gpu"`<br />`"cpu"`       |

注意：`eta`、`s_noise` 和 `noise_device` 被标记为高级参数，显示在节点 UI 的高级部分中。

## 输出

| 输出名称      | 描述                      | 数据类型    |
| --------- | ----------------------- | ------- |
| `sampler` | 一个已配置好的采样器对象，可直接用于采样流程。 | SAMPLER |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/SamplerDPMPP_2M_SDE/zh.md)

***

**Source fingerprint (SHA-256):** `42f5f098fa7573ca8a1a6085b72675ee6cb0ae8e7865c5793a815a6ef2495f82`
