code: def format(self, record):
      from apex.transformer.parallel_state import get_rank_info
  
      record.rank_info = get_rank_info()
      return super().format(record)
  
file_path: apex/apex/__init__.py
imports: import logging
  import warnings
  import torch
  from .None import amp
  from .None import fp16_utils
  from .None import optimizers
  from .None import normalization
  from .None import transformer
label_desc: Use image node_id 1 for calling the RankInfoFormatter obj's underlying member method code with example usage: obj.format(record) and returns: super