Bug in line 904 that requires adding
"if self.momentum_pnm:" before pnmomentum is calculated.
I'm trying to diagnose Nans I get with a large learning rate after some batches and make Ranger21 perform as the base AdamW (if it's possible in the first place).
Bug in line 904 that requires adding "if self.momentum_pnm:" before pnmomentum is calculated.
I'm trying to diagnose Nans I get with a large learning rate after some batches and make Ranger21 perform as the base AdamW (if it's possible in the first place).