o
    ´©im  ã                   @   s„   d Z ddlmZ ejr@ddlmZ ddlmZ ddlmZ ddlmZ ddlm	Z	 e 
¡ r1ed	ƒ‚d
d„ Ze ¡  e e¡ dS dS )Ú
é   )ÚConfigé   )Úclient)Ú	decorator)Úgradio)Útorch)Úutilsz~CUDA has been initialized before importing the `spaces` package. Try importing `spaces` before any other CUDA-related package.c                   C   s&   t  ¡  ttjƒdkrd S t ¡  d S )Né    )r   ÚpackÚlenr   Údecorated_cacher   Ústartup_report© r   r   úH/home/ubuntu/.local/lib/python3.10/site-packages/spaces/zero/__init__.pyÚstartup   s   r   N)Ú__doc__Úconfigr   Úzero_gpuÚ r   r   r   r   r	   Úis_in_bad_forkÚRuntimeErrorr   ÚpatchÚ
one_launchr   r   r   r   Ú<module>   s     ÿë