-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
First frame in animation is too noisy after update #532
Comments
Do these images have workflows embedded? If not, could you make a simple workflow that replicates the issue you are seeing? |
Thank you for your quick reply! I will reply to you a bit later. I will experiment with simple workflows. My workflows are too complicated and overloaded with other nodes. |
pay attention to Sample Settings 🎭🅐🅓/seed_gen/gpu |
After trying out the workflows for a bit, I've narrowed down the issue - it only affects ancestral samplers. For example, if you switch to euler (or any other non-ancestral sampler), you will not see the noise issue whether you use gpu noise or not. (and before and after results are likely the same, but i haven't tried). There was a change in ComfyUI somewhat recently to allow ancestral samplers to have more reproducibility across a batch, but it looks like that has had a side effect. Somehow it breaks how I implemented GPU noise, I'll investigate some more and get back to you. |
comfyanonymous/ComfyUI@916d1e1 Looks like someone noticed the issue with ancestral samplers when using GPU noise in another node pack as well after the commit that did this. |
Even rolling back to the commits you wrote in your initial post, i can't get your 'before' results. Can you double check what commits you are on exactly for your 'before' results? |
Also, please post the full animations as well - if you make the uploads h264, they should be postable. |
To simplify testing, you can also leave the batch size at 8, so you dont trigger any contexts - the noisy results are reproducible with that too. |
interestingly, you can also replicate the weird noise if you even turn off AD and just do a single image of SD |
I did a fresh install of ComfyUI with just AnimateDiff-Evolved and VHS installed, and set them both back to October 24th commits, and i still get back the noisy results. At this point I am at a loss. Can you provide as much info as you can about your environment when you are in the 'before' phase? Your OS, pytorch versions, etc. |
FYI, there is no reason to use the GPU noise in terms of quality, so for the time being you can just change to non-GPU noise and you should be fine. But this is very odd that I am unable to reproduce your 'before' results, or that GPU noise is acting very weird when combined with ancestral samplers. I will try to go even further back in commits. |
Win10 pytorch version: 2.5.1+cu121
at first glance it did not bring the desired result, the noise became of a different character but it is there. (just changed seed_offset to -1, but left Auto1111(GPU) ). I will continue experiments (I haven't used today's update yet) non-ancestral euler works as expected. Identical before and after update
Yes, I know about it (in theory). Just when I switched to comfy I reproduced the results from A1111 and since then I left this setting
I pasted the code before this commit into sampling.py after update and it gives clean results (but a little different) |
Yes, everything is as in initial post
h264 |
I updated to pytorch version: 2.6.0+cu124 and its behavior is similar to 2.4.1+cu121 - before the update - clean, after the update - noise. |
after update (25.01.2025) Comfy and AnimateDiff-Evolved first frame in animation is too noisy
after returning to versions from 05.01.2025 animations become normal as they were before (AnimateDiff: git checkout 63b70f1 ; ComfyUI: git checkout caa6476a699f04ca1cd269a03423510b1a360d22)
example
before update (25.01.2025)
after update (25.01.2025)
Thank you for all your hard work!
The text was updated successfully, but these errors were encountered: