§
    “©ºjo	  ã                   ó2   — d dl mZmZ  G d„ de¦  «        ZdS )é    )ÚABCÚabstractmethodc                   óŽ  — e Zd ZdZeedefd„¦   «         ¦   «         Zeedefd„¦   «         ¦   «         Z	eede
fd„¦   «         ¦   «         Zeedefd„¦   «         ¦   «         Zede
fd„¦   «         Zede
dd	fd
„¦   «         Zede
fd„¦   «         Zede
dd	fd„¦   «         Zede
fd„¦   «         Zede
fd„¦   «         Zde
de
dd	fd„Zdd„Zd	S )ÚClusterEnvironmentz'Specification of a cluster environment.Úreturnc                 ó   — dS )z8Whether the environment creates the subprocesses or not.N© ©Úselfs    ú‰/root/private/project/pallet_detection_v2/.venv/lib/python3.11/site-packages/lightning_fabric/plugins/environments/cluster_environment.pyÚcreates_processes_externallyz/ClusterEnvironment.creates_processes_externally   ó   € € € ó    c                 ó   — dS )zEThe main address through which all processes connect and communicate.Nr	   r
   s    r   Úmain_addresszClusterEnvironment.main_address   r   r   c                 ó   — dS )zUAn open and configured port in the main node through which all processes communicate.Nr	   r
   s    r   Ú	main_portzClusterEnvironment.main_port   r   r   c                  ó   — dS )zbDetects the environment settings corresponding to this cluster and returns ``True`` if they match.Nr	   r	   r   r   ÚdetectzClusterEnvironment.detect#   r   r   c                 ó   — dS )z5The number of processes across all devices and nodes.Nr	   r
   s    r   Ú
world_sizezClusterEnvironment.world_size(   r   r   ÚsizeNc                 ó   — d S ©Nr	   )r   r   s     r   Úset_world_sizez!ClusterEnvironment.set_world_size,   ó   € àˆr   c                 ó   — dS )zOThe rank (index) of the currently running process across all nodes and devices.Nr	   r
   s    r   Úglobal_rankzClusterEnvironment.global_rank0   r   r   Úrankc                 ó   — d S r   r	   )r   r   s     r   Úset_global_rankz"ClusterEnvironment.set_global_rank4   r   r   c                 ó   — dS )zMThe rank (index) of the currently running process inside of the current node.Nr	   r
   s    r   Ú
local_rankzClusterEnvironment.local_rank8   r   r   c                 ó   — dS )z?The rank (index) of the node on which the current process runs.Nr	   r
   s    r   Ú	node_rankzClusterEnvironment.node_rank<   r   r   Únum_devicesÚ	num_nodesc                 ó   — dS )z‚Validates settings configured in the script against the environment, and raises an exception if there is an
        inconsistency.Nr	   )r   r&   r'   s      r   Úvalidate_settingsz$ClusterEnvironment.validate_settings@   s	   € ð 	ˆr   c                 ó   — dS )z0Clean up any state set after execution finishes.Nr	   r
   s    r   ÚteardownzClusterEnvironment.teardownE   r   r   )r   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Úpropertyr   Úboolr   Ústrr   Úintr   Ústaticmethodr   r   r   r   r!   r#   r%   r)   r+   r	   r   r   r   r      s9  € € € € € Ø1Ð1àØðG¨dð Gð Gð Gñ „^ñ „XðGð ØðT˜cð Tð Tð Tñ „^ñ „XðTð Øðd˜3ð dð dð dñ „^ñ „Xðdð Øðq�Dð qð qð qñ „^ñ „\ðqð ðD˜Cð Dð Dð Dñ „^ðDð ð 3ð ¨4ð ð ð ñ „^ðð ð^˜Sð ^ð ^ð ^ñ „^ð^ð ð Cð ¨Dð ð ð ñ „^ðð ð\˜Cð \ð \ð \ñ „^ð\ð ðN˜3ð Nð Nð Nñ „^ðNð¨Sð ¸Sð ÀTð ð ð ð ð
ð ð ð ð ð r   r   N)Úabcr   r   r   r	   r   r   ú<module>r6      sS   ðð $Ð #Ð #Ð #Ð #Ð #Ð #Ð #ð6ð 6ð 6ð 6ð 6˜ñ 6ô 6ð 6ð 6ð 6r   