class_docstr: Dimensioning properties
docstr: Instantiates the normalization layer for the model. This sets the `self.norm` attribute.
  
  TODO(cmikeh2): In the future we'll distinguish between the different norm objects,
  but for now we'll just use the same one for all of them.
docstr_tok: ["Instantiates","the","normalization","layer","for","the","model",".","This","sets","the","`","self.norm","`","attribute",".","TODO","(","cmikeh2",")",":","In","the","future","we","'ll","distinguish","between","the","different","norm","objects",",","but","for","now","we","'ll","just","use","the","same","one","for","all","of","them","."]
code: def make_norm_layer(self) -> None:
      """
      Instantiates the normalization layer for the model. This sets the `self.norm` attribute.
  
      TODO(cmikeh2): In the future we'll distinguish between the different norm objects,
      but for now we'll just use the same one for all of them.
      """
      norm_config = DSNormConfig(
          max_tokens=self._engine_config.state_manager.max_ragged_batch_size,
          type=self.norm_type,
          channels=self.model_dim,
          residual_dtype=self.activation_dtype,
          input_dtype=self.activation_dtype,
          output_dtype=self.activation_dtype,
      )
  
      self.norm = heuristics.instantiate_pre_norm(
          norm_config, self._engine_config
      )
  
imports: from abc import abstractmethod
  from typing import Optional
  import torch
  from deepspeed.accelerator import get_accelerator
  from ..config_v2 import RaggedInferenceEngineConfig
  from ..inference_utils import ActivationType, ceil_div, is_gated
  from ..model_implementations import *
  from ..model_implementations.sharding import *
  from ..modules.configs import DSEmbeddingsConfig, DSLinearConfig, DSMoEConfig, DSNormConfig, DSSelfAttentionConfig, DSUnembedConfig, NormTypeEnum, PositionalEmbeddingType, RotateHalfConfig
  from ..modules import heuristics
  from ..ragged import DSSequenceDescriptor, KVCacheConfig, RaggedBatchWrapper
  from .inference_model_base import DSInferenceModelBase, DSModelImplementationConfig, MPType
  from ..inference_parameter import InferenceParameter
label_desc: Use image node_id 35 for calling the DSTransformerModelBase obj's underlying member method code with example usage: obj.make_norm_layer() without return types