Skip to content

Commit

Permalink
address #9
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Dec 2, 2024
1 parent 9f733b0 commit ec10698
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pi_zero_pytorch/pi_zero.py
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ def forward(

action_tokens = actions_ff(action_tokens) + action_tokens

action_tokens = ff_ada_rmsnorm(action_tokens, time_cond)
action_tokens = ff_ada_layerscale(action_tokens, time_cond)

else:

Expand All @@ -1189,7 +1189,7 @@ def forward(

action_tokens = actions_ff(action_tokens) + action_tokens

action_tokens = ff_ada_rmsnorm(action_tokens, time_cond)
action_tokens = ff_ada_layerscale(action_tokens, time_cond)

if not inferencing:
# unpack and unembed to predictions
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.0.33"
version = "0.0.34"
description = "π0 in Pytorch"
authors = [
{ name = "Phil Wang", email = "[email protected]" }
Expand Down

0 comments on commit ec10698

Please sign in to comment.