





'''simple docstring'''



import os

from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE, hf_cache_home


_SCREAMING_SNAKE_CASE   =      HUGGINGFACE_HUB_CACHE


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












'''simple docstring'''



# 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.pipeline_flax_controlnet import FlaxStableDiffusionControlNetPipeline  # noqa: F401


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





