Skip to content

Commit dc020dc

Browse files
committed
bump + ruff
1 parent 5df18ac commit dc020dc

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

heavyball/utils.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2921,8 +2921,6 @@ def _mv(x):
29212921
return cond(x_norm > 0, _inner, lambda: x_norm.squeeze().clone()).squeeze()
29222922

29232923

2924-
2925-
29262924
@decorator_knowngood
29272925
def clamped_max_singular_value(
29282926
A: Tensor, min: float, max_svd: int = 0, use_cholesky: bool = False, power_iter: int = 16
@@ -3136,7 +3134,7 @@ def psgd_pro_update_precond(
31363134
lower_bount_beta: float,
31373135
power_iter: int,
31383136
dampening: float,
3139-
max_step_size: float = 1/8
3137+
max_step_size: float = 1 / 8,
31403138
) -> None:
31413139
"""Update Kronecker product preconditioner Q with Q0.5EQ1.5 (PRO) method."""
31423140
psgd_balance_Q(Q)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "heavyball"
77
description = "Compile-first PyTorch optimizer library - AdamW, Muon, SOAP/Shampoo, PSGD, Schedule-Free, and 30+ more with torch.compile fusion and composable features"
8-
version = "3.0.0"
8+
version = "3.0.1"
99
authors = [{ name = "HeavyBall Authors", email = "github.heavyball@nestler.sh" }]
1010
classifiers = ["Intended Audience :: Developers",
1111
"Intended Audience :: Science/Research",

0 commit comments

Comments
 (0)