class_docstr: Dimensioning properties
docstr: Instantiates the linear projection layer for the QKV linear layer. This sets the
  `self.qkv` attribute.
docstr_tok: ["Instantiates","the","linear","projection","layer","for","the","QKV","linear","layer",".","This","sets","the","`","self.qkv","`","attribute","."]
code: def make_qkv_layer(self) -> None:
      """
      Instantiates the linear projection layer for the QKV linear layer. This sets the
      `self.qkv` attribute.
      """
      out_features = qkv_out_features(
          self.model_dim,
          self.tp_rank,
          self.tp_size,
          self.head_size,
          self.n_heads_q,
          self.n_heads_kv,
      )
  
      linear_config = DSLinearConfig(
          max_tokens=self._engine_config.state_manager.max_ragged_batch_size,
          in_channels=self.model_dim,
          out_channels=out_features,
          input_dtype=self.activation_dtype,
          output_dtype=self.activation_dtype,
      )
  
      self.qkv = heuristics.instantiate_linear(
          linear_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 22 for calling the DSTransformerModelBase obj's underlying member method code with example usage: obj.make_qkv_layer() without return types