


from ...configuration_utils import PretrainedConfig
from ...utils import logging


__a	 =      logging.get_logger(__name__)

__a	 =      {
    '''sayakpaul/vit-msn-base''': '''https://huggingface.co/sayakpaul/vit-msn-base/resolve/main/config.json''',
    # See all ViT MSN models at https://huggingface.co/models?filter=vit_msn
}






class 	__lowercase					(	__snake_case	):
      UpperCamelCase										=							'''vit_msn'''





      def __init__(		self    :       List[str]       ,							__lowerCamelCase    :       Dict=7_6_8       ,							__lowerCamelCase    :       Union[str, Any]=1_2       ,							__lowerCamelCase    :       Optional[Any]=1_2       ,							__lowerCamelCase    :       str=3_0_7_2       ,							__lowerCamelCase    :       Optional[Any]="gelu"       ,							__lowerCamelCase    :       Any=0.0       ,							__lowerCamelCase    :       Optional[Any]=0.0       ,							__lowerCamelCase    :       int=0.02       ,							__lowerCamelCase    :       List[Any]=1e-0_6       ,							__lowerCamelCase    :       List[str]=2_2_4       ,							__lowerCamelCase    :       List[Any]=1_6       ,							__lowerCamelCase    :       Optional[int]=3       ,							__lowerCamelCase    :       int=True       ,							**__lowerCamelCase    :       Union[str, Any]       ,							)     -> int:






         """simple docstring"""







         super().__init__(**__lowerCamelCase							)

         UpperCAmelCase      					=  hidden_size
         UpperCAmelCase      					=  num_hidden_layers
         UpperCAmelCase      					=  num_attention_heads
         UpperCAmelCase      					=  intermediate_size
         UpperCAmelCase      					=  hidden_act
         UpperCAmelCase      					=  hidden_dropout_prob
         UpperCAmelCase      					=  attention_probs_dropout_prob
         UpperCAmelCase      					=  initializer_range
         UpperCAmelCase      					=  layer_norm_eps
         UpperCAmelCase      					=  image_size
         UpperCAmelCase      					=  patch_size
         UpperCAmelCase      					=  num_channels
         UpperCAmelCase      					=  qkv_bias











# NOTE: This file is deprecated and will be removed in a future version.
# It only exists so that temporarely `from diffusers.pipelines import DiffusionPipeline` works
from ...utils import deprecate
from ..controlnet.multicontrolnet import MultiControlNetModel  # noqa: F401
from ..controlnet.pipeline_controlnet import StableDiffusionControlNetPipeline  # noqa: F401


deprecate(
    '''stable diffusion controlnet''',
    '''0.22.0''',
    '''Importing `StableDiffusionControlNetPipeline` or `MultiControlNetModel` from diffusers.pipelines.stable_diffusion.pipeline_stable_diffusion_controlnet is deprecated. Please import `from diffusers import StableDiffusionControlNetPipeline` instead.''',
    standard_warn=False,
    stacklevel=3,
)