Support get optimizer and lr_schedulers from deepspeed config
npuichigo opened this issue · comments
Yuchao Zhang commented
Description & Motivation
Currently it's not supported. However in huggingface/accelerate, users can specify DummyOptimizer
and DummyScheduler
to indicate they want them to be replaced by those from deepspeed config.
Pitch
Lightning should have some way to let people use optimizers from deepspeed config, like OneBitAdam
or something else that cannot be manually instantiated.
Alternatives
No response
Additional context
No response
cc @Borda