Skip to content
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

Number of controlnet blocks #112

Open
bjtuln opened this issue Sep 18, 2024 · 1 comment
Open

Number of controlnet blocks #112

bjtuln opened this issue Sep 18, 2024 · 1 comment

Comments

@bjtuln
Copy link

bjtuln commented Sep 18, 2024

Why add two controlnet blocks in 19 MMDIT blocks repeatedly?

if block_controlnet_hidden_states is not None:
img = img + block_controlnet_hidden_states[index_block % 2]

@DidiD1
Copy link

DidiD1 commented Sep 19, 2024

Yes, but i think it's mainly because of the 'OOM' problem. You can define the controlnet by yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants