krita-ai-diffusion
krita-ai-diffusion copied to clipboard
Magcache Support
Added support for MagCache. It has been tested locally link (custom server) with ComfyUI. MagCache is commonly used in video models such as FramePack and Wan, and it also supports models like Flux and Flux Kontext. This support includes updates to nodes and adjustments to detailed parameters.
https://github.com/Zehong-Ma/ComfyUI-MagCache
Looks interesting.
I have two requests:
- Show only one button (enable/disable) OR one slider (strength). I don't think all the parameters should be exposed, unless there is a good reason to tweak them for certain scenarios. Default values for the models can be passed to the node.
- There should be no need for
PerformanceSettingsinworkflow.py? The parameter is already part ofCheckpointInput. Please handle MagCache in the existingload_checkpoint_with_lorafunction (similar to WaveSpeed), don't introduce a new one.
Thanks for Acly's detailed review. I'll try to address these issues. I think we might keep a threshold setting to accommodate models that will use MagCache in the future, but clean up unnecessary code