Skip to content

Commit

Permalink
update: remove torch.jit.script decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
kozistr committed Feb 1, 2025
1 parent 6772208 commit 68a02f8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pytorch_optimizer/optimizer/psgd_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ def triu_with_diagonal_and_above(a: torch.Tensor) -> torch.Tensor:
return torch.triu(a, diagonal=0) + torch.triu(a, diagonal=1)


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

0 comments on commit 68a02f8

Please sign in to comment.