whitespace

This commit is contained in:
kijai 2026-05-23 18:37:51 +03:00
parent 5ecaf09544
commit 2aba5bafca

View File

@ -222,7 +222,7 @@ class LensJointAttention(nn.Module):
# [B, S, H, D] → [B, H, S, D] for attention, dels to avoid VRAM peaks # [B, S, H, D] → [B, H, S, D] for attention, dels to avoid VRAM peaks
q = torch.cat([img_q, txt_q], dim=1).transpose(1, 2) q = torch.cat([img_q, txt_q], dim=1).transpose(1, 2)
del img_q, txt_q del img_q, txt_q
k = torch.cat([img_k, txt_k], dim=1).transpose(1, 2) k = torch.cat([img_k, txt_k], dim=1).transpose(1, 2)
del img_k, txt_k del img_k, txt_k
v = torch.cat([img_v, txt_v], dim=1).transpose(1, 2) v = torch.cat([img_v, txt_v], dim=1).transpose(1, 2)