code: def get_model_parallel_world_size() -> int:
      """Return world size for the model parallel group."""
      return torch.distributed.get_world_size(
          group=get_model_parallel_group()
      )
  
file_path: fairscale/fairscale/nn/model_parallel/initialize.py
imports: from typing import List, Optional
  import torch
  from .utils import ensure_divisibility
label_desc: Use image node_id 7 for calling a global function with example usage: get_model_parallel_world_size() and returns: torch