code: def print0(msg):
      if dist.get_rank() == 0:
          print(msg, flush=True)
  
file_path: DeepSpeed/tests/small_model_debugging/test_model.py
imports: import os
  import json
  import argparse
  import torch
  import deepspeed
  from torch.utils.data.distributed import DistributedSampler
  import deepspeed.comm
label_desc: Use image node_id 4 for calling a global function with example usage: print0(msg) without return types