o
    c²“iL  ã                   @   s   d dl mZ dd„ ZdgZdS )é    )Úregister_parallel_backendc                  C   s8   zddl m}  td| ƒ W dS  ty   d}t|ƒ‚w )z?Register Ray Backend to be called with parallel_backend("ray").r   )Ú
RayBackendÚrayz’To use the ray backend you must install ray.Try running 'pip install ray'.See https://docs.ray.io/en/master/installation.htmlfor more information.N)Úray.util.joblib.ray_backendr   r   ÚImportError)r   Úmsg© r   úL/home/ubuntu/.local/lib/python3.10/site-packages/ray/util/joblib/__init__.pyÚregister_ray   s   ÿùr
   N)Újoblib.parallelr   r
   Ú__all__r   r   r   r	   Ú<module>   s    
