Extraltodeus / ComfyUI-AutomaticCFG

If your image was a pizza and the CFG the temperature of your oven: this is a thermostat that ensures it is always cooked like you want. Also adds a 30% speed increase. For ComfyUI / StableDiffusion
https://www.patreon.com/extraltodeus
355 stars 22 forks source link

[FR] Support AnimateDiff #46

Open DrJKL opened 3 months ago

DrJKL commented 3 months ago

Just opening a feature request to track this. Previously mentioned in #24

Extraltodeus commented 3 months ago

Hello! Have you tried to use simply the Automatic CFG node with it? Like, without any boost?

DrJKL commented 3 months ago

Let me see if I can get a workflow together when I get home. I think the last time I tried using the preset loader and the basic node with all the variations of hard and boost.

DrJKL commented 3 months ago

The hard failures happen with some of the presets. The basic Automatic CFG mode looks like it is working. ad_auto_cfg.json (based on this example)

Extraltodeus commented 3 months ago

wooo that's a lot of nodes! I haven't loaded anything right now but I'd bet like 10$ that it can run with the basic animate diff (the evolved does not work for me, it throws a device mismatch which I can not fix, had the exact same mystery while trying to run moondream on two GPUs).

Would you be willing to try the most basic setup? Like really loader>auto_cfg>animate diff>sampler

If anything, my other node Uncond Zero now actually behaves like the automatic CFG if your CFG is above one. This version is more generally compatible with other things as it does not patch the sampling function, only the CFG function. Maybe you could also give this one a try?