+
    –°³jÉ&  ã                   óZ  a € R tT0 t ^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RIHt ^ RI	H
t
 ^ RIt^ RIHt R.t]P                   ! ]4      t^ s]P(                  ! 4       tR R lt]! 4       '       d)   ]P.                  P1                  4       '       g	   ]! R4      h]! 4       '       Ed   ]! ]P.                  P6                  R	4      t^ RIt^ RIHu Ht  ^ R
I!H"t" ^ RI#H$t$H%t%H&t&H't'H(t(H)t)H*t*H+t+H,t,H-t-H.t.H/t/H0t0H1t1H2t2H3t3H4t4H5t5H6t6H7t7H8t8H9t9H:t:H;t;H<t<H=t=H>t>H?t?H@t@HAtA ]'       d   ^ RI#HBtBHCtCHDtD ^RIEHFtFHGtGHHtH ^RIF5 ^RIGHItI ^RIJHKtK ^RILHMtM ] ^ k ]. RO,          t]]FP                  ,           ]GP                  ,           tRR ltNR tO]IP                   RRRRR3R ltQ]FP¤                  R 4       tSR# R# )é    N)Ú	Generator)Ú	timedelta)ÚurlparseÚis_availablec                ó$   € V ^8„  d   QhR\         /# )é   Úreturn)Úbool)Úformats   "Ú_/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torch/distributed/rpc/__init__.pyÚ__annotate__r      s   € ÷ *ñ *”dñ *ó    c                  ó6   € \        \        P                  R 4      # )Ú	_rpc_init)ÚhasattrÚtorchÚ_C© r   r   r   r      s   € Ü”5—8‘8˜[Ó)Ð)r   z*Failed to initialize torch.distributed.rpcÚ _TensorPipeRpcBackendOptionsBase)ÚStore)Ú_cleanup_python_rpc_handlerÚ_DEFAULT_INIT_METHODÚ_DEFAULT_RPC_TIMEOUT_SECÚ)_delete_all_user_and_unforked_owner_rrefsÚ_destroy_rref_contextÚ_disable_jit_rref_pickleÚ'_disable_server_process_global_profilerÚ_enable_jit_rref_pickleÚ&_enable_server_process_global_profilerÚ_get_current_rpc_agentÚ_invoke_remote_builtinÚ_invoke_remote_python_udfÚ_invoke_remote_torchscriptÚ_invoke_rpc_builtinÚ_invoke_rpc_python_udfÚ_invoke_rpc_torchscriptÚ_is_current_rpc_agent_setÚ_reset_current_rpc_agentÚ_rref_context_get_debug_infoÚ_set_and_start_rpc_agentÚ_set_profiler_node_idÚ_set_rpc_timeoutÚ_UNSET_RPC_TIMEOUTÚenable_gil_profilingÚget_rpc_timeoutÚPyRRefÚRemoteProfilerManagerÚRpcAgentÚRpcBackendOptionsÚ
WorkerInfo)Ú_DEFAULT_NUM_WORKER_THREADSr   ÚTensorPipeAgent)ÚapiÚbackend_registryÚ	functions)Ú*)ÚBackendType)ÚTensorPipeRpcBackendOptions)Ú_server_process_global_profilec           	     óX  € \         P                  P                  R4       Ve,   \        V\        P
                  4      '       g   \        R4      hVe"   \        V\        4      '       g   \        R4      hVf€   Ve|   \
         F6  p\        V\        \        P                  ! V4      4      4      '       g   K4  Tp M	  \        RV 24      hV\
        P                  8w  d   \        P                  RRV/4       Vf   \
        P                  pVf   \        P                  ! V4      pV'       g   \        P                  ! WB4      pM5\        P                  ! VP                   W#R7      s\%        \"        4      w  p pVP'                  \)        VP*                  R	7      4       \,        ;_uu_ 4        \        P.                  ! \1        R
\2         24      V4      p\2        ^,          sRRR4       \4        P6                  ! V4       \9        V4       \;        WWW44       R#   + '       g   i     L@; i)a›  
Initializes RPC primitives such as the local RPC agent
and distributed autograd, which immediately makes the current
process ready to send and receive RPCs.

Args:
    name (str): a globally unique name of this node. (e.g.,
        ``Trainer3``, ``ParameterServer2``, ``Master``, ``Worker1``)
        Name can only contain number, alphabet, underscore, colon,
        and/or dash, and must be shorter than 128 characters.
    backend (BackendType, optional): The type of RPC backend
        implementation. Supported values is
        ``BackendType.TENSORPIPE`` (the default).
        See :ref:`rpc-backends` for more information.
    rank (int): a globally unique id/rank of this node.
    world_size (int): The number of workers in the group.
    rpc_backend_options (RpcBackendOptions, optional): The options
        passed to the RpcAgent constructor. It must be an agent-specific
        subclass of :class:`~torch.distributed.rpc.RpcBackendOptions`
        and contains agent-specific initialization configurations. By
        default, for all agents, it sets the default timeout to 60
        seconds and performs the rendezvous with an underlying process
        group initialized using ``init_method = "env://"``,
        meaning that environment variables ``MASTER_ADDR`` and
        ``MASTER_PORT`` need to be set properly. See
        :ref:`rpc-backends` for more information and find which options
        are available.
ztorch.distributed.init_rpcNz0Argument backend must be a member of BackendTypezEArgument rpc_backend_options must be an instance of RpcBackendOptionsz$Could not infer backend for options zéRPC was initialized with no explicit backend but with options corresponding to %(backend)s, hence that backend will be used instead of the default BackendType.TENSORPIPE. To silence this warning pass `backend=%(backend)s` explicitly.Úbackend)ÚrankÚ
world_size)ÚsecondsÚrpc_prefix_)r   r   Ú_log_api_usage_onceÚ
isinstancer8   r;   Ú	TypeErrorr3   ÚtypeÚconstruct_rpc_backend_optionsÚ
TENSORPIPEÚloggerÚwarningÚdistÚ_create_store_from_optionsÚ
rendezvousÚinit_methodÚrendezvous_iteratorÚnextÚset_timeoutr   Úrpc_timeoutÚ_init_counter_lockÚPrefixStoreÚstrÚ_init_counterÚdist_autogradÚ_initr+   Ú_init_rpc_backend)Únamer?   r@   rA   Úrpc_backend_optionsÚcandidate_backendÚstoreÚ_s   &&&&&   r   Úinit_rpcr`   ]   sï  € ôF 	�‰×$Ñ$Ð%AÔBØÒ¤zØÔ%×1Ñ1÷(
ò (
ô ÐNÓOÐOàÒ*´:ØÔ!2÷4
ò 4
ô ØWóð ð
 Š?Ð2Ò>ß%0Ð!ÜØ'ÜÜ(×FÒFØ-óó÷ô ð 0�GÙñ &1ô  Ø:Ð;NÐ:OÐPóð ð œ+×0Ñ0Ô0Ü—‘ðEð  Ð(ôð Š?Ü!×,Ñ,ˆGàÒ&ä"2×"PÒ"PØó#Ð÷
 ô ×3Ò3Ð4GÓN‰Eô #'§/¢/Ø#×/Ñ/°dô#Ðô Ô2Ó3‰KˆE�1�aà×Ñœ)Ð,?×,KÑ,KÔLÔM÷  Öä×$Ò$¤S¨;´}°oÐ)FÓ%GÈÓOˆEÜ˜QÕˆM÷  ô 	×Ò˜DÔ!ä˜dÔ#ä˜'¨$°jÖV÷  ×ús   Æ,5HÈH)	c                 óF  € V \         P                  V\        P                  V\        V\
        P                  V\
        P                  \        R 4      3V\        /pVP                  4        F3  w  rx\        Wx4      '       d   K  \        RV RV R\        V4       24      h	  R # )Nz	Argument z must be of type z but got type )r8   r;   rL   r   rV   ÚnumbersÚIntegralrG   r3   ÚitemsrE   ÚRuntimeError)	r?   r^   r[   r@   rA   r\   Útype_mappingÚargÚarg_types	   &&&&&&   r   Ú_validate_rpc_argsri   Ô   s“   € àÔ%×1Ñ1Ø”4—:‘:Ø”#Ø”'×"Ñ"àœ×)Ñ)¬4°«:Ð6ØÔ!2ð
ˆð *×/Ñ/Ö1‰MˆCÜ˜c×,Ô,Ü"Ø ˜uÐ$5°h°Z¸~ÌdÐSVËiÈ[ÐYóð ó 2r   c           	      óº   € \        WW#WE4       \        4       '       d   \        R 4      h\        P                  ! V VVVVVR7      p\
        P                  ! V4       R# )zRPC is already initialized)r^   r[   r@   rA   r\   N)ri   r'   re   r8   Úinit_backendr7   Ú_init_rpc_states)r?   r^   r[   r@   rA   r\   Ú	rpc_agents   &&&&&& r   rZ   rZ   ä   sY   € ô 	˜7¨4°zÔWä$×&Ò&ÜÐ;Ó<Ð<ô %×1Ò1ØØØØØ!Ø 3ô
ˆ	ô 	×Ò˜YÖ'r   c                  óÆ   € \        4       p V P                  \        P                  ! 4       P	                  4       4       V P                  \
        P                  ! 4       4       V # )N)r)   Úupdater7   r    Úget_debug_inforX   Ú_get_debug_info)Úinfos    r   rq   rq   ý   sB   € ä+Ó-ˆØ�‰”C×.Ò.Ó0×?Ñ?ÓAÔBØ�‰”M×1Ò1Ó3Ô4Øˆr   c                óˆ   € V ^8„  d   Qh/ ^ \         9   d.   \        \        \        \        \        3,          RR3,          ;R&   # )r   NrP   )Ú__conditional_annotations__r   Útupler   Úint)r   s   "r   r   r      s2   € ‡�÷j GÒFœ¤5¬´´S¨Õ#9¸4ÀÐ#EÕFÑFòk r   )r`   r;   r<   éÿÿÿÿ)Nrw   NN)Urt   ÚloggingÚosÚ	threadingÚwarningsÚcollections.abcr   Údatetimer   Úurllib.parser   r   Útorch.distributedÚdistributedrL   Ú__all__Ú	getLoggerÚ__name__rJ   rW   ÚLockrT   r   r   r   re   r   Ú_distributed_rpcÚ_is_tensorpipe_availablerb   Útorch.distributed.autogradÚautogradrX   Útorch._C._distributed_c10dr   Útorch._C._distributed_rpcr   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r   r6   Ú r7   r8   r9   r;   Úoptionsr<   Úserver_process_global_profilerr=   r`   ri   rI   rZ   Ú_require_initializedrq   r   )rt   s   @r   Ú<module>r�      sq  øðç €Û 	Û Û Ý %Ý Ý !ã Ý  ð Ð
€ð 
×	Ò	˜8Ó	$€ð €Ø—^’^Ó%Ð õ*ñ ‡>‚>˜%Ÿ(™(×,Ñ,×.Ò.Ù
ÐCÓ
DÐDñ ‡>ƒ>Ù&Ø�‰×!Ñ!Ð#Eó Ðó ç6Ð6Ý0÷÷ ÷ ÷ ÷ ÷ ÷ ÷ ÷B  ÷	
ñ 	
÷ 3Ñ2ÜÝ-Ý4ÝNãFàÒIÕI€Gà˜Ÿ™Õ#Ð&6×&>Ñ&>Õ>€GôuWònð" ×&Ñ&ØØØØØ ô(ð2 	×Ññó òñ} r   