Comfy-Org / Comfy-Org/ComfyUI

Rebatch latent usage issues

Open
#1,957 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

I used comfyui to redraw hundreds of pictures, using two loras and two controlnets (using openpose and lineart models). Unfortunately, the graphics card memory OOM (torch.cuda.OutOfMemoryError: Allocation on device 0 would exceed allowed memory . (out of memory)), and then I found a way to use Rebatch Latent (batch_size is set to 1) to redraw one by one like sd without reporting OOM. I was happy that this solved the problem. Later I discovered that all the redrawn pictures had the same posture. I was a little confused. Did I use it wrong? The following is my workflow chart:
![Snipaste_2023-11-13_13-26-02](https://github.com/comfyanonymous/ComfyUI/assets/13151762/ad0a2965-af31-4876-9bdf-c416e3bb9313)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.