> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-recommend-assets-api.mintlify.site/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.

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

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

## 输入参数

| 参数名       | 数据类型   | 必需 | 取值范围                       | 描述                     |
| --------- | ------ | -- | -------------------------- | ---------------------- |
| `求解器类型`   | STRING | 是  | `"midpoint"`<br />`"heun"` | 用于采样过程的微分方程求解器类型       |
| `eta`     | FLOAT  | 是  | 0.0 - 100.0                | 控制采样过程的随机性（默认值：1.0）    |
| `s_noise` | FLOAT  | 是  | 0.0 - 100.0                | 控制采样过程中添加的噪声量（默认值：1.0） |
| `噪波设备`    | STRING | 是  | `"gpu"`<br />`"cpu"`       | 执行噪声计算的设备              |

## 输出结果

| 输出名称      | 数据类型    | 描述                  |
| --------- | ------- | ------------------- |
| `sampler` | SAMPLER | 已配置的采样器对象，可在采样流程中使用 |
