code: def write_events(self, event_list):
      if self.enabled and dist.get_rank() == 0:
          for event in event_list:
              label = event[0]
              value = event[1]
              step = event[2]
              self.log({label: value}, step=step)
  
file_path: DeepSpeed/deepspeed/monitor/wandb.py
imports: from .utils import check_wandb_availability
  from .monitor import Monitor
  import deepspeed.comm
label_desc: Use image node_id 3 for calling the WandbMonitor obj's underlying member method code with example usage: obj.write_events(event_list) without return types