o
    "Õjí  ã                   @   s,   d dl Z ddlmZ g ZG dd„ deƒZdS )é    Né   )ÚRuntimeBasec                       sD   e Zd Z‡ fdd„Zdd„ Zdd„ Zdd„ Zd	d
„ Zdd„ Z‡  Z	S )ÚCollectiveRuntimec                    s   t ƒ  ¡  d S )N)ÚsuperÚ__init__©Úself©Ú	__class__© út/var/www/html/Deteccion_Ine/venv/lib/python3.10/site-packages/paddle/distributed/fleet/runtime/collective_runtime.pyr      s   zCollectiveRuntime.__init__c                 C   ó   t  d¡ d S )Nz=You should not call 'init_worker' method for collective mode.©ÚloggingÚwarnr   r   r   r   Ú_init_worker   ó   ÿzCollectiveRuntime._init_workerc                 C   r   )Nz<You should not call 'run_worker' method for collective mode.r   r   r   r   r   Ú_run_worker   r   zCollectiveRuntime._run_workerc                 O   r   )Nz=You should not call 'init_server' method for collective mode.r   )r   ÚargsÚkwargsr   r   r   Ú_init_server$   r   zCollectiveRuntime._init_serverc                 C   r   )Nz<You should not call 'run_server' method for collective mode.r   r   r   r   r   Ú_run_server)   r   zCollectiveRuntime._run_serverc                 C   r   )Nz=You should not call 'stop_worker' method for collective mode.r   r   r   r   r   Ú_stop_worker.   r   zCollectiveRuntime._stop_worker)
Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r   r   Ú__classcell__r   r   r	   r   r      s    r   )r   Zruntime_baser   Ú__all__r   r   r   r   r   Ú<module>   s   