code: def world_size() -> int:
      """Returns the current world size (number of distributed processes)."""
      return dist.get_world_size() if dist.is_initialized() else 1
  
file_path: lightly/lightly/utils/dist.py
imports: from typing import Optional, Tuple
  import torch
  import torch.distributed
label_desc: Use image node_id 2 for calling a global function with example usage: world_size() and returns: unknown