This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
LR schedulers do not work in R #17207
Open
Description
Neither custom nor pre-built learning rate schedulers have any effect on the training process in R.
The training process is always the same regardless of the scheduling scheme used.
Some debugging shows that the lr_scheduler function is called and the LR is correctly recalculated, however the updated LR is not applied.
I have a strong suspicion that the issue is a side-effect of commit be478700e01944ecfee0c30a7cc5dc07d1b2789a
(#11374)
in R-package/R/optimizer.R
.
Before it, the LR was used in update calculations directly. Now the LR is baked-in in the executor and is never actually updated.