The SamplerLMS node creates a Least Mean Squares (LMS) sampler for use in diffusion models. It generates a sampler object that can be used in the sampling process, allowing you to control the order of the LMS algorithm for numerical stability and accuracy.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `order` | The order parameter for the LMS sampler algorithm, which controls the numerical method's accuracy and stability (default: 4) | INT | Yes | 1 to 100 |

## Outputs

| Output Name | Description | Data Type |
| --- | --- | --- |
| `sampler` | A configured LMS sampler object that can be used 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/SamplerLMS/en.md)

---
**Source fingerprint (SHA-256):** `fc1f7965a2f1dc78d9ce1181fa0a1f584c2e6b5c3404c4d5463a765498e20536`
