Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent reeval if nothing changed #53

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maludwig
Copy link

I use the Random Prompt generator to have the same random prompt in all of my CLIPs, but there was a bug for the node, where it would always unconditionally recompute, which meant that when adding tiny things to a heavy compute graph, it took forever, rather than an eyeblink.

This change will only force recompute if the text, seed, or autorefresh properties change.

Since I don't truly understand the other nodes, this is just for the one I use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant