Skip to content

Commit afaebbd

Browse files
committed
wip
1 parent 0fba4cc commit afaebbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/models/controlnets/controlnet_sd3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ def custom_forward(*inputs):
388388
**ckpt_kwargs,
389389
)
390390
else:
391+
# SD3.5 8b controlnet use single transformer block, which does not use `encoder_hidden_states`
391392
hidden_states = torch.utils.checkpoint.checkpoint(
392393
create_custom_forward(block), hidden_states, temb, **ckpt_kwargs
393394
)

0 commit comments

Comments
 (0)