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

# ModelPatchLoader - ComfyUI Built-in Node Documentation

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

ModelPatchLoader 节点从 model\_patches 文件夹加载专门的模型补丁。它会自动检测补丁文件的类型，加载相应的模型架构，然后将其封装在 ModelPatcher 中，以便在工作流中使用。此节点支持不同的补丁类型，包括 controlnet 块、特征嵌入模型以及其他专门架构。

## 输入

| 参数   | 描述                            | 数据类型   | 是否必填 | 取值范围                           |
| ---- | ----------------------------- | ------ | ---- | ------------------------------ |
| `名称` | 从 model\_patches 目录加载的模型补丁文件名 | STRING | 是    | model\_patches 文件夹中所有可用的模型补丁文件 |

## 输出

| 输出名称          | 描述                               | 数据类型         |
| ------------- | -------------------------------- | ------------ |
| `MODEL_PATCH` | 加载的模型补丁，封装在 ModelPatcher 中，用于工作流 | MODEL\_PATCH |

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

***

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