Comfy-Org / Comfy-Org/ComfyUI

About model cache mechanism。

Open
#6,579 6 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

### Your question

Hello,
this day i try to use ipadapter to run flux model, but I found a odd phenomenon, ipadapter node use it's own attenton module, layer and forward function,and it's use the ori flux model as input, use add_object_patch to insert this to ori comfyui flux model, but I found, when I change the weight of ipadapter, the node will re-execute but I found the input model become the model which has already fixed, So when I adjust the weight, it will add another ipadapter on it, rather than adjust the old weight. I don't know if it is because the cache mechanism, lead the input model changed.

### Logs

```powershell

```

### Other

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.