Skip to content

Commit 5f640a3

Browse files
committed
bug fix in chunking and test
1 parent f17a9cd commit 5f640a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/boltz/model/layers/outer_product_mean.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ def forward(self, m: Tensor, mask: Tensor, chunk_size: int = None) -> Tensor:
8383
z_out = z.to(m) @ sliced_weight_proj_o.T
8484
else:
8585
z_out = z_out + z.to(m) @ sliced_weight_proj_o.T
86-
# z_out = z_out + self.proj_o.bias # add bias
86+
87+
z_out = z_out + self.proj_o.bias # add bias
8788
return z_out
8889
else:
8990
mask = mask[:, :, None, :] * mask[:, :, :, None]

0 commit comments

Comments
 (0)