code: def __init__(self, ds_config):
      self.comms_logger_enabled = "comms_logger" in ds_config
  
      if self.comms_logger_enabled:
          self.comms_logger = CommsLoggerConfig(
              **ds_config["comms_logger"]
          )
  
file_path: DeepSpeed/deepspeed/comm/config.py
imports: from .constants import *
  from ..pydantic_v1 import BaseModel
label_desc: Use image node_id 1 to create a new DeepSpeedCommsConfig object  with example: obj = DeepSpeedCommsConfig(ds_config)