code: def __init__(
      self,
      client_module,
      inference=True,
      use_load_prefix=True,
      split_qkv=False,
  ):
      super().__init__(
          inference,
          linear_layer=True,
          use_load_prefix=use_load_prefix,
          split_qkv=split_qkv,
      )
      self.client_module = client_module
      try:
          import transformers
  
          BLOOMLayerPolicy._orig_layer_class = (
              transformers.models.bloom.modeling_bloom.BloomBlock
          )
          global supported_models
          supported_models.update(
              {transformers.models.bloom.modeling_bloom.BloomModel}
          )
      except Exception as e:
          print(
              f"WARNING! Setting BLOOMLayerPolicy._orig_layer_class to None due to Exception: {e}"
          )
          BLOOMLayerPolicy._orig_layer_class = None
  
imports: from .base import *
  from .features.meta_tensor import MetaTensorContainer
  from .features.hybrid_engine import HybridEngineContainer
  from deepspeed.model_implementations.transformers.ds_bloom import DeepSpeedBloomInference
  from ..policy import TransformerPolicy
  from ..policy import transformer_param_names
  from ..policy import maybe_copy
  from ..policy import maybe_get_lora
label_desc: Use image node_id 1 to create a new BLOOMLayerPolicy object from inherited base classes: TransformerPolicy with example: obj = BLOOMLayerPolicy(client_module, inference, use_load_prefix, split_qkv)