openfold icon indicating copy to clipboard operation
openfold copied to clipboard

Beware of DeepSpeed LR schedulers

Open gahdritz opened this issue 2 years ago • 1 comments

PyTorch Lightning and DeepSpeed LR schedulers don't interact correctly at the moment. Follow the PL issue for updates. In the meantime, use configure_optimizers in train_openfold to add LR scheduling logic.

gahdritz avatar Feb 06 '22 22:02 gahdritz

Just commenting for others that may come across this: you need to remove/omit the optimizer and scheduler from the deepspeed config and redefine them in configure_optimizers for this to work.

jonathanking avatar Mar 15 '23 21:03 jonathanking