code: def add_config_arguments(parser):
      r"""Update the argument parser to enabling parsing of DeepSpeed command line arguments.
          The set of DeepSpeed arguments include the following:
          1) --deepspeed: boolean flag to enable DeepSpeed
          2) --deepspeed_config <json file path>: path of a json configuration file to configure DeepSpeed runtime.
  
      Arguments:
          parser: argument parser
      Return:
          parser: Updated Parser
      """
      parser = _add_core_arguments(parser)
  
      return parser
  
imports: import sys
  import types
  import json
  from typing import Optional, Union
  import torch
  from torch.optim import Optimizer
  from torch.optim.lr_scheduler import _LRScheduler
  from packaging import version
  from .None import ops
  from .None import module_inject
  from .accelerator import get_accelerator
  from .runtime.engine import DeepSpeedEngine, DeepSpeedOptimizerCallable, DeepSpeedSchedulerCallable
  from .runtime.engine import ADAM_OPTIMIZER, LAMB_OPTIMIZER
  from .runtime.hybrid_engine import DeepSpeedHybridEngine
  from .runtime.pipe.engine import PipelineEngine
  from .inference.engine import InferenceEngine
  from .inference.config import DeepSpeedInferenceConfig
  from .runtime.lr_schedules import add_tuning_arguments
  from .runtime.config import DeepSpeedConfig, DeepSpeedConfigError
  from .runtime.activation_checkpointing import checkpointing
  from .ops.transformer import DeepSpeedTransformerLayer, DeepSpeedTransformerConfig
  from .module_inject import replace_transformer_layer, revert_transformer_layer
  from .utils import log_dist, OnDevice, logger
  from .comm.comm import init_distributed
  from .runtime import zero
  from .runtime import DeepSpeedOptimizer, ZeROOptimizer
  from .pipe import PipelineModule
  from .git_version_info import version, git_hash, git_branch
label_desc: Use image node_id 4 for calling a global function with example usage: add_config_arguments(parser) and returns: parser