Skip to content

Commit

Permalink
add _compile kwarg to create_block_mask
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Jan 17, 2025
1 parent a771a4c commit 0f10bca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pi_zero_pytorch/pi_zero.py
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,8 @@ def forward(
),
Q_LEN = seq_len,
KV_LEN = seq_len,
device = state_tokens.device
device = state_tokens.device,
_compile = True,
)

score_mod_fn = softclamp_score_mod(self.attn_softclamp_value)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pi-zero-pytorch"
version = "0.1.5"
version = "0.1.6"
description = "π0 in Pytorch"
authors = [
{ name = "Phil Wang", email = "lucidrains@gmail.com" }
Expand Down

0 comments on commit 0f10bca

Please sign in to comment.