You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to finetune Hifigan using the recipe from NeMo tutorial.
It turns out to be incompatible with grad_accumulation.
Automatic gradient accumulation is not supported for manual optimization. Remove `Trainer(accumulate_grad_batches=5)` or switch to automatic optimization.
I suppose this happens because optim.sched is explicitly deleted when calling the script (like in the tutorial example).
So the question is - what to do if I still need to use grad_accumulation?
Are there any option combination to get similar constant learning behaviour without deleting the scheduler?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I try to finetune Hifigan using the recipe from NeMo tutorial.
It turns out to be incompatible with grad_accumulation.
I suppose this happens because
optim.sched
is explicitly deleted when calling the script (like in the tutorial example).So the question is - what to do if I still need to use grad_accumulation?
Are there any option combination to get similar constant learning behaviour without deleting the scheduler?
Beta Was this translation helpful? Give feedback.
All reactions