+
    ˜°³j›š  ã                  ó   € ^ RI Ht ^ RIt^ RIt^ RIt^ RIHt ^ RIHt ^ RI	H
t
HtHtHt ^ RIHt ^ RIt^ RIt^ RIt^ RIHtHtHtHtHt ^ RIHt ]'       d   ^ R	IHtHt ^ R
IHt Rs Rs!Rs"R:R R llt#R R lt$R R lt% ! R R4      t&R R lt'R t(R t)R t*R R lt+R R lt,R;R R llt-]P\                  R;R R  ll4       t/]P\                  R! 4       t0 ! R" R#]&4      t1 ! R$ R%]4      t2]2t3R& R' lt4R( R) lt5R* R+ lt6R<R, lt7R- R. lt8R/ R0 lt9] ! R1 R24      4       t:] ! R3 R44      4       t;]Px                  R5 R6 l4       t=R7 R8 lt>R9 t?R# )=é    )ÚannotationsN)Údeque)Ú	dataclass)ÚcastÚoverloadÚProtocolÚTYPE_CHECKING)ÚTypeIs)Ú_get_dispatch_stack_atÚ_len_torch_dispatch_stackÚ_pop_torch_dispatch_stackÚ_push_on_torch_dispatch_stackÚDispatchKey)Ú/set_is_in_mode_without_ignore_compile_internals)ÚMappingÚSequence)ÚCustomClassBaseFc               ó    € V ^8„  d   QhRRRR/# )é   Úinclude_infra_modesÚboolÚreturn© )Úformats   "Ú]/home/luca/screen-checking/.venv/lib/python3.14/site-packages/torch/utils/_python_dispatch.pyÚ__annotate__r   +   s   € ÷ ñ °4ð À4ñ ó    c                ó*   € V '       d   \         # \        # ©N)Ú_is_in_torch_dispatch_modeÚ$_is_in_non_infra_torch_dispatch_mode)r   s   &r   Úis_in_torch_dispatch_moder"   +   s   € ÷ ô 	#ðô 2ðr   c               ó   € V ^8„  d   QhRR/# ©r   r   r   r   )r   s   "r   r   r   3   s   € ÷ <ñ <¸ñ <r   c                 ó   € \         # r   )Ú0_is_in_any_mode_without_ignore_compile_internalsr   r   r   Ú/is_in_any_mode_without_ignore_compile_internalsr'   3   s   € Ü;Ð;r   c               ó   € V ^8„  d   QhRR/# r$   r   )r   s   "r   r   r   7   s   € ÷ ñ ¨$ñ r   c                 óÞ   € \         P                  P                  4       p \        V 4       F?  p\	        V4      pVP                  4       '       d   K&  VP                  4       '       d   K>   R # 	  R# )TF)ÚtorchÚ_Cr   Úranger   Úis_infra_modeÚignore_compile_internals)Ú	stack_lenÚidxÚmodes      r   Ú any_torch_dispatch_mode_on_stackr2   7   s[   € Ü—‘×2Ñ2Ó4€Iä�YÖˆÜ% cÓ*ˆð ×Ñ×ÒÙà×(Ñ(×*Ò*Ùâñ  ñ r   c                  ó¨   a € ] tR t^HtRtRtV 3R ltRR ltR tRR lt	R t
R t]R	 4       t]R
 R l4       t]R R l4       t]R R l4       tRtV ;t# )ÚTorchDispatchModea‰  
A ``TorchDispatchMode`` allows you to override the meaning of all
``__torch_dispatch__`` overridable functions within a dynamic scope,
without having to actually create a tensor subclass or manually
monkey-patch functions in the PyTorch API.  Some common situations
where you should use a mode:

    * You want to override the meaning of factory functions, or other
      functions that do not otherwise take a tensor as an argument
      (these cannot be overridden with tensor subclasses).

    * You want to override the behavior of all functions without needing
      to wrap your inputs in tensor subclasses; e.g., if you are just
      interested in logging intermediate computations.

    * You want to control the order of execution of various tensor
      subclasses explicitly, rather than implicitly via the return of
      ``NotImplemented``.

Independent subclasses of :class:`TorchDispatchMode` are compositional:
modes can be pushed onto a stack using ``with MyMode():``.
When you call functions in the PyTorch API inside your
``__torch_dispatch__`` implementation, by default, they will forward on to
the next mode on the mode stack.  If you want recursively call back into
your current ``__torch_dispatch__`` implementation, either explicitly
invoke ``self.__torch_dispatch__(...)``, or use the context manager
``self`` to make PyTorch
API self-referential (beware of infinite loops, in this case!)
Fc                	ó  <€ \         SV `  ! R/ VB  V P                  4       '       d^   R V P                  9   dK   V P                  R ,          p\	        V\
        4      '       g    \        P                  ! VRR7      V n        R# R# R# R# )Ú__torch_dispatch__T)Ú	recursiveNr   )	ÚsuperÚ__init_subclass__Ú_should_skip_dynamoÚ__dict__Ú
isinstanceÚclassmethodr*   Ú_disable_dynamor6   )ÚclsÚkwargsÚrawÚ	__class__s   &, €r   r9   Ú#TorchDispatchMode.__init_subclass__m   so   ø€ Ü‰Ò!Ñ+ FÒ+Ø×"Ñ"×$Ò$Ø# s§|¡|Ô3Ø—l‘lÐ#7Õ8�Ü! #¤{×3Ò3Ü-2×-BÒ-BÀ3ÐRVÔ-W�CÖ*ñ 4ñ 4ñ %r   c                	óî   € VeD   \        V\        P                  P                  4      '       g   \	        R4      hWP
                  R&   \        4       V n        \        4       V n        \        4       V n	        R # )Nz,_dispatch_key must be a torch._C.DispatchKeyÚ_dispatch_key)
r<   r*   r+   r   ÚAssertionErrorr;   r   Úold_dispatch_mode_flagsÚ!old_non_infra_dispatch_mode_flagsÚ8old_without_ignore_compile_internals_dispatch_mode_flags)ÚselfrE   s   &&r   Ú__init__ÚTorchDispatchMode.__init__u   sX   € ØÒ$Ü˜m¬U¯X©X×-AÑ-A×BÒBÜ$Ð%SÓTÐTØ-:�M‰M˜/Ñ*ä49³GˆÔ$Ü>C»gˆÔ.ä‹Gð 	ÖEr   c                	óÐ   € \        V R 4      '       g   \        4       V n        \        V R4      '       g   \        4       V n        \        V R4      '       g   \        4       V n        R# R# )rG   rH   rI   N)Úhasattrr   rG   rH   rI   ©rJ   s   &r   Ú"_lazy_init_old_dispatch_mode_flagsÚ4TorchDispatchMode._lazy_init_old_dispatch_mode_flags�   sY   € Ü�tÐ6×7Ò7Ü8=»ˆDÔ(ä�tÐ@×AÒAÜBGÃ'ˆDÔ2äØÐL÷
ò 
ô
 “ð ÖIñ
r   c                	ó   € \         hr   )ÚNotImplementedError©rJ   ÚfuncÚtypesÚargsr@   s   &&&&&r   r6   Ú$TorchDispatchMode.__torch_dispatch__�   s   € Ü!Ð!r   c                	ó¤  € V P                  4        V P                  P                  \        4       R sV P                  P                  \
        4       \
        ;'       g    V P                  4       '       * sV P                  P                  \        4       \        ;'       g    V P                  4       '       * s\        \        4       \        V 4       V # ©T)rP   rG   Úappendr    rH   r!   r-   rI   r&   r.   r   Ú
_push_moderO   s   &r   Ú	__enter__ÚTorchDispatchMode.__enter__’   s¸   € ð 	×/Ñ/Ô1Ø×$Ñ$×+Ñ+Ô,FÔGØ%)Ð"Ø×.Ñ.×5Ñ5Ü0ô	
ô 1×LÐL¸×8JÑ8JÓ8LÔ4Lð 	-ð 	×EÑE×LÑLÜ<ô	
ô =÷ 3ð 3Ø×0Ñ0Ó2Ô2ð 	9ô 	8Ü<ô	
ô 	�4ÔØˆr   c                	óN  € V P                   P                  R R4      pVf   V P                   P                  RR4      pV P                  P                  4       sV P
                  P                  4       sV P                  P                  4       s\        \        4       \        V4       R# )rE   NÚ	_mode_key)r;   ÚgetrG   Úpopr    rH   r!   rI   r&   r   Ú	_pop_mode)rJ   Úexc_typeÚexc_valÚexc_tbÚmb_dk_or_mode_keys   &&&& r   Ú__exit__ÚTorchDispatchMode.__exit__±   s—   € Ø ŸM™M×-Ñ-¨o¸tÓDÐØÒ$ð !%§¡× 1Ñ 1°+¸tÓ DÐà%)×%AÑ%A×%EÑ%EÓ%GÐ"ð ×2Ñ2×6Ñ6Ó8ð 	-ð
 ×IÑI×MÑMÓOð 	9ô 	8Ü<ô	
ô 	Ð#Ö$r   c                	óF   € \         P                  ! R ^R7       V ! V/ VB pV# )zP`Mode.push()` is no longer necessary and can be replaced with just `with Mode()`)Ú
stacklevel)ÚwarningsÚwarn)r?   rW   r@   Úinstances   &*, r   ÚpushÚTorchDispatchMode.pushÆ   s*   € ä�ŠØ^Øõ	
ñ ˜Ð' Ñ'ˆØˆr   c               ó   € V ^8„  d   QhRR/# r$   r   )r   s   "r   r   ÚTorchDispatchMode.__annotate__Ð   s   € ÷ ñ ˜dñ r   c                	ó   € R # )Fr   ©r?   s   &r   r-   ÚTorchDispatchMode.is_infra_modeÏ   s   € ár   c               ó   € V ^8„  d   QhRR/# r$   r   )r   s   "r   r   rr   Ô   s   € ÷ ñ  Dñ r   c                ó   € R# )a�  Skip Dynamo when the flag is set to True

This is temporary measure to rollout a feature
that skips PT2 compilation inside __torch_dispatch__
frames.

If this flag is off, we would expect following:

class YoloMode(TorchDispatchMode):
    @classmethod
    def _should_skip_dynamo(cls):
        return False
    def __torch_dispatch__(self, func, types, args=(), kwargs=None):
        return torch.ops.aten.mul.Tensor(args[0], args[1])

x = torch.ones(5)
with YoloMode():
    out = torch.compile(torch.add, backend=backend, fullgraph=True)(x, x)

# instead of recursively disabling, we are compiling into __torch_dispatch__
assert len(backend.graphs) == 1
Tr   rt   s   &r   r:   Ú%TorchDispatchMode._should_skip_dynamoÓ   s   € ñ0 r   c               ó   € V ^8„  d   QhRR/# r$   r   )r   s   "r   r   rr   î   s   € ÷ ñ ¨ñ r   c                ó6   € V P                  4       '       d   R# R# )a™  Ignore operators that are compiled via torch.compile.

If ``True``, then this TorchDispatchMode ignores operators that
are optimized by :func:`torch.compile`. Mechanically, this involves
turning off the TorchDispatchMode throughout the whole compilation process,
and turning it back on for the runtime of the compiled artifact(s).
For example,

@torch.compile
def f(x):
    return x.sin().cos()

with LoggingMode():
    f(x)

The above example will not log anything if
``LoggingMode.ignore_compile_internals()`` is True.
torch.compile will fuse sin() and cos() into a single operation
and this TorchDispatchMode will not be passed sin and cos.

If ``False`` (default), :func:`torch.compile` will respect
the eager semantics of passing this TorchDispatchMode all
operators that would have run during eager execution.
The way this will usually happen is that :func:`torch.compile`
will just fallback to eager-mode PyTorch.
TF)r-   rt   s   &r   r.   Ú*TorchDispatchMode.ignore_compile_internalsí   s   € ð8 ×Ñ×ÒÙÙr   )rG   rH   rI   r   ©r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Úsupports_higher_order_operatorsr9   rK   rP   r6   r]   rh   r=   ro   r-   r:   r.   Ú__static_attributes__Ú__classcell__)rB   s   @r   r4   r4   H   s€   ø† ñðD ',Ð#õXô

òô"òò>%ð* ñó ðð ôó ðð ôó ðð2 ôó ör   r4   c               ó   € V ^8„  d   QhRR/# )r   r   zTorchDispatchMode | Noner   )r   s   "r   r   r     s   € ÷ ñ Ð$<ñ r   c                 óL   € \        4       p V ^ 8”  d   \        V ^,
          4      # R# )z_
Return the top user mode on the stack (the next one that would be
executed) if there are any.
N)r   r   )r/   s    r   Ú_get_current_dispatch_moder‡     s%   € ô
 *Ó+€IØ�1„}Ü% i°!¥mÓ4Ð4Ùr   c                óÜ  € V \         P                  P                  P                  \         P                  P                  P                  39  dY   \        R \         P                  P                  P                   R\         P                  P                  P                   RV  24      h^ RIHp V! V 4      p\         P                  P                  V 4      pVe   Ve   \        R4      hVf   V# V# )zkey must be either FUNCTIONAL (z)                 or PROXY (z1) _TorchDispatchModeKey,                     got )Ú_get_dispatch_mode_pre_dispatchzEAt most one of pre_dispatch_mode and post_dispatch_mode may be active)	r*   r+   Ú_TorchDispatchModeKeyÚ
FUNCTIONALÚPROXYrF   Ú
torch._opsr‰   Ú_get_dispatch_mode)Úkeyr‰   Úpre_dispatch_modeÚpost_dispatch_modes   &   r   Ú_detect_infra_moder’     sÝ   € Ø
Ü�‰×&Ñ&×1Ñ1Ü�‰×&Ñ&×,Ñ,ðô ô Ø-¬e¯h©h×.LÑ.L×.WÑ.WÐ-Xð YÜ Ÿ8™8×9Ñ9×?Ñ?Ð@ð AØ˜ðó
ð 	
õ
 ;á7¸Ó<ÐÜŸ™×4Ñ4°SÓ9ÐàÒ$Ð);Ò)GÜØSó
ð 	
ð Ò Ø!Ð!àÐr   c                ó  € ^ RI HpHp V! V 4      p\        P                  P                  V 4      pV'       d   V'       d   \        R4      hV'       d   V! V 4      pV# V'       d    \        P                  P                  V 4      # R# )r   )r‰   Úunset_mode_pre_dispatchzECan't have active infra mode on both pre and post dispatch mode stackN)r�   r‰   r”   r*   r+   rŽ   rF   Ú_unset_dispatch_mode)r�   r‰   r”   r�   r‘   r1   s   &     r   Ú_unset_infra_moder–   3  sl   € ßSá7¸Ó<ÐÜŸ™×4Ñ4°SÓ9Ðß×/ÜØSó
ð 	
÷ Ù& sÓ+ˆØˆßÜ�x‰x×,Ñ,¨SÓ1Ð1ñ r   c              #  ó*  "  € V \         P                  P                  P                  \         P                  P                  P                  39  d   \        R 4      h\        V 4      p Vx € Ve   \        V4       R# R#   Te   \        T4       i i ; i5i)z<key must be either FUNCTIONAL or PROXY _TorchDispatchModeKeyN)r*   r+   rŠ   r‹   rŒ   rF   r–   r\   )r�   Ú
mode_unsets   & r   Ú_disable_infra_moder™   D  s‡   é € Ø
Ü�‰×&Ñ&×1Ñ1Ü�‰×&Ñ&×,Ñ,ðô ô ØJó
ð 	
ô # 3Ó'€Jð#ØÒàÒ!Ü�zÖ"ñ "øˆ:Ò!Ü�zÕ"ð "üs   ‚A$BÁ'A> Á+BÁ>BÂBc               ó   € V ^8„  d   QhRR/# )r   r   zlist[TorchDispatchMode]r   )r   s   "r   r   r   T  s   € ÷ Añ AÐ*Añ Ar   c                 óh   € \        4       p \        V 4       Uu. uF  p\        V4      NK  	  up# u upi )z¤
Returns the current stack of dispatch modes, with the most recent
(i.e., the one that will be processed first) at the end of the
list (standard stack convention).
)r   r,   r   )r/   Úis     r   Ú _get_current_dispatch_mode_stackr�   T  s1   € ô *Ó+€IÜ/4°YÔ/?Ó@Ñ/?¨!Ô" 1Ö%Ñ/?Ñ@Ð@ùÒ@s   ˜/c               ó    € V ^8„  d   QhRRRR/# )r   r1   r4   r   ÚNoner   )r   s   "r   r   r   ^  s   € ÷ !ñ !Ð&ð !¨4ñ !r   c                ó†  € \        V R 4      '       d   V P                  MRpVe5   V\        P                  P                  P
                  8w  d   \        R4      hVf   \        V 4       R# ^ RIH	pH
p \        P                  P                  V4      pV! 4        F  pV F  pVP                  V4       K  	  K  	  V! V 4       R# )rE   Nz:mode._dispatch_key must be None or DispatchKey.PreDispatch)Ú_set_mode_pre_dispatchÚget_cached_ops)rN   rE   r*   r+   r   ÚPreDispatchrF   r   r�   r¡   r¢   Ú_functionality_to_backend_keysÚ_uncache_dispatch)r1   Úkr¡   r¢   ÚksÚopr�   s   &      r   r\   r\   ^  s¡   € Ü% d¨O×<Ò<ˆ×ÒÀ$€AØ‚}˜œeŸh™h×2Ñ2×>Ñ>Ô>ÜØHó
ð 	
ð 	‚yÜ% dÔ+ÙçAô 
�‰×	0Ñ	0°Ó	3€BÙÖˆÛˆCØ× Ñ  Ö%ó ñ ñ ˜4Ö r   c               ó   € V ^8„  d   QhRR/# )r   r¦   z3DispatchKey | torch._C._TorchDispatchModeKey | Noner   )r   s   "r   r   r   s  s   € ÷ ,ñ ,ÐDñ ,r   c                óä   € V \         P                  P                  P                  8X  d   ^ RIHp V! 4       # V e+   \        V \         P                  P                  4      '       d   \        V 4      # R# )r   )Ú_pop_mode_from_pre_dispatchN)	r*   r+   r   r£   r�   r«   r<   rŠ   r   )r¦   r«   s   & r   rc   rc   s  sR   € ØŒE�H‰H× Ñ ×,Ñ,Ô,Ý:á*Ó,Ð,à‚y”J˜q¤%§(¡(×"@Ñ"@×AÒAÜ(¨Ó+Ð+ñ Br   c               ó   € V ^8„  d   QhRR/# )r   r¦   zDispatchKey | Noner   )r   s   "r   r   r   ~  s   € ÷ ñ Ð/ñ r   c              #  ód   "  € \        V 4      p Vx € \        V4       R #   \        T4       i ; i5ir   )rc   r\   )r¦   Úolds   & r   Ú_pop_mode_temporarilyr¯   }  s&   é € ä
�A‹,€CðØŠ	ä�3ŽøŒ
�3�üs   ‚0�  “0 -­0c               #  ó‚  "  € ^ RI Hp Hp ^ RIHp ^ RIHp ^ RIHp V ! 4       p\        V4       Uu. uF	  qa! 4       NK  	  ppRpRp	Rp
V F>  p\        W´4      '       d   Rp\        W²4      '       d   Rp	\        W³4      '       g   K<  Rp
K@  	  \        4       p\        V4       Uu. uF  p\        4       NK  	  ppV Fq  p\        Wâ4      '       d   V	'       d   \        R4      h\        Wä4      '       d   V'       d   \        R4      h\        Wã4      '       g   K^  V
'       g   Kh  \        R	4      h	   W},           x € \        V4       F  p\        V4       K  	  \        V4       F  p\        V4       K  	  R
# u upi u upi   \        T4       F  p\        T4       K  	  \        T4       F  p\        T4       K  	  i ; i5i)r   )Ú&_len_torch_dispatch_stack_pre_dispatchr«   )ÚFunctionalTensorMode)ÚSchemaCheckMode)ÚProxyTorchDispatchModeFTzFCan't have FunctionalMode available both in PreDispatch and Python KeyzNCan't have ProxyTorchDispatchMode available both in PreDispatch and Python KeyzGCan't have SchemaCheckMode available both in PreDispatch and Python KeyN)r�   r±   r«   Ú#torch._subclasses.functional_tensorr²   Ú#torch._subclasses.schema_check_moder³   Ú"torch.fx.experimental.proxy_tensorr´   r,   r<   r   rc   rF   Úreversedr\   )r±   r«   r²   r³   r´   Úmode_len_pre_dispatchÚ_Úold_pre_dispatch_modesÚhas_proxy_mode_in_pre_dispatchÚ#has_functional_mode_in_pre_dispatchÚ%has_schema_check_mode_in_pre_dispatchrœ   Úmode_lenÚ	old_modesr®   r1   s                   r   Ú_disable_current_modesrÁ   †  s   é € ÷õ IÝCÝIáBÓDÐä/4Ð5JÔ/KóÙ/K¨!Ð#Ö%Ñ/Kð ð ð &+Ð"Ø*/Ð'Ø,1Ð)ã#ˆÜ�a×0Ò0Ø-1Ð*Ü�a×.Ò.Ø26Ð/Ü�a×)Ô)Ø48Ò1ñ $ô )Ó*€HÜ&+¨H¤oÓ6¡o ”–¡o€IÐ6ãˆä�s×1Ò1ß3ä ØXóð ô �c×2Ò2×7UÜ Ø`óð ô �c×+Ô+×0UÑ0UÜ ØYóð ñ ð$Ø$Õ0Ò0ä˜YÖ'ˆDÜ�tÖñ (äÐ3Ö4ˆDÜ�tÖó 5ùòUùò" 7øô. ˜YÖ'ˆDÜ�tÖñ (äÐ3Ö4ˆDÜ�tÖò 5üsT   ‚/F?±E6Á AF?ÂF?Â#E;Â6F?Ã#F?Ã:F?ÄF?Ä"F?Ä0
F  Ä:AF?Æ <F<Æ<F?c                  ó    € ] tR tRtRR ltRtR# )ÚBaseTorchDispatchModei¿  Nc                	ó   € Vf   / pV! V/ VB # r   r   rT   s   &&&&&r   r6   Ú(BaseTorchDispatchMode.__torch_dispatch__À  s   € ØŠ>ØˆFÙ�TÐ$˜VÑ$Ð$r   r   r|   )r}   r~   r   r€   r6   rƒ   r   r   r   rÃ   rÃ   ¿  s   † ÷%ð %r   rÃ   c                  ó&  € ] tR tRt$ RtR R lt]R R l4       tR]R&   ]	RR
 R ll4       t
]	R R l4       t
]	RR R ll4       t]	R R l4       tR R ltR R lt]	RRR	/R R lll4       t]	R RR	/R R lll4       t]	RRR	/R R lll4       tRtR	# )!ÚTraceableWrapperSubclassiÉ  aP  
Canonical protocol for wrapper tensor subclasses that PT2 can trace through.

``__tensor_flatten__`` must return stable attribute names for the inner
values that participate in tracing together with any metadata needed to
rebuild the outer subclass.

``__tensor_unflatten__`` must reconstruct an equivalent wrapper subclass
instance from the flattened inner values, metadata, and requested outer
size/stride. Callers may pass tensor attrs and registered reference-type
opaques in ``inner_tensors``. The returned tensor is expected to preserve
the requested outer size/stride. If ``attrs, metadata =
x.__tensor_flatten__()``, then ``type(x).__tensor_unflatten__`` must round-
trip from ``{name: getattr(x, name) for name in attrs}``, ``metadata``,
``x.size()``, and ``x.stride()`` to an equivalent instance of ``x``.

``__tensor_unflatten__`` may be implemented as either a ``@staticmethod``
or a ``@classmethod``; the runtime check below intentionally uses duck
typing to support both forms, even though static type checkers may only
recognize the ``@staticmethod`` form as conforming to this protocol.
c               ó   € V ^8„  d   QhRR/# )r   r   ztuple[Sequence[str], object]r   )r   s   "r   r   Ú%TraceableWrapperSubclass.__annotate__à  s   € ×EÑEÐ$@ÑEr   c                	ó   € R # r   r   rO   s   &r   Ú__tensor_flatten__Ú+TraceableWrapperSubclass.__tensor_flatten__à  s   € Á#r   c          
     ó,   € V ^8„  d   QhRRRRRRRRRR	/# )
r   Úinner_tensorsz,Mapping[str, torch.Tensor | CustomClassBase]ÚmetadataÚobjectÚ
outer_sizezSequence[int | torch.SymInt]Úouter_strider   útorch.Tensorr   )r   s   "r   r   rÉ   ã  s:   € ÷ ñ ØCðàðð 1ðð 3ð	ð
 
ñr   c                	ó   € R # r   r   )rÎ   rÏ   rÑ   rÒ   s   &&&&r   Ú__tensor_unflatten__Ú-TraceableWrapperSubclass.__tensor_unflatten__â  s   € ñ r   ztorch._C.SizeÚshapeNc               ó    € V ^8„  d   QhRRRR/# ©r   ÚdimrŸ   r   ztuple[int, ...]r   )r   s   "r   r   rÉ   í  s   € ×>Ñ>˜$Ð>¨/Ñ>r   c                	ó   € R # r   r   ©rJ   rÚ   s   &&r   ÚstrideÚTraceableWrapperSubclass.strideì  s   € Ù;>r   c               ó    € V ^8„  d   QhRRRR/# ©r   rÚ   Úintr   r   )r   s   "r   r   rÉ   ð  s   € ×*Ñ*˜#Ð* #Ñ*r   c                	ó   € R # r   r   rÜ   s   &&r   rÝ   rÞ   ï  s   € Ù'*r   c               ó    € V ^8„  d   QhRRRR/# rÙ   r   )r   s   "r   r   rÉ   ó  s   € ×<Ñ<˜Ð<¨Ñ<r   c                	ó   € R # r   r   rÜ   s   &&r   ÚsizeÚTraceableWrapperSubclass.sizeò  s   € Ù9<r   c               ó    € V ^8„  d   QhRRRR/# rà   r   )r   s   "r   r   rÉ   ö  s   € ×(Ñ(˜Ð( Ñ(r   c                	ó   € R # r   r   rÜ   s   &&r   rå   ræ   õ  s   € Ù%(r   c               ó   € V ^8„  d   QhRR/# ©r   r   rá   r   )r   s   "r   r   rÉ   ø  s   € ×(Ñ( Ñ(r   c                	ó   € R # r   r   rO   s   &r   Ústorage_offsetÚ'TraceableWrapperSubclass.storage_offsetø  s   € ¡Sr   c               ó   € V ^8„  d   QhRR/# rê   r   )r   s   "r   r   rÉ   ú  s   € ×Ñ�SÑr   c                	ó   € R # r   r   rO   s   &r   rÚ   ÚTraceableWrapperSubclass.dimú  s   € ™#r   Úmemory_formatc          
     ó,   € V ^8„  d   QhRRRRRRRRRR	/# )
r   Údtypeztorch.types._dtypeÚnon_blockingr   Úcopyrñ   útorch.memory_format | Noner   rÓ   r   )r   s   "r   r   rÉ   ý  s<   € ÷ ñ à!ðð ðð ð	ð 2ðð 
ñr   c               	ó   € R # r   r   )rJ   ró   rô   rõ   rñ   s   &&&&$r   ÚtoÚTraceableWrapperSubclass.toü  ó   € ñ r   c               ó0   € V ^8„  d   QhRRRRRRRRRR	R
R/# )r   Údevicez)torch._prims_common.DeviceLikeType | Noneró   ztorch.types._dtype | Nonerô   r   rõ   rñ   rö   r   rÓ   r   )r   s   "r   r   rÉ     sF   € ÷ ñ à9ðð )ðð ð	ð
 ðð 2ðð 
ñr   c               	ó   € R # r   r   )rJ   rü   ró   rô   rõ   rñ   s   &&&&&$r   rø   rù     s   € ñ r   c          
     ó,   € V ^8„  d   QhRRRRRRRRRR/# )	r   ÚotherrÓ   rô   r   rõ   rñ   rö   r   r   )r   s   "r   r   rÉ     s<   € ÷ ñ àðð ðð ð	ð 2ðð 
ñr   c               	ó   € R # r   r   )rJ   rÿ   rô   rõ   rñ   s   &&&&$r   rø   rù     rú   r   r   r   )FF)NNFF)r}   r~   r   r€   r�   rË   ÚstaticmethodrÕ   Ú__annotations__r   rÝ   rå   rì   rÚ   rø   rƒ   r   r   r   rÇ   rÇ   É  s½   ‡ ñõ, Fàôó ðð ÓàÞ>ó Ø>àÜ*ó Ø*àÞ<ó Ø<àÜ(ó Ø(å(åàñð 59÷ó ðð ñð 59÷ó ðð ñð 59÷ó ôr   rÇ   c               ó    € V ^8„  d   QhRRRR/# )r   ÚtrÐ   r   r   r   )r   s   "r   r   r     s   € ÷ Sñ S°ð S¸4ñ Sr   c                óB   € \        V R 4      ;'       d    \        V R4      # )rË   rÕ   )rN   ©r  s   &r   Ú(_has_traceable_wrapper_subclass_protocolr    s    € Ü�1Ð*Ó+×RÐR´¸Ð;QÓ0RÐRr   c               ó    € V ^8„  d   QhRRRR/# )r   r  rÐ   r   z TypeIs[TraceableWrapperSubclass]r   )r   s   "r   r   r   #  s   € ÷ Gñ G Vð GÐ0Pñ Gr   c                ó¦   € \        V \        P                  4      ;'       d    \        V 4      \        P                  JpT;'       d    \	        V 4      # )aË  
Returns whether ``t`` is a tensor subclass that matches the
``TraceableWrapperSubclass`` protocol at runtime.

See ``TraceableWrapperSubclass`` for the canonical flatten/unflatten
contract. Matching the protocol is necessary but not sufficient for full
PT2 support: the subclass's ``__torch_dispatch__`` implementation must also
desugar into traceable dispatcher operations and preserve aliasing semantics
with ``return_and_correct_aliasing()`` when needed.
)r<   r*   ÚTensorÚtyper  )r  Úis_subclasss   & r   Úis_traceable_wrapper_subclassr  #  s=   € ô ˜Q¤§¡Ó-×MÐM´$°q³'ÄÇÁÐ2M€KØ×FÐFÔCÀAÓFÐFr   c               ó    € V ^8„  d   QhRRRR/# )r   r  r  r   z&TypeIs[type[TraceableWrapperSubclass]]r   )r   s   "r   r   r   2  s   € ÷ ñ Øðà+ñr   c                ó�   € \        V \        P                  4      ;'       d&    V \        P                  J;'       d    \        V 4      # )z@Same as above, but takes a type argument instead of an instance.)Ú
issubclassr*   r
  r  r  s   &r   Ú"is_traceable_wrapper_subclass_typer  2  s?   € ô
 	�1”e—l‘lÓ#÷ 	8ð 	8Ø”U—\‘\Ð!÷	8ð 	8ä4°QÓ7ðr   c           	     óæ  € Ve   TMV P                  4       pVe   TMV P                  4       pV P                  4       w  rE/ pV F  pV! V\        W4      4      Wg&   K  	  \	        V 4      P                  WeW#4      pVP                  V8w  d(   \        R\	        V 4       RV RVP                   24      hVP                  4       V8w  d,   \        R\	        V 4       RV RVP                  4        24      hV# )a³  
Given a traceable, wrapper tensor subclass ``t`` that implements
``__torch_dispatch__`` and holds some inner tensors,
and a callback of type ``Callable[[str, torch.Tensor], torch.Tensor]``,
`transform_subclass` will construct a fresh instance of the wrapper tensor subclass.
It will do so by grabbing each inner tensor attribute from the wrapper,
passing them into ``callback`` to get a transformed tensor,
and putting each transformed tensor into the fresh tensor subclass instance.

Note: this function will not handle ensuring that the fresh subclass
gets the same (autograd, and aliasing) metadata as the original tensor.
This is generally handled in other subsystems like AOTAutograd.
zExpected return value from z.__tensor_unflatten__() to have shape equal to z, but got: z/__tensor_unflatten__() to have stride equal to )rå   rÝ   rË   Úgetattrr  rÕ   r×   rF   )	r  ÚcallbackrÑ   rÒ   ÚattrsÚctxÚtransformed_tensors_dictÚattrÚsubs	   &&&&     r   Útransform_subclassr  =  s  € ð  *Ò5‘¸1¿6¹6»8€JØ#/Ò#;‘<ÀÇÁÃ€Là×%Ñ%Ó'�J€EØ!ÐÛˆÙ)1°$¼ÀÓ8HÓ)IÐ Ó&ñ ä
ˆq‹'×
&Ñ
&Ø  zó€Cð ‡y�y�JÔÜØ)¬$¨q«'¨ð 3Ø(˜\¨°S·Y±Y°KðAó
ð 	
ð ‡z�zƒ|�|Ô#ÜØ)¬$¨q«'¨ð 3Ø+˜n¨K¸¿
¹
»°~ðGó
ð 	
ð
 €Jr   c               ó   € V ^8„  d   QhRR/# ©r   r   rŸ   r   )r   s   "r   r   r   g  s   € ÷ ?Cñ ?CÀñ ?Cr   c                ó°  a € \        S \        P                  P                  4      '       g   \	        R\        V4       24      h\        V\        4      '       g   \	        R\        V4       24      h\        V\        \        34      '       g   \	        R\        V4       24      hR V 3R llpVP                   F  w  rVV! W%,          W6,          4       K  	  R# )aò  
Given: an OpOverload, a SchemaInfo (cached information from torchgen about schema),
and the inputs/outputs to the OpOverload,
this function checks to see if func is a view operator
(by checking if any of the outputs in the op's schema
 are immutable aliases of inputs).
If so, this function manually aliases the storage of the output tensor
with its corresponding input tensor alias.
It does this by unsafely overwriting the storage field of the output tensor
to be the same storage as the input.
z func must be an OpOverload, got zargs must be a tuple, got z"outs must be a list or tuple, got c               ó   € V ^8„  d   QhRR/# r  r   )r   s   "r   r   Ú/_correct_storage_aliasing.<locals>.__annotate__z  s   € ÷ )6ñ )6¨tñ )6r   c                ób  <€ \        V 4      p\        V4      pW#Jd�   \        V4      '       g   \        V4      '       dm   \        V\        4      '       d   TMV.pV FK  p\        V 4      \        V4      Jg   K  \	        R \        S4       R\        V 4       R\        V4       R24      h	  \        V\        4      '       d"   V F  p\        P                  ! WP4       K  	  R# \        V\        P                  4      '       g   \	        R\        V4       24      h\        P                  ! W4       R# )zCalled z with input of type z
and output of type z. But expected types to match.zexpected torch.Tensor, got N)	r  r  r<   ÚlistrF   Ústrr*   Ú_functionalize_unsafe_setr
  )ÚargÚretÚarg_typeÚret_typeÚret_listÚrrU   s   &&    €r   Úalias_non_inplace_storageÚ<_correct_storage_aliasing.<locals>.alias_non_inplace_storagez  sü   ø€ ô ˜“9ˆÜ˜“9ˆØÓ#Ü.¨x×8Ò8Ü1°(×;Ò;ä(¨¬d×3Ò3‘s¸#¸ˆHÛ�Ü˜“9¤D¨£GÕ+Ü(Ø!¤# d£) Ð,@ÄÀcÃÀð L.Ü.2°3«i¨[Ð8VðXóð ñ ô" �cœ4× Ò Û�Ü×/Ò/°Ö7ó ô ˜c¤5§<¡<×0Ò0Ü$Ð'BÄ4ÈÃ9À+Ð%NÓOÐOÜ×+Ò+¨CÖ5r   N)	r<   r*   Ú_opsÚ
OpOverloadrF   r  Útupler!  Úread_only_alias_match_indexes)rU   Úschema_inforW   Úoutsr*  Úarg_idxÚ
return_idxs   f&&&   r   Ú_correct_storage_aliasingr4  g  s¯   ø€ ô �dœEŸJ™J×1Ñ1×2Ò2ÜÐ?ÄÀTÃ
¸|ÐLÓMÐMÜ�dœE×"Ò"ÜÐ9¼$¸t»*¸ÐFÓGÐGÜ�dœT¤5˜M×*Ò*ÜÐAÄ$ÀtÃ*ÀÐNÓOÐO÷)6ð )6ðV  +×HÔHÑˆÙ! $¥-°Õ1AÖBó  Ir   c               ó   € V ^8„  d   QhRR/# )r   r   ú
str | Noner   )r   s   "r   r   r   ©  s   € ÷ 	!ñ 	!˜:ñ 	!r   c                ó°   € V P                   pV'       d   V P                  '       g   R # \        V4      ^8w  d   \        R4      h\	        \        V4      4      # )Nz1Expected alias_set to contain exactly one element)Ú	alias_setÚis_writeÚlenrF   ÚnextÚiter)Úxr8  s   & r   Ú_get_write_aliasr>  ©  sB   € Ø—‘€Iß˜AŸJŸJ˜JÙä
ˆ9ƒ~˜ÔÜÐPÓQÐQô ”�Y“Ó Ð r   c                  ó6   € ] tR tRt$ R]R&   R]R&   R]R&   RtR	# )
Ú	AliasInfoi¸  zset[str]r8  r   r9  r6  Únamer   N©r}   r~   r   r€   r  rƒ   r   r   r   r@  r@  ¸  s   ‡ àÓØƒNØ
×r   r@  c                  óJ   € ] tR tRt$ R]R&   R]R&   R]R&   R]R&   R	]R
&   RtR# )Ú
SchemaInfoi¿  zlist[AliasInfo]rW   r1  r   Úis_inplace_view_opzlist[str] | NoneÚouts_write_aliaseszlist[tuple[int, int]]r/  r   NrB  r   r   r   rD  rD  ¿  s$   ‡ à
ÓØ
ÓàÓð
 )Ó(ð $9×8r   rD  c               ó   € V ^8„  d   QhRR/# )r   r   rD  r   )r   s   "r   r   r   Ó  s   € ÷ _ñ _˜Jñ _r   c           	     óÖ  € V P                   R 8X  EdÓ   \        V P                  4      pVP                  R4      '       g   \	        R4      hVR,          p^ RIpVP                  RRV4      pVP                  RRV4      pVP                  R	R
V4      p\        P                  P                  P                  V4      pVP                  P                   Uu. uFz  p\        VP                  f   \        4       M\        VP                  P                   4      VP                  RJ;'       d    VP                  P"                  VP$                  R7      NK|  	  ppVP&                   Uu. uFz  p\        VP                  f   \        4       M\        VP                  P                   4      VP                  RJ;'       d    VP                  P"                  VP$                  R7      NK|  	  ppEM4V P                  P                   Uu. uFz  p\        VP(                  f   \        4       M\        VP(                  P*                  4      VP(                  RJ;'       d    VP(                  P"                  VP$                  R7      NK|  	  ppV P                  P&                   Uu. uFz  p\        VP(                  f   \        4       M\        VP(                  P*                  4      VP(                  RJ;'       d    VP(                  P"                  VP$                  R7      NK|  	  pp. p\-        V4       Fk  w  r‰\-        V4       FW  w  r«V	P                   VP                   ,          ;'       d    V	P"                  '       * pV'       g   KE  VP/                  WŠ34       KY  	  Km  	  V Uu. uF  p\1        V4      NK  	  pp\3        R V 4       4      pV^ 8X  d   RpMPV\5        V4      8w  d&   \7        R\        V P                  4      ,           4      h\9        \:        \        ,          V4      p\=        VV\>        P@                  PB                  V PD                  9   VVR7      pV# u upi u upi u upi u upi u upi )Úatenzaten::z6Expected torchgen schema string to start with 'aten::':é   NNNz=\[[0, ]+\]z=0z=\[[1, ]+\]z=1z=\[(-?[0-9]+), (-?[0-9]+)\]z=[\1,\2])r8  r9  rA  c              3  ó(   "  € T F  qR Jx € K
  	  R # 5ir   r   )Ú.0r=  s   & r   Ú	<genexpr>Ú!get_alias_info.<locals>.<genexpr>   s   é € ÐCÑ+B a˜T•MÓ+Bùs   ‚zUnsupported schema: )rW   r1  rE  rF  r/  )#Ú	namespacer"  Ú_schemaÚ
startswithrF   Úrer  ÚtorchgenÚmodelÚFunctionSchemaÚparseÚ	argumentsÚflat_allr@  Ú
annotationÚsetr8  r9  rA  ÚreturnsÚ
alias_infoÚ
before_setÚ	enumerater[   r>  Úsumr:  ÚRuntimeErrorr   r!  rD  r*   ÚTagÚinplace_viewÚtags)rU   Útorchgen_schema_strrR  Útorchgen_schemaÚaÚarg_schemasÚout_schemasr/  r2  Ú
schema_argr3  Ú
schema_outÚis_read_only_alias_matchr)  Úouts_write_aliases_listÚ	non_nonesrF  r0  s   &                 r   Úget_alias_inforn  Ò  sÔ  € ð ‡~�~˜ÕÜ! $§,¡,Ó/ÐØ"×-Ñ-¨h×7Ò7Ü ØHóð ð
 2°"Õ5ÐÛð !Ÿf™f ^°TÐ;NÓOÐØ Ÿf™f ^°TÐ;NÓOÐà Ÿf™fØ*¨KÐ9Ló
Ðô #Ÿ.™.×7Ñ7×=Ñ=Ð>QÓRˆð %×.Ñ.×7Ò7ó	
ñ 8�ô àŸ\™\Ò1”C”E´s¸1¿<¹<×;QÑ;QÓ7RàŸ™¨TÐ1×KÐK°a·l±l×6KÑ6KØ—V‘V÷ñ 8ð 	ð 	
ð$ %×,Ò,ó	
ñ -�ô àŸ\™\Ò1”C”E´s¸1¿<¹<×;QÑ;QÓ7RàŸ™¨TÐ1×KÐK°a·l±l×6KÑ6KØ—V‘V÷ñ -ð 	ð 	
‰ð( —\‘\×+Ò+ó	
ñ ,�ô àŸ\™\Ò1”C”E´s¸1¿<¹<×;RÑ;RÓ7SàŸ™¨TÐ1×KÐK°a·l±l×6KÑ6KØ—V‘V÷ñ ,ð 	ð 	
ð$ —\‘\×)Ò)ó	
ñ *�ô àŸ\™\Ò1”C”E´s¸1¿<¹<×;RÑ;RÓ7SàŸ™¨TÐ1×KÐK°a·l±l×6KÑ6KØ—V‘V÷ñ *ð 	ð 	
ð %'Ð!Ü(¨Ö5ÑˆÜ&/°Ö&<Ñ"ˆJà×$Ñ$ z×';Ñ';Õ;÷(*ð (*à ×)Ñ)Ô)ð %÷ (Ñ'Ø-×4Ñ4°gÐ5JÖKó '=ñ  6ñ &1ó1Ù%0 Ô˜Ö¡[ð ð 1ô ÑCÑ+BÓCÓC€IØ�A„~Ø/3ÑØ	”cÐ1Ó2Ô	2äÐ1´C¸¿¹Ó4EÕEÓFÐFä!¤$¤s¥)Ð-DÓEÐäØØô !Ÿ9™9×1Ñ1°T·Y±YÑ>Ø-Ø&Cô€Kð ÐùòQ	
ùò	
ùò	
ùò	
ùò&1s:   ÃAQÄ&+QÅ!AQÆ6+QÇ=AQÉ+QÊAQ!Ë,+Q!ÎQ&c               ó$   € V ^8„  d   QhRRRRRR/# )r   rU   ztorch._ops.OpOverloadÚ	flat_argszSequence[torch.Tensor | object]r   r   r   )r   s   "r   r   r   5  s$   € ÷ 7(ñ 7(Ø
ð7(Ø,Kð7(à	ñ7(r   c                ó¾  € RpV FÏ  p\        V\        P                  4      '       g   K%  \        P                  P	                  \        P                  P                  VP                  P                  4      4      pVf#   \        RVP                  P                   24      h\        P                  P                  V P                  4       V4      p V'       * # 	  V'       * # )aä  
Suppose that an operator has CompositeImplicitAutograd decomp registered.
Would autograd have used this decomposition?  It will only use it if there
isn't an explicit backend registration for the device as well.  This function
will tell if this would have occurred.

Why do we need to apply these decompositions later?  When inference mode is
on, the autograd key is bypassed entirely, so a lower level mode cannot rely
on the decomposition having been applied.  It's easy to accidentally never apply
the decomposition, resulting in an operator showing up in a graph that
is unexpected.

Why do we need to AVOID applying the decomposition when autograd wouldn't
have decomposed?  If autograd doesn't decompose, this means in eager mode
we would have run the fused kernel.  It must be possible to trace this
fused kernel directly into the graph for fidelity with eager (NB: a user
has the option of then further decomposing at proxy tensor mode via
decomposition table, but we must preserve it to proxy mode to have the
choice.)

Why does functionalization need to also perform the test here?  This is
because some CompositeImplicitAutograd decompositions are not functional.
If we are eventually going to decompose, we need to do this while we can
still turn functionalization back on, so those decompositions get functionalized.
So an early decomposition in functionalization may still be necessary.  Note that
if proxy tensor decomposition process could turn functionalization back on, this
wouldn't be necessary, and maybe that is a useful thing to do anyway because
the decomposition table is user specified and a user could violate the functional
decomp requirement with a bad decomp.  If this happened, then you could always
pass through functionalization.
Fz(failed to parse dispatch key for device )r<   r*   r
  r+   Ú_parse_dispatch_keyÚ_dispatch_key_for_devicerü   r  rF   Ú%_dispatch_has_kernel_for_dispatch_keyrA  )rU   rp  Úhas_backend_registrationrf  Úbackend_keys   &&   r   Úautograd_would_have_decomposedrw  5  s¶   € ðD  %ÐÛˆÜ�aœŸ™×&Ô&ÜŸ(™(×6Ñ6Ü—‘×1Ñ1°!·(±(·-±-Ó@óˆKð Ò"Ü$Ø>¸q¿x¹x¿}¹}¸oÐNóð ô (-§x¡x×'UÑ'UØ—	‘	“˜[ó(Ð$ð Ø'Ô'Ð'ñ) ð( (Ô'Ð'r   c                ó  a € \        S 4      pV 3R lp\        S YA\        V\        4      '       g   V3MT4       VP                  '       Ed   \        V4       UUu. uF'  w  rg\        VP                  V,          4      f   K%  VNK)  	  ppp\        V4      ^8w  d   \        R4      h^ RI
Hp	 \        V^ ,          V	4      '       g    \        P                  P                  P                  4       ;_uu_ 4        \        P                   P#                  4       p
\        P                   P%                  R4        S ! V/ VB  \        P                   P%                  V
4        RRR4       VP&                  pVf   V# \        V4      ^8X  d   V! V^ ,          WAV4      # \)        V4      ! V Uu. uF  pV! WÄW4      NK  	  up4      pV# u uppi   \        P                   P%                  T
4       i ; i  + '       g   i     L—; iu upi )a.  
This function should be used by wrapper tensor ``__torch_dispatch__`` subclasses
that would like to work with torch.compile. It ensures that the subclass
properly implements the aliasing behavior of every op,
which is needed for correctness in AOTAutograd.
This function will handle:

    * When we see a view op, we will alias the storages of any
      input and output tensor subclasses

    * When we see an inplace or out= op, we will directly
      return the corresponding input tensor, instead of returning
      a (potentially) fresh output tensor.
c                ó¾  <€ \         P                  P                  P                  SW#R 7      w  rE\	        VP
                  4       UUu. uF  w  rgWP                  9   g   K  VNK  	  ppp\        V4      ^8w  d   \        R4      hV^ ,          p	VP
                  V	,          p
V
P                  e$   V
P                  V9   d   WZP                  ,          # WI,          # u uppi ))rW   r@   z>Expected exactly one argument index for the given output alias)
r*   ÚfxÚoperator_schemasÚnormalize_functionr^  rW   r8  r:  rF   rA  )Úoutput_aliasr0  rW   r@   Únew_argsÚ
new_kwargsrœ   rf  Úarg_indicesr0   Úarg_inforU   s   &&&&       €r   Úget_arg_from_aliasÚ7return_and_correct_aliasing.<locals>.get_arg_from_aliasƒ  sË   ø€ Ü$Ÿx™x×8Ñ8×KÑKØ�tð  Ló  
Ñˆô
 $ K×$4Ñ$4Ô5ô
Ù5‘$�!¸ÏÉÑ9T�AˆAÑ5ð 	ñ 
ô ˆ{Ó˜qÔ Ü ØPóð ð ˜!�nˆØ×#Ñ# CÕ(ˆØ�=‰=Ò$¨¯©¸*Ô)DØŸm™mÕ,Ð,Ø�}Ðùó
s   ÁCÁ CNz5expected exactly one mutated arg for inplace_view ops)ÚFunctionalTensorT)rn  r4  r<   r.  rE  r^  r>  rW   r:  rF   rµ   r„  r*   ÚutilsÚ_mode_utilsÚno_dispatchr+   Ú_meta_in_tls_dispatch_includeÚ!_set_meta_in_tls_dispatch_includerF  r  )rU   rW   r@   Úoutr0  r‚  rœ   r=  Úmutated_argsr„  Úmeta_in_tlsÚschema_info_outs_write_aliasesÚwrite_aliasÚouts_to_returns   f&&&          r   Úreturn_and_correct_aliasingr�  o  sÅ  ø€ ô$ ! Ó&€Kõô* Øˆk¬z¸#¼u×/EÒ/E #¡È3ôð ×%×%Ñ%ô
 " $œô
á'‘�Ü × 0Ñ 0°Õ 3Ó4÷ ˆAÙ'ð 	ñ 
ô ˆ|Ó Ô!Ü ØGóð õ 	Iä˜, q�/Ð+;×<Ò<Ü—‘×(Ñ(×4Ñ4×6Õ6ô $Ÿh™h×DÑDÓF�Ü—‘×:Ñ:¸4Ô@ðLÙ˜$Ð) &Ò)ä—H‘H×>Ñ>¸{ÕK÷ 7ð &1×%CÑ%CÐ"à%Ò-Øˆ
ä
Ð)Ó*¨aÔ/Ù!Ø*¨1Õ-¨{À&ó
ð 	
ô
 ˜#”Yñ  >ó	
á=�ñ   ¸$ÖGÙ=ñ	
ó€Nð Ðùó]
øô2 —H‘H×>Ñ>¸{ÕKú÷ 7×6üò0	
s6   Á"G ÂG Ã4>G*Ä3GÄ;G*Æ%G=Ç!G'Ç'G*Ç*G:	rZ   r   )NN)@Ú
__future__r   Ú
contextlibÚ	functoolsrl   Úcollectionsr   Údataclassesr   Útypingr   r   r   r	   Útyping_extensionsr
   r*   rS  Útorchgen.modelÚtorch._Cr   r   r   r   r   Útorch._C._dynamo.guardsr   Úcollections.abcr   r   Útorch._custom_class_baser   r    r!   r&   r"   r'   r2   r4   r‡   r’   r–   r™   r�   r\   rc   Úcontextmanagerr¯   rÁ   rÃ   rÇ   ÚTensorWithFlattenr  r  r  r  r4  r>  r@  rD  Úcachern  rw  r�  r   r   r   Ú<module>r      sm  ðå "ã Û Û Ý Ý !ß :Ó :Ý $ã Û Û ÷õ õ T÷ ß1å8ð #Ð Ø',Ð $à38Ð 0÷õ<õ÷"Cñ CõLòò42ò"#õ Aõ!÷*,ð ×Ñöó ðð ×Ññ5ó ð5ôp%Ð-ô %ôP˜xô Pðf -Ð õSõGõô'õT?CõD	!ð ÷ð ó ðð ÷9ð 9ó ð9ð$ ‡�ô_ó ð_õD7(ôt`r   