



"""simple docstring"""







from ..utils import DummyObject, requires_backends







class 				UpperCamelCase__       (     metaclass=lowercase_  ):




      """simple docstring"""




      _SCREAMING_SNAKE_CASE      =					["""transformers""", """torch""", """note_seq"""]



      def __init__(				self    :				List[Any]   ,      *SCREAMING_SNAKE_CASE_    :				Union[str, Any]   ,      **SCREAMING_SNAKE_CASE_    :				Any	):
        requires_backends(self   ,      ['transformers', 'torch', 'note_seq']	)



      @classmethod
      def 					SCREAMING_SNAKE_CASE__			(				cls    :				str   ,      *SCREAMING_SNAKE_CASE_    :				Union[str, Any]   ,      **SCREAMING_SNAKE_CASE_    :				Tuple	):
        requires_backends(cls   ,      ['transformers', 'torch', 'note_seq']	)





      @classmethod
      def 					SCREAMING_SNAKE_CASE__			(				cls    :				Any   ,      *SCREAMING_SNAKE_CASE_    :				Optional[int]   ,      **SCREAMING_SNAKE_CASE_    :				str	):
        requires_backends(cls   ,      ['transformers', 'torch', 'note_seq']	)










"""simple docstring"""







import os

from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE, hf_cache_home


lowercase__		:    int				   =     HUGGINGFACE_HUB_CACHE


lowercase__		:    Tuple				   =     """config.json"""
lowercase__		:    Union[str, Any]				   =     """diffusion_pytorch_model.bin"""
lowercase__		:    List[Any]				   =     """diffusion_flax_model.msgpack"""
lowercase__		:    List[str]				   =     """model.onnx"""
lowercase__		:    List[Any]				   =     """diffusion_pytorch_model.safetensors"""
lowercase__		:    Dict				   =     """weights.pb"""
lowercase__		:    List[Any]				   =     """https://huggingface.co"""
lowercase__		:    List[Any]				   =     default_cache_path
lowercase__		:    Tuple				   =     """diffusers_modules"""
lowercase__		:    Tuple				   =     os.getenv("""HF_MODULES_CACHE""", os.path.join(hf_cache_home, """modules"""))
lowercase__		:    List[str]				   =     ["""fp16""", """non-ema"""]
lowercase__		:    Optional[Any]				   =     """.self_attn"""





