code: def print_params(tag, model):
      if dist.get_rank() == 0:
          for n, p in model.named_parameters():
              print0("{} {}:{}".format(tag, n, p))
  
file_path: H2O/h2o_flexgen/benchmark/third_party/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 5 for calling a global function with example usage: print_params(tag, model) without return types