ó
    Eñi=E  ã                  ó¬  • S SK Jr  S SKrS SKrS SKrS SKrS SKrS SKJrJ	r	  S SK
JrJr  S SKJrJrJrJr  S SKrS SKJr  S SKJr  S SKJr  S S	KJr  S S
KJr  S SKJrJ r   S SK!J"r"  S SK#J$r$  SSK%J&r&  \(       a  S SK'J(r(J)r)  S SK*J+r+  S SKJ,r,  \RZ                  " \.5      r/ " S S\5      r0 " S S\05      r1 " S S\05      r2SS.           SS jjr3g)é    )ÚannotationsN)ÚABCÚabstractmethod)ÚAbstractContextManagerÚnullcontext)ÚAnyÚLiteralÚOptionalÚTYPE_CHECKING)Ú&BundledAOTAutogradSerializableCallable)Údynamo_timed)Únormalize_path_separator)ÚBoxedDeviceIndex)Útemporary_cache_dir)Ú	BoxedBoolÚ	InputType)ÚFakeTensorMode)ÚShapeEnvé   )Úconfig)ÚCallableÚSequence)Ú	CacheInfo)ÚGraphModulec                  óŠ   • \ rS rSrSr    SS jr\SS j5       r\SS.     SS jj5       r\	SS.     SS jj5       r
S	rg
)ÚCompiledArtifacté#   ax  
CompiledArtifact class represents the inductor cache artifacts that
can be invoked in order to avoid repeated compilation.

CompiledArtifact can be obtained by calling standalone_compile(gm, example_inputs)
to create a fresh CompiledArtifact from a GraphModule and example inputs.

Later this CompiledArtifact can be saved to disk, either as a binary or unpacked
into the provided folder via the CompiledArtifact.save function.

CompiledArtifact.load provides a way to create a CompiledArtifact from the
binary or unpacked data.

Finally, the CompiledArtifact can be invoked via the __call__ method
to execute the cached artifact.
c                ó   • Xl         X l        g ©N©Ú_compiled_fnÚ
_artifacts©ÚselfÚcompiled_fnÚ	artifactss      Ú_/home/mande/repo/quber/.venv/lib/python3.13/site-packages/torch/_inductor/standalone_compile.pyÚ__init__ÚCompiledArtifact.__init__5   ó   € ð
 (ÔØ#�ó    c                ó   • g r   © ©r$   Úargss     r'   Ú__call__ÚCompiledArtifact.__call__=   s   € Ø+.r+   Úbinary©Úformatc               ó   • g r   r-   )r$   Úpathr4   s      r'   ÚsaveÚCompiledArtifact.save@   s   € ð r+   c                ób  • US:X  a  [         R                  XS9$ US:X  d   e[        U S5       nSSKJn  SSKJn  UR                  5       nU" U5      nUR                  5       nU[        R                  :X  a`  UR                  5       U" 5       :X  d   eUR                  5       nUR                  5       (       d   e[        R                  U5      sS S S 5        $ U[         R                  :X  a˜  UR                  5       U" 5       :X  d   eUR                  5       n	UR                  5       n
UR                  5       (       d   e[        R                   R#                  U
5        [         R%                  ['        5       U	5      sS S S 5        $ [)        S	UR+                  S
5      -   5      e! , (       d  f       g = f)NÚunpacked©r6   r4   r2   Úrbr   ©ÚBytesReaderr   ©Ú	torch_keyzLInvalid header, expected CacheCompiledArtifact or AOTCompiledArtifact, got: úutf-8)ÚCacheCompiledArtifactÚloadÚopenÚ&torch.utils._appending_byte_serializerr>   Ú	codecacher@   ÚreadÚ
read_bytesÚAOTCompiledArtifactÚ
AOT_HEADERÚis_finishedÚdeserializeÚCACHE_HEADERÚread_strÚtorchÚcompilerÚload_cache_artifactsÚ
_load_implr   ÚRuntimeErrorÚdecode)r6   r4   Úfiler>   r@   Úresult_bytesÚreaderÚheaderÚartifactÚkeyÚartifact_bytess              r'   rC   ÚCompiledArtifact.loadE   su  € ð �ZÓä(×-Ñ-°4Ð-ÐGÐGà˜Ó!Ð!Ð!Ü�$˜Ô ÝJå,àŸ9™9›;ˆLÙ  Ó.ˆFØ×&Ñ&Ó(ˆFØÔ,×7Ñ7Ó7Ø×(Ñ(Ó*©i«kÓ9Ð9Ð9Ø!×,Ñ,Ó.�Ø×)Ñ)×+Ñ+Ð+Ð+Ü*×6Ñ6°xÓ@÷ Ñð Ô0×=Ñ=Ó=Ø×(Ñ(Ó*©i«kÓ9Ð9Ð9Ø—o‘oÓ'�Ø!'×!2Ñ!2Ó!4�Ø×)Ñ)×+Ñ+Ð+Ð+Ü—‘×3Ñ3°NÔCÜ,×7Ñ7¼»ÀsÓK÷) Ñô, #ØbØ—m‘m GÓ,ñ-óð ÷- Õús   ®BF ÃB"F ÆF Æ 
F.©r"   r!   N©r%   úCallable[..., Any]r&   z!Optional[tuple[bytes, CacheInfo]]©r/   r   Úreturnr   ©r6   Ústrr4   úLiteral['binary', 'unpacked']ra   ÚNone©r6   rc   r4   rd   ra   r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r(   r   r0   r7   ÚstaticmethodrC   Ú__static_attributes__r-   r+   r'   r   r   #   sŠ   † ñð"$à'ð$ð 5ô$ð Û.ó Ø.ààDLñØðØ$Aðà	ôó ðð à>Fñ!Øð!Ø;ð!à	ô!ó ó!r+   r   c                  óØ   • \ rS rSrSr\" S S5      r    SS jrSS jrSS jr	SS.     SS	 jjr
\      SS
 j5       r\SS.     SS jj5       r\SS.     SS jj5       rSrg)rB   éj   zF
CompiledArtifact that depends on torch.compiler.save_cache_artifacts
rA   c                ó   • Xl         X l        g r   r    r#   s      r'   r(   ÚCacheCompiledArtifact.__init__q   r*   r+   c                ó    • U R                   " U6 $ r   )r!   r.   s     r'   r0   ÚCacheCompiledArtifact.__call__y   s   € Ø× Ò  $Ð'Ð'r+   c                ój   • U R                   c  gU R                   u  p[        UR                  5      S:H  $ )NFr   )r"   ÚlenÚaot_autograd_artifacts)r$   Ú_Ú
cache_infos      r'   Úis_saveableÚ!CacheCompiledArtifact.is_saveable|   s2   € Ø�?‰?Ñ"ØØŸ™‰ˆô �:×4Ñ4Ó5¸Ñ:Ð:r+   r2   r3   c          
     ó  • [        S5         U R                  c  [        S5      eU R                  u  p4[        UR                  5      S:X  a  [        SU 35      e[        UR                  5      S:”  a  [        SU 35      eUR                  S   nUS:X  a®  [        R                  R                  U5      (       a   eSSK	J
n  SS	KJn  U" 5       nUR                  [        R                  5        UR                  U" 5       5        UR!                  U5        UR                  U5        SS
KJn	  U	" XR'                  5       5        GOƒUS:X  d   e[        R                  R)                  U5      (       a;  [        R                  R                  U5      (       d   e[*        R,                  " USS9  SSKJn
  [1        U5         [2        R4                  R7                  U5      nUc   eUR8                   HÎ  nU
R;                  U5      n[        R                  R)                  U5      (       d   e[=        [        R>                  " U5      5       Hq  n[A        [        R                  RC                  XÁ5      S5       n[D        RF                  " U5      nS S S 5        WRI                  5       n[J        RM                  SU5        Ms     MÐ     S S S 5        S S S 5        g ! , (       d  f       NM= f! , (       d  f       N(= f! , (       d  f       g = f)NzCompiledArtifact.savezFCompiledArtifact.save failed to save since there's no artifact to saver   a  CompiledArtifact.save failed to save due to no aot_autograd artifacts. This likely means there was something that was not serializable in the graph passed to standalone_compile. This can generally be fixed by ensuring that your model only uses constructs that are serializable. r   zhCompiledArtifact.save failed to save because there was more than one artifact but we only expected one. r2   ©ÚBytesWriterr?   ©Úwrite_atomicr:   T)Úignore_errors)ÚFxGraphCacher<   zOutput code written to: %s)'r   r"   rS   ru   rv   ÚAssertionErrorÚosr6   ÚisdirrE   r}   rF   r@   Úwrite_bytesrB   rM   Ú	write_strÚtorch._inductor.codecacher   Úto_bytesÚexistsÚshutilÚrmtreer�   r   rO   rP   rQ   Úinductor_artifactsÚ_get_tmp_dir_for_keyÚsortedÚlistdirrD   ÚjoinÚpicklerC   Úwrite_to_diskÚlogÚinfo)r$   r6   r4   r[   rx   rZ   r}   r@   Úwriterr   r�   Úloaded_cache_infoÚsubdirÚfÚgraphÚoutput_files                   r'   r7   ÚCacheCompiledArtifact.save…   sn  € ô Ð1Õ2Ø�‰Ñ&Ü"Ø\óð ð *.¯©Ñ&ˆNÜ�:×4Ñ4Ó5¸Ó:Ü"ð\ð "�lð	$óð ô �:×4Ñ4Ó5¸Ó9Ü$ð:Ø:D¸ðGóð ð ×3Ñ3°AÑ6ˆCà˜Ó!äŸ7™7Ÿ=™=¨×.Ñ.Ð.Ð.åNå0á$›�Ø×"Ñ"Ô#8×#EÑ#EÔFØ×"Ñ"¡9£;Ô/Ø× Ñ  Ô%Ø×"Ñ" >Ô2åBá˜T§?¡?Ó#4Ö5à Ó+Ð+Ð+Ü—7‘7—>‘> $×'Ñ'ÜŸ7™7Ÿ=™=¨×.Ñ.Ð.Ð.Ü—M’M $°dÒ;å3ä(¨Õ.ä(-¯©×(KÑ(KØ&ó)Ð%ð -Ñ8Ð8Ð8ð  1×CÔC˜Ø!-×!BÑ!BÀ3Ó!G˜Ü!Ÿw™wŸ~™~¨f×5Ñ5Ð5Ð5Ü$*¬2¯:ª:°fÓ+=Ö$>˜DÜ!%¤b§g¡g§l¡l°6Ó&@À$Ô!GÈ1Ü(.¯ª°A« ÷ "Hà*/×*=Ñ*=Ó*?˜KÜŸH™HÐ%AÀ;ÖOó	 %?ñ  D÷ /÷] 3Ð2÷t "HÕ!Gú÷ /Õ.ú÷] 3Õ2ús=   ŒF0K2Æ<B6K!É2KÊ	6K!Ê?K2Ë
KËK!Ë!
K/	Ë+K2Ë2
L c                óÆ  ^	• U    [         R                  " SS9   [        R                  R                   R                  SS9   SSKJn  UR                  USS/ 0 S S9nS S S 5        Wc   eUu  pESS	KJn  U" [        S5      [        S5      S
9n[        R                  R                  [        [        5       S95      n[        R                  R                  U5         UR!                  / UR"                  U5      m	S S S 5        S S S 5        S S S 5        [%        U	4S jS 5      $ ! , (       d  f       NÉ= f! , (       d  f       N?= f! , (       d  f       NH= f! , (       d  f       NQ= f)NT)Ú&unsafe_skip_cache_dynamic_shape_guards)Ústrict_autograd_cacher   )ÚAOTAutogradCacheF)ÚlocalÚremoter/   rx   Ú
aot_configr   )Ú_CompileFxKwargs)Ú
cudagraphsÚboxed_forward_device_index©Ú	shape_envc                 ó&   >• T" [        U 5      5      $ r   )Úlist)r/   r%   s    €r'   Ú<lambda>Ú2CacheCompiledArtifact._load_impl.<locals>.<lambda>ì   s   ø€ ±;¼tÀD»zÔ3Jr+   )r   ÚpatchrO   Ú
_functorchÚ-torch._functorch._aot_autograd.autograd_cacherŸ   Ú_lookupÚ
compile_fxr£   r   r   Ú_guardsÚTracingContextr   r   ÚtracingÚwrap_post_compileÚsanitized_aot_configrB   )
Úcache_dir_ctxrZ   rŸ   ÚresultÚentryrw   r£   Ú	fx_configÚcontextr%   s
            @r'   rR   Ú CacheCompiledArtifact._load_implÇ   s)  ø€ ò
 Ü�LŠLÀÓEä×!Ñ!×(Ñ(×.Ñ.ÀTÐ.ÒJõð *×1Ñ1ØØØ ØØ!Ø#ð 2ð �÷ Kð Ñ%Ð%Ð%Ø‰JˆUå4á(Ü$ UÓ+Ü+;¸AÓ+>ñˆIô
 —m‘m×2Ñ2´>ÌHËJÑ3WÓXˆGÜ—‘×&Ñ& wÕ/Ø#×5Ñ5Ø˜×2Ñ2°Ió�÷ 0÷7 F÷ ô@ %Ô%JÈDÓQÐQ÷; KÕJú÷2 0Õ/ú÷7 FÕEú÷ �MúsS   „E™(EÁDÁA=EÃD0Ã7EÃ?EÄ
D-Ä)EÄ0
D>Ä:EÅ
E	ÅEÅ
E c                óÌ  • [        U 5      n [        S5         US:X  aå  [        R                  R	                  U 5      (       a   e[        U S5       nUR                  5       nSSS5        SSKJn  SSK	J
n  U" W5      nUR                  5       U" 5       :X  d   eUR                  5       nUR                  5       nUR                  5       (       d   e[        R                  R!                  U5        U[#        5       4sSSS5        $ US	:X  d   e[        R                  R	                  U 5      (       d   e[        R                  R%                  U S
5      n	[        R                  R	                  U	5      (       d   e['        [        R(                  " U	5      5      n
[+        U
5      S:X  d   eU
S   n[-        U 5      nX{4sSSS5        $ ! , (       d  f       GNi= f! , (       d  f       g= f)zE
Do format specific prep and loads, return a context manager and key
zCompiledArtifact.loadr2   r<   Nr   r=   r   r?   r:   Úaotautograd)r   r   rƒ   r6   r„   rD   rG   rE   r>   rF   r@   rH   rN   rK   rO   rP   rQ   r   r�   r©   r�   ru   r   )r6   r4   rU   r&   r>   r@   rW   rZ   r[   Úautograd_cache_dirÚfilesr¶   s               r'   Ú_prepare_loadÚ#CacheCompiledArtifact._prepare_loadî   s  € ô (¨Ó-ˆÜÐ1Õ2Ø˜Ó!äŸ7™7Ÿ=™=¨×.Ñ.Ð.Ð.Ü˜$ Ô%¨Ø $§	¡	£�I÷ &åNå0á$ YÓ/�Ø×(Ñ(Ó*©i«kÓ9Ð9Ð9Ø—o‘oÓ'�Ø!'×!2Ñ!2Ó!4�Ø×)Ñ)×+Ñ+Ð+Ð+ä—‘×3Ñ3°NÔCØœK›MÐ)÷# 3Ñ2ð&  Ó+Ð+Ð+Ü—w‘w—}‘} T×*Ñ*Ð*Ð*Ü%'§W¡W§\¡\°$¸Ó%FÐ"Ü—w‘w—}‘}Ð%7×8Ñ8Ð8Ð8ÜœRŸZšZÐ(:Ó;Ó<�Ü˜5“z Q“Ð&�Ø˜A‘h�Ü 3°DÓ 9�ØÐ)÷7 3Ñ2÷ &Ö%ú÷	 3Õ2ús+   —9GÁGÁ!BGÄB6GÇ
G	ÇGÇ
G#c                óV   • [         R                  XS9u  p#[         R                  X25      $ )Nr;   )rB   rÀ   rR   )r6   r4   rZ   r¶   s       r'   rC   ÚCacheCompiledArtifact.load  s3   € ô 3×@Ñ@Øð Að 
Ñˆô %×/Ñ/°ÓCÐCr+   r]   Nr^   r`   )ra   Úboolrb   )r¶   zAbstractContextManager[Any]rZ   rc   ra   r   )r6   rc   r4   rd   ra   z'tuple[str, AbstractContextManager[Any]]rf   )rg   rh   ri   rj   rk   ÚbytesrM   r(   r0   ry   r7   rl   rR   rÀ   rC   rm   r-   r+   r'   rB   rB   j   sú   † ññ Ð0°'Ó:€Lð$à'ð$ð 5ô$ô(ô;ð EMñ@PØð@PØ$Að@Pà	õ@PðD ð$RØ2ð$RØ9<ð$Rà	ó$Ró ð$RðL à>Fñ"*Øð"*Ø;ð"*à	0ô"*ó ð"*ðH à>FñDØðDØ;ðDà	ôDó óDr+   rB   c                  ó¾   • \ rS rSrSr\" S S5      r  SS jr\    SS j5       r	SS jr
SS.     SS	 jjrSS
 jr\SS j5       r\SS.     SS jj5       rSrg)rI   i  a%  
Similar to CompiledArtifact, but the object is a single, bundled precompiled function.
This object is always a serializable callable function.

This object is essentially a wrapper for BundledAOTAutogradSerializableCallable, which
is used by torch._dynamo.aot_compile for AOT Precompilation.
rA   c                ó2   • [        U5      U l        S U l        g r   )r   Úinner_fnr"   )r$   r%   s     r'   r(   ÚAOTCompiledArtifact.__init__(  s   € ô ?¸{ÓKˆŒàð 	�r+   c                ó,   • [        U R                  5      $ r   )rI   r%   )Ú
bundled_fns    r'   Úfrom_bundled_callableÚ)AOTCompiledArtifact.from_bundled_callable1  s   € ô # :×#9Ñ#9Ó:Ð:r+   c                ó    • U R                   " U6 $ r   )rÈ   r.   s     r'   r0   ÚAOTCompiledArtifact.__call__7  s   € Ø�}Š}˜dÐ#Ð#r+   r2   r3   c               ó0  • US:X  a  [        S5      eU R                  5       nSSKJn  SSKJn  U" 5       nUR                  [        R                  5        UR                  U" 5       5        UR                  U5        SSK	J
n  U" XR                  5       5        g )Nr:   ú8AOTCompiledArtifact does not support unpacked format yetr   r|   r   r?   r~   )rS   Ú	serializerE   r}   rF   r@   r…   rI   rJ   r‡   r   rˆ   )r$   r6   r4   rV   r}   r@   r•   r   s           r'   r7   ÚAOTCompiledArtifact.save:  s~   € ð �ZÓÜØJóð ð —~‘~Ó'ˆÝFå(á“ˆØ×ÑÔ.×9Ñ9Ô:Ø×Ñ™9›;Ô'Ø×Ñ˜<Ô(å:ñ 	�TŸ?™?Ó,Õ-r+   c                óB   • [         R                  " U R                  5      $ r   )r   Úserialize_compile_artifactsrÈ   )r$   s    r'   rÒ   ÚAOTCompiledArtifact.serializeP  s   € Ü5×QÒQØ�M‰Mó
ð 	
r+   c                ó†   • [         R                  " U 5      n[        U[         5      (       d   e[        R	                  U5      $ r   )r   Údeserialize_compile_artifactsÚ
isinstancerI   rÌ   )rV   Údeserializeds     r'   rL   ÚAOTCompiledArtifact.deserializeU  sA   € ô 3×PÒPØóð 	ô
 ˜,Ô(N×OÑOÐOÐOÜ"×8Ñ8¸ÓFÐFr+   c                ó´  • US:X  a  [        S5      e[        U S5       nSSKJn  SSKJn  UR                  5       nU" U5      nUR                  5       nU[        R                  :X  d   eUR                  5       U" 5       :X  d   eUR                  5       nUR                  5       (       d   e[        R                  U5      sS S S 5        $ ! , (       d  f       g = f)Nr:   rÑ   r<   r   r=   r   r?   )rS   rD   rE   r>   rF   r@   rG   rH   rI   rJ   rK   rL   )	r6   r4   rU   r>   r@   rV   rW   rX   rY   s	            r'   rC   ÚAOTCompiledArtifact.load_  s¾   € ð �ZÓÜØJóð ô �$˜Ô ÝJå,àŸ9™9›;ˆLÙ  Ó.ˆFØ×&Ñ&Ó(ˆFØÔ0×;Ñ;Ó;Ð;Ð;Ø×$Ñ$Ó&©)«+Ó5Ð5Ð5Ø×(Ñ(Ó*ˆHØ×%Ñ%×'Ñ'Ð'Ð'Ü&×2Ñ2°8Ó<÷ ××ús   žB!C	Ã	
C)r"   rÈ   N)r%   r_   )rË   r   ra   rI   r`   rb   )ra   rÅ   )rV   rÅ   ra   rI   rf   )rg   rh   ri   rj   rk   rÅ   rJ   r(   rl   rÌ   r0   r7   rÒ   rL   rC   rm   r-   r+   r'   rI   rI     sº   † ññ Ð,¨gÓ6€Jð
à'ô
ð ð;Ø:ð;à	ó;ó ð;ô
$ð EMñ.Øð.Ø$Að.à	õ.ô,
ð
 óGó ðGð à>Fñ=Øð=Ø;ð=à	ô=ó ó=r+   rI   F)Úaotc          	     óT  ^• SSK Jn  SSKJn  SnUS:X  a  [        [	        5       S9mSnGOAUS	:X  aD  [
        R                  R                  R                  5       nUR                  c   eUR                  mO÷US:X  aâ  [        [	        5       S9m[        [        [        U R                  R                  5      5      5      n	U	R                  S:X  d   e[!        U	R"                  5      S:X  d   eSU4S jjn
[%        U	R"                  S   [
        R&                  R(                  5      (       a  U
" U	R"                  S   5        O.U	R"                  S    H  nU
" U5        M     O[+        SU S35      e[
        R                  R                  T5      n[
        R                  R-                  U5         UR/                  5          [0        R2                  " SS5         [
        R4                  R0                  R3                  SU5         [6        R8                  " U 5      n U" X4SU0UD6n[;        U5      (       d   eU(       aK  [=        US5      (       d  [?        S5      e[A        U5      sS
S
S
5        sS
S
S
5        sS
S
S
5        sS
S
S
5        $ [
        RB                  RE                  5       nUc  [F        RI                  S5        S
S
S
5        S
S
S
5        S
S
S
5        S
S
S
5        [K        WW5      $ ! , (       d  f       N2= f! , (       d  f       N;= f! , (       d  f       ND= f! , (       d  f       NM= f)z5
Implementation of torch.inductor.standalone_compile
r   )ÚCacheArtifactManagerr   )r°   FÚfrom_example_inputsr¦   TÚfrom_tracing_contextNÚ
from_graphÚoutputc                óÆ   >• SU R                   ;   aP  U R                   S   n[        U[        R                  R                  R
                  5      (       a  UR                  mg g g )NÚexample_value)ÚmetarÙ   rO   Ú_subclassesÚfake_tensorÚ
FakeTensorÚ	fake_mode)ÚnodeÚmaybe_tensorrë   s     €r'   Úhandle_nodeÚ'standalone_compile.<locals>.handle_node›  sR   ø€ à $§)¡)Ó+Ø#Ÿy™y¨Ñ9�Ü˜l¬E×,=Ñ,=×,IÑ,I×,TÑ,T×UÑUØ ,× 6Ñ 6‘Ið Vð ,r+   zJstandalone_compile got unsupported `dynamic_shapes` value: dynamic_shapes=Ú.ztriton.autotune_at_compile_timeÚbundled_autograd_cacheÚignore_shape_envrÒ   z<Compiled function should have serialize method when aot=Truez‚standalone_compile artifact generation failed, cannot save. Run with TORCH_LOGS=+torch._inductor.codecache to identify the problem)rì   ztorch.fx.Nodera   re   )&Útorch.compiler._cacherà   r°   r   r   rO   r±   r²   Úgetrë   ÚnextÚiterÚreversedr™   ÚnodesÚopru   r/   rÙ   ÚfxÚNodeÚ
ValueErrorr³   Úwith_fresh_cacher   r¬   r­   ÚcopyÚdeepcopyÚcallableÚhasattrrS   rI   rP   Úsave_cache_artifactsr“   ÚwarningrB   )ÚgmÚexample_inputsÚdynamic_shapesÚoptionsrÞ   rà   r°   rò   rº   Ú	last_noderî   rì   r%   r&   rë   s                 @r'   Ústandalone_compiler	  v  s˜  ø€ õ ;å&àÐØÐ.Ó.Ü"¬X«ZÑ8ˆ	ð  ÒØ	Ð1Ó	1ô —-‘-×.Ñ.×2Ñ2Ó4ˆØ× Ñ Ñ,Ð,Ð,Ø×%Ñ%‰	Ø	˜<Ó	'Ü"¬X«ZÑ8ˆ	ô
 œœh r§x¡x§~¡~Ó6Ó7Ó8ˆ	Ø�|‰|˜xÓ'Ð'Ð'Ü�9—>‘>Ó" aÓ'Ð'Ð'÷	7ô �i—n‘n QÑ'¬¯©¯©×7Ñ7Ù˜	Ÿ™ qÑ)Õ*à!Ÿ™ qÔ)�Ù˜DÖ!ò *ô ØXÐYgÐXhÐhiÐjó
ð 	
ô �m‰m×*Ñ*¨9Ó5€Gä�‰×Ñ˜gÕ&Ø×-Ñ-Õ/Ü�ŠÐ6¸Õ=Ü×Ñ×Ñ×%Ñ%Ð&>ÀÕDô �]Š]˜2ÓˆÙ Øñ
Ø1Að
ØELñ
ˆô ˜×$Ñ$Ð$Ð$ÞÜ˜;¨×4Ñ4Ü"ØRóð ô ' {Ó3÷ 	EÐD÷ 	>Ð=÷ 	0Ð/÷ 	'Ñ&ô" —N‘N×7Ñ7Ó9ˆ	ØÑÜ�K‰KðYô÷! 	E÷ 	>÷ 	0÷ 	'ô0 ! ¨iÓ8Ð8÷+ 	EÕDú÷ 	>Õ=ú÷ 	0Õ/ú÷ 	'Õ&úsm   Æ*LÆ;LÇ+K7Ç>A!K&	É	K7É(	LÉ1	LÊ6K&	Ê:K7ËLË
LË&
K4Ë0K7Ë7
LÌLÌ
L	ÌLÌ
L')r  r   r  zSequence[InputType]r  r   r  r   rÞ   rÄ   ra   r   )4Ú
__future__r   rþ   Úloggingrƒ   r‘   rŠ   Úabcr   r   Ú
contextlibr   r   Útypingr   r	   r
   r   Útorch.fxrO   Útorch._dynamo.aot_compile_typesr   Útorch._dynamo.utilsr   Útorch._inductor.cpp_builderr   Útorch._inductor.cudagraph_utilsr   Ú'torch._inductor.runtime.cache_dir_utilsr   Útorch._inductor.utilsr   r   Útorch._subclassesr   Ú%torch.fx.experimental.symbolic_shapesr   Ú r   Úcollections.abcr   r   ró   r   r   Ú	getLoggerrg   r“   r   rB   rI   r	  r-   r+   r'   Ú<module>r     sÛ   ðÝ "ã Û Û 	Û Û ß #ß :ß 8Ó 8ã Ý RÝ ,Ý @Ý <Ý Gß 6Ý ,Ý :å ö ß2å/Ý$ð ×Ò˜Ó!€ôD�sô DôNpDÐ,ô pDôfV=Ð*ô V=ð~ ñW9ØðW9à'ðW9ð ð	W9ð
 ðW9ð 
ðW9ð öW9r+   