mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
update
This commit is contained in:
@@ -671,7 +671,7 @@ class ChromaTransformer2DModel(
|
||||
)
|
||||
if torch.is_grad_enabled() and self.gradient_checkpointing:
|
||||
encoder_hidden_states, hidden_states = self._gradient_checkpointing_func(
|
||||
block, hidden_states, encoder_hidden_states, temb, image_rotary_emb, attention_mask=attention_mask
|
||||
block, hidden_states, encoder_hidden_states, temb, image_rotary_emb, attention_mask
|
||||
)
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user