The SamplerDPMPP_2M_SDE node creates a DPM++ 2M SDE sampler for diffusion models. This sampler uses second-order differential equation solvers with stochastic differential equations to generate samples. It provides different solver types and noise handling options to control the sampling process.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `solver_type` | The type of differential equation solver to use for the sampling process | STRING | Yes | `"midpoint"`<br>`"heun"` |
| `eta` | Controls the stochasticity of the sampling process (default: 1.0) | FLOAT | Yes | 0.0 - 100.0 |
| `s_noise` | Controls the amount of noise added during sampling (default: 1.0) | FLOAT | Yes | 0.0 - 100.0 |
| `noise_device` | The device where noise calculations are performed. When set to "cpu", the sampler uses CPU-based noise generation; when set to "gpu", it uses GPU-based noise generation for potentially faster performance (default: "gpu") | STRING | Yes | `"gpu"`<br>`"cpu"` |

## Outputs

| Output Name | Description | Data Type |
| --- | --- | --- |
| `sampler` | A configured sampler object ready for use in the sampling pipeline | SAMPLER |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/SamplerDPMPP_2M_SDE/en.md)

---
**Source fingerprint (SHA-256):** `1f699504ddefc6bdebee0fbad31b59aa38611f0fcdc40a15898be3db184872a6`
