code: def _load_from_state_dict(
      self,
      state_dict,
      prefix,
      local_metadata,
      strict,
      missing_keys,
      unexpected_keys,
      error_msgs,
  ):
      if self.global_state_dict:
          if gpc.get_local_rank(ParallelMode.TENSOR) != 0:
              missing_keys.clear()
              unexpected_keys.clear()
          return self._load_from_global_state_dict(
              state_dict,
              prefix,
              local_metadata,
              strict,
              missing_keys,
              unexpected_keys,
              error_msgs,
          )
      return super()._load_from_state_dict(
          state_dict,
          prefix,
          local_metadata,
          strict,
          missing_keys,
          unexpected_keys,
          error_msgs,
      )
  
file_path: colossalai/colossalai/legacy/nn/layer/base_layer.py
imports: from contextlib import contextmanager
  import torch.nn
  from colossalai.legacy.context import ParallelMode
  from colossalai.legacy.core import global_context
label_desc: Use image node_id 4 for calling the ParallelLayer obj's underlying member method code with example usage: obj._load_from_state_dict(state_dict, prefix, local_metadata, strict, missing_keys, unexpected_keys, error_msgs) and returns: super, self