Skip to content

Releases: kozistr/pytorch_optimizer

pytorch-optimizer v3.1.2

10 Sep 10:58
9d5e181
Compare
Choose a tag to compare

Change Log

Feature

Bug

  • Add **kwargs to the parameters for dummy placeholder. (#270, #271)

pytorch-optimizer v3.1.1

14 Aug 09:47
a8eb19c
Compare
Choose a tag to compare

Change Log

Feature

Bug

  • Handle the optimizers that only take the model instead of the parameters in create_optimizer(). (#263)
  • Move the variable to the same device with the parameter. (#266, #267)

pytorch-optimizer v3.1.0

21 Jul 11:54
d00136f
Compare
Choose a tag to compare

Change Log

Feature

Refactor

  • Refactor AdamMini optimizer. (#258)
  • Deprecate optional dependency, bitsandbytes. (#258)
  • Move get_rms, approximate_sq_grad functions to BaseOptimizer for reusability. (#258)
  • Refactor shampoo_utils.py. (#259)
  • Add debias, debias_adam methods in BaseOptimizer. (#261)
  • Refactor to use BaseOptimizer only, not inherit multiple classes. (#261)

Bug

  • Fix several bugs in AdamMini optimizer. (#257)

Contributions

thanks to @sdbds

pytorch-optimizer v3.0.2

06 Jul 11:04
232f72e
Compare
Choose a tag to compare

Change Log

Feature

Refactor

  • Refactor Chebyschev lr scheduler modules. (#248)
    • Rename get_chebyshev_lr to get_chebyshev_lr_lambda.
    • Rename get_chebyshev_schedule to get_chebyshev_perm_steps.
    • Call get_chebyshev_schedule function to get LamdbaLR scheduler object.
  • Refactor with ScheduleType. (#248)

pytorch-optimizer v3.0.1

22 Jun 06:26
7c40a79
Compare
Choose a tag to compare

Change Log

Feature

Bug

  • Wrong typing of reg_noise. (#239, #240)
  • Lookahead`s param_groups attribute is not loaded from checkpoint. (#237, #238)

Contributions

thanks to @michaldyczko

pytorch-optimizer v3.0.0

21 May 09:02
eda736f
Compare
Choose a tag to compare

Change Log

The major version is updated! (v2.12.0 -> v3.0.0) (#164)

Many optimizers, learning rate schedulers, and objective functions are in pytorch-optimizer.
Currently, pytorch-optimizer supports 67 optimizers (+ bitsandbytes), 11 lr schedulers, and 13 loss functions, and reached about 4 ~ 50K downloads / month (peak is 75K downloads / month)!

The reason for updating the major version from v2 to v3 is that I think it's a good time to ship the recent implementations (the last update was about 7 months ago) and plan to pivot to new concepts like training utilities while maintaining the original features (e.g. optimizers).
Also, rich test cases, benchmarks, and examples are on the list!

Finally, thanks for using the pytorch-optimizer, and feel free to make any requests :)

Feature

Fix

  • Fix SRMM to allow operation beyond memory_length. (#227)

Dependency

  • Drop Python 3.7 support officially. (#221)
  • Update bitsandbytes to 0.43.0. (#228)

Docs

  • Add missing parameters in Ranger21 optimizer document. (#214, #215)
  • Fix WSAM optimizer paper link. (#219)

Contributions

thanks to @sdbds, @i404788

Diff

pytorch-optimizer v2.12.0

07 Oct 06:06
14b6b58
Compare
Choose a tag to compare

Change Log

Feature

  • Support bitsandbytes optimizer. (#211)
    • now, you can install with pip3 install pytorch-optimizer[bitsandbytes]
    • supports 8 bnb optimizers.
      • bnb_adagrad8bit, bnb_adam8bit, bnb_adamw8bit, bnb_lion8bit, bnb_lamb8bit, bnb_lars8bit, bnb_rmsprop8bit, bnb_sgd8bit.

Docs

Diff

2.11.2...2.12.0

pytorch-optimizer v2.11.2

02 Sep 05:57
25618d7
Compare
Choose a tag to compare

Change Log

Feature

Fix

  • Fix Lookahead optimizer (#200, #201, #202)
    • When using PyTorch Lightning which expects your optimiser to be a subclass of Optimizer.
  • Fix default rectify to False in AdaBelief optimizer (#203)

Test

  • Add DynamicLossScaler test case

Docs

  • Highlight the code blocks
  • Fix pepy badges

Contributions

thanks to @georg-wolflein

Diff

2.11.1...2.11.2

pytorch-optimizer v2.11.1

19 Jul 12:00
aaaf303
Compare
Choose a tag to compare

pytorch-optimizer v2.11.0

27 Jun 13:48
42df19c
Compare
Choose a tag to compare