We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16170c6 commit 3376252Copy full SHA for 3376252
src/diffusers/models/transformers/transformer_sd3.py
@@ -306,7 +306,7 @@ def custom_forward(*inputs):
306
return custom_forward
307
308
ckpt_kwargs: Dict[str, Any] = {"use_reentrant": False} if is_torch_version(">=", "1.11.0") else {}
309
- hidden_states = torch.utils.checkpoint.checkpoint(
+ encoder_hidden_states, hidden_states = torch.utils.checkpoint.checkpoint(
310
create_custom_forward(block),
311
hidden_states,
312
encoder_hidden_states,
0 commit comments