



'''simple docstring'''




import os

from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE, hf_cache_home


UpperCamelCase__ :			Tuple												=				HUGGINGFACE_HUB_CACHE


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




'''simple docstring'''




from ..utils import DummyObject, requires_backends






class 		_UpperCamelCase						(							metaclass=lowerCamelCase__					):


			'''simple docstring'''

			_A   :	Optional[int]    					=	['''onnx''']

			def __init__(							self  :				List[str]							,  *lowerCAmelCase__  :				Optional[int]							,  **lowerCAmelCase__  :				List[Any]		):





					"""simple docstring"""






					requires_backends(self							,  ["""onnx"""]		)

			@classmethod
			def UpperCamelCase__      (							cls  :				Optional[int]							,  *lowerCAmelCase__  :				int							,  **lowerCAmelCase__  :				int		):





					"""simple docstring"""






					requires_backends(cls							,  ["""onnx"""]		)



			@classmethod
			def UpperCamelCase__      (							cls  :				Tuple							,  *lowerCAmelCase__  :				List[str]							,  **lowerCAmelCase__  :				Optional[Any]		):





					"""simple docstring"""






					requires_backends(cls							,  ["""onnx"""]		)