Skip to content

Commit 8947e55

Browse files
committed
print some sizes and shapes.
1 parent f94a4ef commit 8947e55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/models/lora.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,7 @@ def _unfuse_lora(self):
427427

428428
def forward(self, hidden_states: torch.Tensor, scale: float = 1.0) -> torch.Tensor:
429429
if self.lora_layer is None:
430+
print("hidden_states.size(): ", hidden_states.size(), " self.weight.size(): ", self.weight.size())
430431
out = super().forward(hidden_states)
431432
return out
432433
else:

0 commit comments

Comments
 (0)