code: def setup_logging(args, local_rank):
      """
      Setup logging configuration as well as random seed
      """
      logging_config(
          args.output_dir,
          name="finetune_squad{}".format(args.version),  # avoid race
          overwrite_handler=True,
          console=(local_rank == 0),
      )
      logging.info(args)
      set_seed(args.seed)
      logging.debug("Random seed set to {}".format(args.seed))
  
imports: import os
  import json
  import time
  import logging
  import argparse
  import ast
  import functools
  import collections
  import dataclasses
  from dataclasses import dataclass
  from multiprocessing import Pool, cpu_count
  import mxnet
  import numpy
  from mxnet.lr_scheduler import PolyScheduler
  import gluonnlp.data.batchify
  from models import ModelForQABasic, ModelForQAConditionalV1
  from eval_utils import squad_eval
  from squad_utils import SquadFeature, get_squad_examples, convert_squad_example_to_feature
  from gluonnlp.models import get_backbone
  from gluonnlp.utils.misc import repeat, grouper, set_seed, init_comm, logging_config, parse_ctx
  from gluonnlp.initializer import TruncNorm
  from gluonnlp.data.sampler import SplitSampler
  from gluonnlp.utils.parameter import grad_global_norm, clip_grad_global_norm, count_parameters, deduplicate_param_dict
label_desc: Use image node_id 4 for calling a global function with example usage: setup_logging(args, local_rank) without return types