Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
LazyCache is a homebrew version of EasyCache that provides an even easier implementation. It works with any model in ComfyUI and adds caching functionality to reduce computation during sampling. While it generally performs worse than EasyCache, it can be more effective in some rare cases and offers universal compatibility.

Inputs

ParameterData TypeRequiredRangeDescription
modelMODELYes-The model to add LazyCache to.
reuse_thresholdFLOATNo0.0 - 3.0The threshold for reusing cached steps (default: 0.2).
start_percentFLOATNo0.0 - 1.0The relative sampling step to begin use of LazyCache (default: 0.15).
end_percentFLOATNo0.0 - 1.0The relative sampling step to end use of LazyCache (default: 0.95).
verboseBOOLEANNo-Whether to log verbose information (default: False).

Outputs

Output NameData TypeDescription
modelMODELThe model with LazyCache functionality added.