-
-
Notifications
You must be signed in to change notification settings - Fork 265
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
[Feature]: Hope to optimize #230
Comments
Do you mean ControlNet V2V? Can you give me more concrete context, like when the VRAM consumption is high? Do you get OOM before generation starts? |
yes V2V,my 4090 ,22-24g,OOM is? |
3 seconds 480p, 24 frames of video, Controlnet is canny, 4090 takes 1 and a half hours. Did I set it incorrectly? |
If the frame number is 90, I don’t think it will OOM (cuda out of memory). I have tested locally with 95 frames, 512*512 You may want to use something like sdp or xformers. If the frame number is ~300, one user reported that OOM will happen before generation starts (most likely because of CN). I will try to address this in #224 If you set output to be 1024*1024, it is absolutely impossible to prevent OOM, unfortunately. |
This comment was marked as resolved.
This comment was marked as resolved.
@continue-revolution thank you for you reply,thus the controlnet v2v is for txt2image,is the understand correct? |
For v1.9.2, yes. For v1.10.0 which will come later this week, not really. ControlNet v2v will be available for both t2i and i2i batch. |
@okay,it's cool. |
NOTE – I have an RTX 2060 6 VRAM GPU and i can make 512×768 animations at 8fps and 124 max frames and get great results.... but if i use an 1024×576 model – it will OOM and crash. I can make an animation of 512×512 of 64 frames max in less tan 10 minutes using SDP and reducing BATCH CONTEXT to 8.... in MY case, that works a charm! here is a sample https://www.youtube.com/shorts/NLt6HqUgBFM |
V2V VRAM problem should have been resolved in v1.11.1 |
Expected behavior
When using video guidance for video style rendering, it is common to get stuck and the GPU usage is very high (4090). Can we optimize it.
The text was updated successfully, but these errors were encountered: