Fix log_every_n_steps
check in ThroughputMonitor
#19470
Merged
log_every_n_steps
check in ThroughputMonitor
#19470