You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Model is reloaded every time seed changes.
If you use the seed generator from SD Parameter Generator, ComfyUi always reloads the checkpoint into memory, which makes the generation process slow. Current workaround is using a separated seed generator.
Reproduction steps
Use ParameterGenerator to load checkpoint model in your workflow.
Set a new random seed
See that the checkpoint is always loading at the beggining of every workflow run, as opposed to loading only on the first run
Image file
No response
The text was updated successfully, but these errors were encountered:
I also noticed this issue, but I haven't found a good solution yet. If I change the checkpoint to a class variable, it can prevent repeated loading, but it also means that the checkpoint won't be unloaded by ComfyUI's checkpoint management mechanism. As a result, even if the user removes this node, the loaded checkpoint will remain until the server is restarted.
receyuki
changed the title
[BUG] - title
[BUG] - Model is reloaded every time seed changes
Feb 4, 2025
Description
Model is reloaded every time seed changes.
If you use the seed generator from SD Parameter Generator, ComfyUi always reloads the checkpoint into memory, which makes the generation process slow. Current workaround is using a separated seed generator.
Reproduction steps
Image file
No response
The text was updated successfully, but these errors were encountered: