Skip to content

Commit

Permalink
internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 641002887
  • Loading branch information
priyakasimbeg authored and copybara-github committed Jun 6, 2024
1 parent 1da4d26 commit d94550f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init2winit/optimizer_lib/optimizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def get_optimizer(hps, model=None, batch_axis_name=None):
optax.contrib.dadapt_adamw
)(
learning_rate=0.0,
betas=hps.opt_hparams['betas'],
betas=(hps.opt_hparams['beta1'], hps.opt_hparams['beta2']),
eps=hps.opt_hparams['eps'],
estim_lr0=hps.opt_hparams['estim_lr0'],
weight_decay=weight_decay,
Expand All @@ -337,7 +337,7 @@ def get_optimizer(hps, model=None, batch_axis_name=None):
optax.contrib.prodigy
)(
learning_rate=0.0,
betas=hps.opt_hparams['betas'],
betas=(hps.opt_hparams['beta1'], hps.opt_hparams['beta2']),
eps=hps.opt_hparams['eps'],
estim_lr0=hps.opt_hparams['estim_lr0'],
estim_lr_coef=hps.opt_hparams['estim_lr_coef'],
Expand Down

0 comments on commit d94550f

Please sign in to comment.