facebookresearch / schedule_free

Schedule-Free Optimization in PyTorch
Apache License 2.0
1.91k stars 65 forks source link

Foreach fix #19

Closed adefazio closed 7 months ago

adefazio commented 7 months ago

Foreach implementation currently doesn't handle parameter groups with no non-None grad parameters. Fixes #18.