heavyball 0.21.5__py3-none-any.whl → 0.21.6__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
heavyball/delayed_psgd.py CHANGED
@@ -10,7 +10,8 @@ from heavyball.utils import stochastic_lerp_, beta_debias
10
10
  from .utils import update_param_, warmup, psgd_precond_grad, init_Q_exprs, trust_region_clip_, PSGDBase, \
11
11
  split_p_and_g_in_group, triu_to_line, line_to_triu, promote
12
12
 
13
-
13
+ # TODO: E1123 00:51:55.423000 159394 site-packages/torch/_guards.py:283] [5/0] Error while creating guard:
14
+ # E1123 00:51:55.423000 159394 site-packages/torch/_guards.py:283] [5/0] Name: "G['psgd_precond_grad'].__defaults__[0]"
14
15
  @torch.compile(mode='max-autotune-no-cudagraphs', fullgraph=True, dynamic=False)
15
16
  def _compilable_psgd_precond_grad_(q, exprs, ea, p, lr, weight_decay, clip_fn):
16
17
  new = psgd_precond_grad(q, exprs, ea)
heavyball/utils.py CHANGED
@@ -965,7 +965,7 @@ class PSGDBase(StatefulOptimizer):
965
965
  psgd_balance_Q(q)
966
966
 
967
967
 
968
- @torch.compile(mode='max-autotune-no-cudagraphs', fullgraph=True, dynamic=True)
968
+ @torch.compile(mode='max-autotune-no-cudagraphs', fullgraph=True, dynamic=False)
969
969
  def _compilable_precond_grad_cached_(cached_q, ea, expr, param, lr, weight_decay, clip_fn):
970
970
  md = min_dtype(cached_q + [ea])
971
971
  new = torch.einsum(expr, *[c_.to(md) for c_ in cached_q], ea.to(md)).to(torch.float32)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: heavyball
3
- Version: 0.21.5
3
+ Version: 0.21.6
4
4
  Summary: Efficient optimizers
5
5
  Home-page: https://github.com/clashluke/heavyball
6
6
  Author: Lucas Nestler
@@ -1,7 +1,7 @@
1
1
  heavyball/__init__.py,sha256=iqP428JWwwx-XDOZ0nUdbCkOLEyfoqVyWZLQLAcwxaw,2214
2
2
  heavyball/cached_delayed_psgd_kron.py,sha256=Nyxl-G-o6greKwDN-vLiw5W02GXO2LRvknc0OzvzFnE,6674
3
3
  heavyball/cached_psgd_kron.py,sha256=HzD6se0AYb-W5hpydUxcR9uqrpe_54PBwgL1VWX3DHU,6592
4
- heavyball/delayed_psgd.py,sha256=OBT06X3zRADyvInSedmq5gTW13jKjcL7D_Se4cgprYc,5986
4
+ heavyball/delayed_psgd.py,sha256=m4c-OvcLMrRxSAPYs2l6Up21uCyF2kvHvpcnfe3nzGs,6212
5
5
  heavyball/foreach_adamw.py,sha256=Rb5U80cgUcEqlEbUU250UTWdoqA7nyiqkV5w1U4bWX4,2445
6
6
  heavyball/foreach_adopt.py,sha256=ecdi1fKg9i087OGjtKWVbE_DD6Yf4pvpzv4ELCcusvQ,3211
7
7
  heavyball/foreach_laprop.py,sha256=vi6C_gfjXxw5uN0KHgzxI9itUI1dcgOf3ufoO_VVMp0,2471
@@ -16,9 +16,9 @@ heavyball/precond_schedule_sfpsoap.py,sha256=PNneiOkrRyV1yIZn91lPmYofd1_OiLqJTDy
16
16
  heavyball/psgd_kron.py,sha256=RSLJi5FnSmYjvYBufNDClnYRm-eN_Kpa1Ar2tNP6-X0,5824
17
17
  heavyball/pure_psgd.py,sha256=LZK0qmvZkBF8g00evaVLtW-sIUJmdoxag1K7O26AqEo,4820
18
18
  heavyball/schedule_free_palm_foreach_soap.py,sha256=_AqrnChY6iDlQUkF2YUxS7eLjSWCIuvEUOHvMHVM1yY,6873
19
- heavyball/utils.py,sha256=L9OaPVWBGl6hyXbt9cYsq4QRUsX4tUIgokeGuywHT84,37209
20
- heavyball-0.21.5.dist-info/LICENSE,sha256=CGdGJim64YifGmUVPaeyRsxkvyExtClswhRNIp8FY_U,1322
21
- heavyball-0.21.5.dist-info/METADATA,sha256=OlGGxIV-KUGfz-dYLWQWC1FbYeFVYN_LIWg91XONjzc,11926
22
- heavyball-0.21.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
23
- heavyball-0.21.5.dist-info/top_level.txt,sha256=SzCxSVg_qCUPA4kZObW3Zyo4v-d_mMOD-p7a-WXTl2E,10
24
- heavyball-0.21.5.dist-info/RECORD,,
19
+ heavyball/utils.py,sha256=2ucHESjoMKbQ2YYL0rX7RfB2RVHdfq4iMTu6u4EoSSM,37210
20
+ heavyball-0.21.6.dist-info/LICENSE,sha256=CGdGJim64YifGmUVPaeyRsxkvyExtClswhRNIp8FY_U,1322
21
+ heavyball-0.21.6.dist-info/METADATA,sha256=1OSWfla-i4AzZriHOzQDjUEYhr8ktTvwPgb228hLzt8,11926
22
+ heavyball-0.21.6.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
23
+ heavyball-0.21.6.dist-info/top_level.txt,sha256=SzCxSVg_qCUPA4kZObW3Zyo4v-d_mMOD-p7a-WXTl2E,10
24
+ heavyball-0.21.6.dist-info/RECORD,,