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
The global_step indicates how many times the parameters are updated. Therefore, with gradient accumulation and automatic optimization enabled, the global step is only incremented after the gradients are accumulated and not after every training_step is run
Lightning-AI/pytorch-lightning#9179 (reply in thread)
Pytorch-Lightning中global steps的变化是根据你参数的更新来决定的,当gradient accumulation和自动优化打开的时候,global step是在每次梯度累积更新后再update的,而不是根据你的training_step
The text was updated successfully, but these errors were encountered: