




'''simple docstring'''





import os

from huggingface_hub.constants import HUGGINGFACE_HUB_CACHE, hf_cache_home


_SCREAMING_SNAKE_CASE							:   Any      		= HUGGINGFACE_HUB_CACHE


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





"""simple docstring"""


import warnings


warnings.warn(
    """memory_utils has been reorganized to utils.memory. Import `find_executable_batchsize` from the main `__init__`: """
    """`from accelerate import find_executable_batch_size` to avoid this warning.""",
    FutureWarning,
)
