code: def __init__(
      self, module, dim=0, broadcast_buffers=True, bucket_cap_mb=25
  ):
      super(MMDistributedDataParallel, self).__init__()
      self.module = module
      self.dim = dim
      self.broadcast_buffers = broadcast_buffers
  
      self.broadcast_bucket_size = bucket_cap_mb * 1024 * 1024
      self._sync_params()
  
file_path: lavis/lavis/common/annotator/uniformer/mmcv/parallel/distributed_deprecated.py
imports: import torch
  import torch.distributed
  import torch.nn
  from torch._utils import _flatten_dense_tensors, _take_tensors, _unflatten_dense_tensors
  from annotator.uniformer.mmcv.utils import TORCH_VERSION, digit_version
  from .registry import MODULE_WRAPPERS
  from .scatter_gather import scatter_kwargs
label_desc: Use image node_id 1 to create a new MMDistributedDataParallel object from inherited base classes: nn with example: obj = MMDistributedDataParallel(module, dim, broadcast_buffers, bucket_cap_mb)