Add a config for customize eps of the the AdamW optimizer
Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/424 The diffusion model need to customized eps for the AdamW optimizer. For example the prior of Dalle2 trained with adam_eps=1.0e-06 while its decoder trained with adam_eps=1.0e-08 Add the config for AdamW's eps to d2go pipeline with its default vaule same as the official doc: https://pytorch.org/docs/stable/generated/torch.optim.AdamW.html Reviewed By: newstzpz Differential Revision: D41363142 fbshipit-source-id: 72f9a4084e229312807aad28b7aba8fec9116013
Showing
Please register or sign in to comment