Comfy-Org / Comfy-Org/ComfyUI

Flux loading issue, when the workflow is changed 

Open
#4,364 2 comments 0 reactions 0 assignees View on GitHub
Potential Bug
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Expected Behavior

Don't load Flux again, when the workflow is changed

### Actual Behavior

The model is loaded again, unnecessarily

### Steps to Reproduce

- Use Flux with the checkpoint loader. 
- Switch to an older Flux checkpoint with the Unet loader.   
- Before running the queue, replace the Unet loader, with checkpoint loader, to keep using the same model. 

But the Flux model will load again, and since RAM is already full from the previous workflow, the page file needs to increase massively, reducing available SSD space, for a while.  

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