We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16e1989 commit 931d824Copy full SHA for 931d824
1 file changed
modules/optimizer/muon.py
@@ -44,7 +44,8 @@
44
]
45
46
# safety factor for numerical stability (but exclude last polynomial )
47
-safety_factor = 1.01 # 'Dao-AILab/gram-newton-schulz' set 1.05
+# safety_factor = 1.01 # 'Dao-AILab/gram-newton-schulz' set 1.05
48
+safety_factor = 1.05
49
POLAR_EXPRESS_COEFFICIENTS = [
50
(a / safety_factor , b / safety_factor**3 , c / safety_factor**5)
51
for (a, b, c) in _unmodified_polar_express_coefficients
0 commit comments