We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChainedScheduler
LitModular
Right now LitModular does not support ChainedScheduler. This is because a ChainedScheduler does not take an optimizer, but rather a list of schedulers: https://pytorch.org/docs/stable/generated/torch.optim.lr_scheduler.ChainedScheduler.html
LitModular assumes lr_scheduler is a callable that receives an Optimizer:
lr_scheduler
MART/mart/models/modular.py
Line 122 in 41ad18e
My sense is the best way to fix this is to allow lr_scheduler to be a list and we can create the underlying ChainedScheduler within LitModular.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Right now
LitModular
does not supportChainedScheduler
. This is because aChainedScheduler
does not take an optimizer, but rather a list of schedulers:https://pytorch.org/docs/stable/generated/torch.optim.lr_scheduler.ChainedScheduler.html
LitModular
assumeslr_scheduler
is a callable that receives an Optimizer:MART/mart/models/modular.py
Line 122 in 41ad18e
My sense is the best way to fix this is to allow
lr_scheduler
to be a list and we can create the underlyingChainedScheduler
withinLitModular
.The text was updated successfully, but these errors were encountered: