o
    `Û·iF  ã                   @   s*   d dl mZ d dlmZ eƒ dd„ ƒZdS )é    )Ú	lru_cache)ÚPathc                   C   s   t dƒ ¡  ¡ S )z—Checks if the bootstrap config file exists.

    This will always exist if using an autoscaling cluster/started
    with the ray cluster launcher.
    z~/ray_bootstrap_config.yaml)r   Ú
expanduserÚexists© r   r   úU/home/ubuntu/vllm_env/lib/python3.10/site-packages/ray/tune/execution/cluster_info.pyÚ_is_ray_cluster   s   r   N)Ú	functoolsr   Úpathlibr   r   r   r   r   r   Ú<module>   s    