> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# SamplerDPMPP_2M_SDE - ComfyUI Built-in Node Documentation

> Complete documentation for the SamplerDPMPP_2M_SDE node in ComfyUI. Learn its inputs, outputs, parameters and usage.

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

## 输入

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

## 输出

| 输出名称      | 描述                    | 数据类型    |
| --------- | --------------------- | ------- |
| `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):** `4a6a16e3494e8270f3707e172f252e7fc4e1b65efbecd3dd086b1a1edc5ba23a`
