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

# SaveLoRANode - ComfyUI Built-in Node Documentation

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

SaveLoRA 节点将 LoRA（低秩适配）模型保存到您的输出目录。它接收一个 LoRA 模型作为输入，并创建一个带有自动生成文件名的 safetensors 文件。您可以自定义文件名前缀，并可选择在文件名中包含训练步数，以便更好地组织文件。

## 输入

| 参数       | 描述                                                   | 数据类型        | 是否必填 | 范围 |
| -------- | ---------------------------------------------------- | ----------- | ---- | -- |
| `lora`   | 要保存的 LoRA 模型。请勿使用带有 LoRA 层的模型。                       | LORA\_MODEL | 是    | -  |
| `prefix` | 用于保存 LoRA 文件的前缀（默认值："loras/ComfyUI\_trained\_lora"）。 | STRING      | 是    | -  |
| `steps`  | 可选：LoRA 已训练的步数，用于命名保存的文件。                            | INT         | 否    | -  |

## 输出

| 输出名称 | 描述                             | 数据类型 |
| ---- | ------------------------------ | ---- |
| *无*  | 此节点不返回任何输出，但会将 LoRA 模型保存到输出目录。 | -    |

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

***

**Source fingerprint (SHA-256):** `06a1067433aa4b720b51050b09fbad4870caf12c5e92f788d44ea022a39efef4`
