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

# UNETLoader - ComfyUI Built-in Node Documentation

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

UNETLoader 节点旨在通过名称加载 U-Net 模型，方便在系统中使用预训练的 U-Net 架构。
这个节点名称已更新为 `Load Diffusion Model`.

该节点会自动检测位于 `ComfyUI/models/diffusion_models` 文件夹中的模型。

## 输入

| 参数名称     | 数据类型           | 作用                                                           |
| -------- | -------------- | ------------------------------------------------------------ |
| `UNet名称` | COMBO\[STRING] | 指定要加载的 U-Net 模型的名称。此名称用于在预定义的目录结构内定位模型，从而实现不同 U-Net 模型的动态加载。 |
| `数据类型`   | ...            |                                                              |

fp8\_e4m3fn和fp9\_e5m2  表示不同精度和动态范围

## 输出

| 参数名称    | 数据类型  | 作用                               |
| ------- | ----- | -------------------------------- |
| `model` | MODEL | 返回加载的 U-Net 模型，允许在系统中用于进一步处理或推理。 |

## UNET Loader Guide | Load Diffusion Model Workflow Example

1. 安装 UNET 模型
2. 下载工作流文件
3. 在 ComfyUI 中导入工作流
4. 选择 UNET 模型并运行工作流
