Skip to content

Commit 68a02f8

Browse files
committed
update: remove torch.jit.script decorator
1 parent 6772208 commit 68a02f8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pytorch_optimizer/optimizer/psgd_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ def triu_with_diagonal_and_above(a: torch.Tensor) -> torch.Tensor:
7272
return torch.triu(a, diagonal=0) + torch.triu(a, diagonal=1)
7373

7474

75-
@torch.jit.script
7675
def update_precondition_dense(
7776
q: torch.Tensor, dxs: List[torch.Tensor], dgs: List[torch.Tensor], step: float = 0.01, eps: float = 1.2e-38
7877
) -> torch.Tensor:

0 commit comments

Comments
 (0)