code: def init_deepspeed_backend(ds_backend):
      global cdb
      global nccl_backend
      global mpi_backend
      global use_ds_backend
  
      if ds_backend == NCCL_BACKEND:
          utils.logger.warn(
              "NCCL backend in DeepSpeed not yet implemented"
          )
      elif ds_backend == MPI_BACKEND:
          utils.logger.warn(
              "MPI backend in DeepSpeed not yet implemented"
          )
      elif ds_backend == GLOO_BACKEND:
          utils.logger.warn(
              "Gloo backend in DeepSpeed not yet implemented"
          )
      else:
          utils.logger.warn(
              f"DeepSpeed does not support {ds_backend} backend"
          )
  
imports: from enum import Enum
  import torch
  import os
  from ..constants import TORCH_DISTRIBUTED_DEFAULT_PORT, default_pg_timeout
  from .constants import *
  from deepspeed.utils.comms_logging import CommsLogger
  from deepspeed.utils import timer, get_caller_func
  from deepspeed.comm.torch import TorchBackend
  from deepspeed import utils
  from datetime import timedelta
  from deepspeed.comm.utils import *
label_desc: Use image node_id 4 for calling a global function with example usage: init_deepspeed_backend(ds_backend) without return types