Skip to content

Commit a59d900

Browse files
committed
bump version for klsoap
1 parent 1f17c98 commit a59d900

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

heavyball/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1281,7 +1281,7 @@ def compute_correction(self, fp32, narrow):
12811281
ls = (_log_ulp(narrow) - 1).float()
12821282
e_norm = _scale_by_exp2(e, -ls)
12831283
scaled = e_norm.clamp(-1.0, 1.0) * self.smax
1284-
# SR on the int correction the bits below the correction's resolution.
1284+
# SR on the int correction (the bits below the correction's resolution)
12851285
# narrow is RNE so |e| ≤ ULP/2, keeping `scaled` in [-smax, smax]; SR
12861286
# adds at most 1 unit of correction (= ULP/(2*smax)) of error and is
12871287
# unbiased on the lowest representable bits.

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.1"
8+
version = "3.1.0"
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)