Skip to content

Conversation

robeyh
Copy link

@robeyh robeyh commented Jul 26, 2025

What

Rough update to allow for a cache_threshold float to be added to the sampler.json object.

If it's present and block caching is turned on, then it uses that value instead of the default 0.2 or 0.12. If it is missing, then old behavior is the default.

Why

I was finding that I was tweaking these values for different samplers/schedulers as well as wanting a different value for live mode. This seemed like the simplest path to get the functionality I wanted. Not sure if it will fit within the big-picture plan for krita-ai, but wanted to share in case it was useful or would inspire a more proper implementation.

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