Detected call of `lr_scheduler.step()` before `optimizer.step()
mmm898 opened this issue · comments
Hi, I run run_pre_training.py and have this problem: "UserWarning: Detected call of lr_scheduler.step()
before optimizer.step()
". I looked for optimize and scheduler in your repo but didn't find anything. Can you help me to fix this. I'm using transformers 4.3.1
This is a typical and benign warning when you run with mixed precision and get a overflow.
Thank you for answering. I will close this issue