+
    –°³j6  ã                   ó�   € ^ RI t^ RIt^ RIt^ RIt^ RIHt RtR t ! R R]P                  P                  4      tR tR
R ltR	 tR# )é    N)Úget_remote_module_templateÚ_remote_module_c                 óŽ  € \        V R R4      '       g   \        R4      h\        P                  P	                  V 4      p\        P
                  P                  P                  pVP                  V4      pRVP                  4       9  d   \        RVP                  4        24      hVP                  R4      p. p. pVf   \        hVP                   Ft  pVP                  VP                  4       VP                  4       '       d   RVP                   2pMRpVP                   RVP                    V 2p	VP                  V	4       Kv  	  VR,          pR	P#                  V4      p
VR,          pR	P#                  V4      p\%        VP&                  4      ^8w  d   \        hVP&                  ^ ,          p\)        VP                   4      pW«V3# )
Ú__torch_script_interface__FzGExpect a TorchScript class interface decorated by @torch.jit.interface.Úforwardz2Expect forward in interface methods, while it has z = Ú z: :é   NNz, )ÚgetattrÚAssertionErrorÚtorchÚ_jit_internalÚ_qualified_nameÚjitÚ_stateÚ
_python_cuÚget_interfaceÚgetMethodNamesÚ	getMethodÚ	argumentsÚappendÚnameÚhas_default_valueÚdefault_valueÚtypeÚjoinÚlenÚreturnsÚstr)Úmodule_interfaceÚqualified_nameÚcuÚmodule_interface_cÚmethod_schemaÚarg_str_listÚarg_type_str_listÚargumentÚdefault_value_strÚarg_type_strÚargs_strÚarg_types_strÚreturn_type_strs   &            Úf/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torch/distributed/nn/jit/instantiator.pyÚ#get_arg_return_types_from_interfacer-      s¬  € ÜÐ#Ð%AÀ5×IÒIÜØUó
ð 	
ô ×(Ñ(×8Ñ8Ð9IÓJ€NÜ	�‰×	Ñ	×	$Ñ	$€BØ×)Ñ)¨.Ó9ÐØÐ*×9Ñ9Ó;Ô;ÜØ@ÐAS×AbÑAbÓAdÐ@eÐfó
ð 	
ð '×0Ñ0°Ó;€Mà€LØÐØÒÜÐØ!×+Ô+ˆØ×Ñ˜HŸM™MÔ*à×%Ñ%×'Ò'Ø"% h×&<Ñ&<Ð%=Ð >Ñà "ÐØ"Ÿ-™-˜¨¨8¯=©=¨/Ð:KÐ9LÐMˆØ× Ñ  Ö.ñ ,ð   Õ#€LØ�y‰y˜Ó&€Hà)¨"Õ-ÐØ—I‘IÐ/Ó0€Mä
ˆ=× Ñ Ó! QÔ&ÜÐØ×$Ñ$ QÕ'€HÜ˜(Ÿ-™-Ó(€Oà OÐ3Ð3ó    c                   ó�   a € ] tR t^:t o RtV 3R lR ltV 3R lR ltV 3R lR ltV 3R lR	 ltV 3R
 lR lt	V 3R lR lt
RtV tR# )Ú_StringLoaderaa  
A custom loader for dynamically generated Python source code.

Inherits from SourceLoader for API compatibility but overrides exec_module()
to avoid bytecode caching issues. The default SourceLoader.exec_module() calls
cache_from_source() which fails with IndexError when the filename doesn't
correspond to a real filesystem path with a .py extension.
c                ó$   <€ V ^8„  d   QhRS[ RR/# )é   ÚdataÚreturnN©r   )ÚformatÚ__classdict__s   "€r,   Ú__annotate__Ú_StringLoader.__annotate__D   s   ø€ ÷ ñ ™Sð  Tñ r.   c                ó   € Wn         R # ©N©r3   )Úselfr3   s   &&r,   Ú__init__Ú_StringLoader.__init__D   s   € ØŽ	r.   c                ó&   <€ V ^8„  d   QhRS[ RS[ /# ©r2   Úfullnamer4   r5   )r6   r7   s   "€r,   r8   r9   G   s   ø€ ÷ ñ ¡3ð ©3ñ r.   c                ó   € V P                   # r;   r<   ©r=   rB   s   &&r,   Ú
get_sourceÚ_StringLoader.get_sourceG   s   € Ø�y‰yÐr.   c                ó&   <€ V ^8„  d   QhRS[ RS[/# ©r2   Úpathr4   )r   Úbytes)r6   r7   s   "€r,   r8   r9   J   s   ø€ ÷ )ñ )™Sð )¡Uñ )r.   c                ó8   € V P                   P                  R 4      # )zutf-8)r3   Úencode©r=   rI   s   &&r,   Úget_dataÚ_StringLoader.get_dataJ   s   € Ø�y‰y×Ñ Ó(Ð(r.   c                ó&   <€ V ^8„  d   QhRS[ RS[ /# rA   r5   )r6   r7   s   "€r,   r8   r9   M   s   ø€ ÷ "ñ "¡Sð "©Sñ "r.   c                ó   € R V R2# )Ú<z>.py© rD   s   &&r,   Úget_filenameÚ_StringLoader.get_filenameM   s   € Ø�8�*˜DÐ!Ð!r.   c                ó&   <€ V ^8„  d   QhRS[ RS[/# rH   )r   Údict)r6   r7   s   "€r,   r8   r9   P   s   ø€ ÷ Nñ N™sð N¡tñ Nr.   c                ó   € \        R 4      h)z4dynamically generated module has no filesystem stats)ÚOSErrorrM   s   &&r,   Ú
path_statsÚ_StringLoader.path_statsP   s   € äÐLÓMÐMr.   c                ó   <€ V ^8„  d   QhRR/# )r2   r4   NrS   )r6   r7   s   "€r,   r8   r9   T   s   ø€ ÷ 
$ñ 
$ Tñ 
$r.   c                ó¸   € V P                  VP                  4      pV P                  VP                  4      p\        W#RRR7      p\	        WAP
                  4       R# )zÒ
Execute the module by compiling and running the source directly.

This overrides SourceLoader.exec_module() to bypass the problematic
get_code() -> cache_from_source() code path that fails on dynamic modules.
ÚexecT)Údont_inheritN)rE   Ú__name__rT   Úcompiler^   Ú__dict__)r=   ÚmoduleÚsourceÚfilenameÚcodes   &&   r,   Úexec_moduleÚ_StringLoader.exec_moduleT   sD   € ð —‘ §¡Ó1ˆØ×$Ñ$ V§_¡_Ó5ˆÜ�v¨¸dÔCˆÜˆT—?‘?Ö#r.   r<   N)r`   Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r>   rE   rN   rT   rZ   rg   Ú__static_attributes__Ú__classdictcell__)r7   s   @r,   r0   r0   :   sH   ø‡ € ñ÷ð ÷ð ÷)ð )÷"ð "÷Nð N÷
$ö 
$r.   r0   c                 ó‚  € V \         P                  9   d   \         P                  V ,          # \        \        V4      P                  ! R/ VB 4      p\
        P                  P                  WR R7      pVf   \        h\
        P                  P                  V4      pV\         P                  V &   VP                  V4       V# )z	torch-git)ÚoriginrS   )ÚsysÚmodulesr0   r   r6   Ú	importlibÚutilÚspec_from_loaderr   Úmodule_from_specrg   )Úgenerated_module_nameÚstr_dictÚ!enable_moving_cpu_tensors_to_cudaÚloaderÚspecrc   s   &&&   r,   Ú&_do_instantiate_remote_module_templater|   a   s¤   € ð ¤§¡Ô+Ü�{‰{Ð0Õ1Ð1äÜ"Ð#DÓE×LÒLÑXÈxÑXó€Fô �>‰>×*Ñ*Ø¨kð +ó €Dð ‚|ÜÐÜ�^‰^×,Ñ,¨TÓ2€FØ)/„C‡K�KÐ%Ñ&Ø
×Ñ�vÔØ€Mr.   c           
      ód  € \        V R R4      '       g   \        RV  R24      h\        P                  P	                  V 4      P                  RR4      p\         V 2pRV P                   RV P                   R2p\        V 4      w  rVpR	pR
V 2p	RV R2p
\        VVV	V
VVRR7      p\        W;V4      # )r   Fzmodule_interface_cls z8 must be a type object decorated by @torch.jit.interfaceÚ.Ú_zfrom z import z as module_interface_clsr   z -> z -> Future[Ú]z@torch.jit.script)Úassign_module_interface_clsÚ	arg_typesÚarrow_and_return_typeÚarrow_and_future_return_typeÚargsÚkwargsÚjit_script_decorator)r
   Ú
ValueErrorr   r   r   ÚreplaceÚ_FILE_PREFIXri   r`   r-   rW   r|   )Úmodule_interface_clsry   Úmodule_interface_cls_namerw   Úassign_module_interface_cls_strr)   r*   r+   Ú
kwargs_strÚarrow_and_return_type_strÚ arrow_and_future_return_type_strrx   s   &&          r,   Ú-instantiate_scriptable_remote_module_templater‘   u   s  € ô Ð'Ð)EÀu×MÒMÜØ#Ð$8Ð#9ð :#ð #ó
ð 	
ô !&× 3Ñ 3× CÑ CØó!ç�gˆc�3Óð ô  ,˜nÐ-FÐ,GÐHÐð Ð$×/Ñ/Ð0°Ø×(Ñ(Ð
)Ð)Að	Cð $ô 0SØó0Ñ,€H˜_ð €JØ"& Ð&7Ð 8ÐØ)4°_Ð4EÀQÐ'GÐ$äØ$CØØ7Ø%EØØØ0ô€Hô 2ØÐ)Jóð r.   c            
      óP   € \          R 2p \        RRRRRRRR7      p\        WR4      # )Únon_scriptablezmodule_interface_cls = Nonez*argsz**kwargsz*args, **kwargsr   )r�   r…   r†   r‚   rƒ   r„   r‡   T)rŠ   rW   r|   )rw   rx   s     r,   Ú1instantiate_non_scriptable_remote_module_templater”   ž   s?   € Ü+˜n¨NÐ;ÐÜØ$AØØØ#Ø Ø%'Øô€Hô 2Ð2GÐSWÓXÐXr.   )T)Úimportlib.abcrs   Úimportlib.utilrq   r   Ú9torch.distributed.nn.jit.templates.remote_module_templater   rŠ   r-   ÚabcÚSourceLoaderr0   r|   r‘   r”   rS   r.   r,   Ú<module>rš      sM   ðó Û Û 
ã õð
 !€ò'4ôT$$�I—M‘M×.Ñ.ô $$òNô(&ôRYr.   