> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-custom-nodes-sdk-v2-frontend.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# LazyCache - ComfyUI Built-in Node Documentation

> LazyCache 是 EasyCache 的自制版本，提供了更简单的实现。

LazyCache 是 EasyCache 的自制版本，提供了更简单的实现。它与 ComfyUI 中的任何模型兼容，并添加缓存功能以减少采样期间的计算量。虽然其性能通常不如 EasyCache，但在某些罕见情况下可能更有效，并且具有通用兼容性。

## 输入

| 参数      | 描述                               | 数据类型    | 是否必填 | 范围        |
| ------- | -------------------------------- | ------- | ---- | --------- |
| `模型`    | 要添加 LazyCache 功能的模型。             | MODEL   | 是    | -         |
| `重用阈值`  | 用于复用缓存步骤的阈值（默认：0.2）。             | FLOAT   | 否    | 0.0 - 3.0 |
| `起始百分比` | 开始使用 LazyCache 的相对采样步数（默认：0.15）。 | FLOAT   | 否    | 0.0 - 1.0 |
| `结束百分比` | 结束使用 LazyCache 的相对采样步数（默认：0.95）。 | FLOAT   | 否    | 0.0 - 1.0 |
| `详细模式`  | 是否记录详细信息（默认：False）。              | BOOLEAN | 否    | -         |

注意：`reuse_threshold`、`start_percent`、`end_percent` 和 `verbose` 是可选的进阶选项。

## 输出

| 输出名称    | 描述                   | 数据类型  |
| ------- | -------------------- | ----- |
| `model` | 已添加 LazyCache 功能的模型。 | MODEL |

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

***

**Source fingerprint (SHA-256):** `78f9c13473567e068fc2be35b2f8f5aa459d43d3f13300a6ea858af98d3e2a44`
