Skip to content

Commit

Permalink
default scale on Residual to None
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Oct 31, 2024
1 parent f6b5082 commit cfbd064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nGPT_pytorch/nGPT.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __init__(
fn: Module,
dim: int,
init: float,
scale: float
scale: float | None = None
):
super().__init__()
self.fn = fn
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 = "nGPT-pytorch"
version = "0.1.21"
version = "0.1.22"
description = "nGPT"
authors = [
{ name = "Phil Wang", email = "[email protected]" }
Expand Down

0 comments on commit cfbd064

Please sign in to comment.