code: def log(s, nl=True):
      if bf.local_rank() != 0:
          return
      print(s, end="\n" if nl else "", flush=True)
  
file_path: bluefog/scripts/single_ops_test.py
imports: import argparse
  import timeit
  import numpy
  import torch
  import bluefog.torch
  from bluefog.common import topology_util
label_desc: Use image node_id 2 for calling a global function with example usage: log(s, nl) without return types