src/transformers/trainer_callback.py/CallbackHandler/on_substep_end
class CallbackHandler:    def on_substep_end(self, args: TrainingArguments, state: TrainerState, control: TrainerControl):
        return self.call_event("on_substep_end", args, state, control)