code: def consolidate_state_dict(self) -> None:
      self.optimizer.consolidate_state_dict(
          recipient_rank=get_primary_rank()
      )
  
file_path: ClassyVision/classy_vision/optim/zero.py
imports: import logging
  from typing import Any
  import torch.distributed
  from classy_vision.generic.distributed_util import get_primary_rank
  from classy_vision.optim import build_optimizer, ClassyOptimizer, register_optimizer
label_desc: Use image node_id 5 for calling the ZeRO obj's underlying member method code with example usage: obj.consolidate_state_dict() without return types