megatron.utils.check_adlr_autoresume_termination#

megatron.utils.check_adlr_autoresume_termination(iteration, model, optimizer, opt_param_scheduler, args)#

Check for autoresume signal and exit if it is received.