> ## 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.

# SamplerLMS - ComfyUI Built-in Node Documentation

> Complete documentation for the SamplerLMS 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/SamplerLMS/zh.md)

SamplerLMS 节点创建了一个用于扩散模型的最小均方（LMS）采样器。它生成一个可在采样过程中使用的采样器对象，允许您控制 LMS 算法的阶数以实现数值稳定性和准确性。

## 输入参数

| 参数   | 数据类型 | 必填 | 取值范围    | 描述                                  |
| ---- | ---- | -- | ------- | ----------------------------------- |
| `顺序` | INT  | 是  | 1 到 100 | LMS 采样器算法的阶数参数，控制数值方法的精度和稳定性（默认值：4） |

## 输出结果

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