code: def on_validation_start(self):
      if self.trial.reported_flops:
          self.trial.context.set_stop_requested(True)
  
imports: import logging
  import os
  import numpy
  from attrdict import AttrMap
  from eval_tasks.eval_adapter import run_eval_harness
  from megatron.neox_arguments import NeoXArgs
  from torch.utils.tensorboard import SummaryWriter
  from determined.pytorch import MetricReducer, PyTorchCallback
label_desc: Use image node_id 2 for calling the EarlyStoppingCallback obj's underlying member method code with example usage: obj.on_validation_start() without return types