Ë
    *êñi€‡  ã                   óÂ  — d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl m	Z	 d dl
mZmZ d dlmZmZ d dlmZmZmZ d dlZd dlmc mZ d dlmZ d dlmZ d dlmZ d d	lm Z  d d
l!m"Z" ddl#m$Z$ ddl%m&Z&m'Z'm(Z( ddl)m*Z*m+Z+ ddl,m-Z-m.Z.m/Z/m0Z0 ddl1m2Z2 g d¢Z3 ejh                  e5«      Z6 ee5d«      Z7de8de9fd„Z:de;e8df   de<e=e8f   de8fd„Z> e$d¬«       G d„ d«      «       Z? e$d¬«       G d„ d«      «       Z@g d ¢ZA e$d!¬«       G d"„ d#«      «       ZBd;d$e=fd%„ZC e$d!¬«       G d&„ d'eB«      «       ZD e$d¬«      d(„ «       ZE e$d!¬«       G d)„ d*eF«      «       ZG e$d!¬«       G d+„ d,«      «       ZH e$d¬«       G d-„ d.eH«      «       ZI e$d!¬«       G d/„ d0eH«      «       ZJ e$d¬«       G d1„ d2eH«      «       ZKe'D ]  ZLd3„ ZM eMeL«       Œ d4„ ZNe(D ]
  ZO eNeO«       Œ d5„ ZPd6„ ZQg e.¢ eRd«      ‘ eRd«      ‘ej¦                  j¨                  ‘ej¦                  jª                  ‘D � ci c]  } | d7„ “Œ c} ZVd8„ eVeH<   d9„ eVe;<   d:„ eVeW<   eQeVe<<   eVeW   eVe+<   eVe<   eVe*<   yc c} w )<é    N)ÚOrderedDict)ÚCallableÚIterator)ÚfieldsÚis_dataclass)ÚAnyÚOptionalÚTypeVar)Ú_fx_map_arg)Úis_opaque_value_type)ÚgetArtifactLogger)Ú	tree_map_)ÚCapturedTracebacké   )Úcompatibility)ÚGraphÚmagic_methodsÚreflectable_magic_methods)Úimmutable_dictÚimmutable_list)ÚArgumentÚ
base_typesÚNodeÚTarget)Úcheck_for_mutable_operation)	Ú
TracerBaseÚGraphAppendingTracerÚ
TraceErrorÚProxyÚ	MetaProxyÚ	AttributeÚParameterProxyÚScopeÚScopeContextManagerÚ
annotationÚobjÚreturnc                 ó˜   — ddl }ddl}t        | |j                  |j                  |j
                  |j                  |j                  f«      S )zÐ
    Returns True if obj is an arbitrary callable (function, lambda, method, etc.)
    that requires special tracing to handle. These cannot be symbolically traced
    using the standard Proxy mechanism.
    r   N)Ú	functoolsÚtypesÚ
isinstanceÚFunctionTypeÚ
MethodTypeÚBuiltinFunctionTypeÚBuiltinMethodTypeÚpartial)r&   r)   r*   s      úP/var/www/pod-logistic/pod-ai/venv/lib/python3.12/site-packages/torch/fx/proxy.pyÚ_is_arbitrary_callabler2   1   sL   € ó ÛäØà×ÑØ×ÑØ×%Ñ%Ø×#Ñ#Ø×Ñð	
ó	ð 	ó    Úargs.Úkwargsc                 óf   ‡— dŠt        d«      }d|d|fˆfd„}t        || «       t        ||«       ‰S )z‘
    Recursively searches args and kwargs for any arbitrary callable.
    Returns the first arbitrary callable found, or None if none exist.
    NÚ_Tr&   r'   c                 ó*   •— ‰�| S t        | «      r| Š| S ©N)r2   )r&   Úfounds    €r1   Úcheckz'_find_arbitrary_callable.<locals>.checkQ   s    ø€ àÐØˆJÜ! #Ô&ØˆEØˆ
r3   )r
   r   )r4   r5   r7   r;   r:   s       @r1   Ú_find_arbitrary_callabler<   F   sA   ø€ ð €Eä	�‹€Bð�2ð ˜"õ ô ˆe�TÔÜˆe�VÔØ€Lr3   F©Úis_backward_compatiblec                   ó,   ‡ — e Zd ZdZdedefˆ fd„Zˆ xZS )r#   a7  Scope object that records the module path and the module type
    of a module. Scope is used to track the information of the module
    that contains a Node in a Graph of GraphModule. For example::

        class Sub(torch.nn.Module):
            def forward(self, x):
                # This will be a call_method Node in GraphModule,
                # scope for this would be (module_path="sub", module_type=Sub)
                return x.transpose(1, 2)


        class M(torch.nn.Module):
            def __init__(self) -> None:
                self.sub = Sub()

            def forward(self, x):
                # This will be a call_method Node as well,
                # scope for this would be (module_path="", None)
                x = x.transpose(1, 2)
                x = self.sub(x)
                return x

    Úmodule_pathÚmodule_typec                 ó>   •— t         ‰| �  «        || _        || _        y r9   )ÚsuperÚ__init__r@   rA   )Úselfr@   rA   Ú	__class__s      €r1   rD   zScope.__init__x   s   ø€ Ü‰ÑÔØ&ˆÔØ&ˆÕr3   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ústrr   rD   Ú__classcell__©rF   s   @r1   r#   r#   ^   s    ø„ ñð0' Cð '°c÷ 'ñ 'r3   r#   c                   ó8   ‡ — e Zd ZdZdedefˆ fd„Zd„ Zd„ Zˆ xZS )r$   zúA context manager to track the Scope of Node during symbolic tracing.
    When entering a forward function of a Module, we'll update the scope information of
    the current module, and when we exit, we'll restore the previous scope information.
    ÚscopeÚcurrent_scopec                 ó¨   •— t         ‰| �  «        t        j                  |«      | _        |j                  |_        |j
                  |_        || _        y r9   )rC   rD   ÚcopyÚ_prev_scoper@   rA   Ú_scope)rE   rO   rP   rF   s      €r1   rD   zScopeContextManager.__init__…   sD   ø€ ô
 	‰ÑÔäŸ9™9 UÓ+ˆÔà)×5Ñ5ˆÔØ)×5Ñ5ˆÔàˆ�r3   c                 ó   — | j                   S r9   )rT   ©rE   s    r1   Ú	__enter__zScopeContextManager.__enter__“   s   € Ø�{‰{Ðr3   c                 ó˜   — | j                   j                  | j                  _        | j                   j                  | j                  _        y r9   )rS   r@   rT   rA   )rE   r4   s     r1   Ú__exit__zScopeContextManager.__exit__–   s5   € Ø"&×"2Ñ"2×">Ñ">ˆ�‰ÔØ"&×"2Ñ"2×">Ñ">ˆ�‰ÔØr3   )	rG   rH   rI   rJ   r#   rD   rW   rY   rL   rM   s   @r1   r$   r$   ~   s)   ø„ ñð
àðð õòör3   r$   )Únn_module_stackÚtorch_fnÚsource_fn_stackÚoriginal_atenÚ	recomputeÚac_graph_idÚhas_backward_hookÚ	from_nodeÚquantization_tagÚ_numeric_debug_handleÚcustomÚpartitioner_tagTc                   óŠ  — e Zd ZU eed<   dZeed<   dZeed<   dZeed<   dZ	eed<   dZ
eed<   dZeed	<   eed
<   eeeeef   f   ed<   eeeeef   f   ed<    ed¬«      	 	 d'dededeedf   deeef   dee   dee   defd„«       Zdej4                  dej4                  fd„Z ed¬«      deddfd„«       Z ed¬«      	 	 	 d(dededeedf   deeef   dee   dee   deegdf   fd„«       Zd „ Z ed¬«      d!edefd"„«       Z  ed¬«      d#ddefd$„«       Z! ed¬«      d#dde"fd%„«       Z# ed¬«      d#ddefd&„«       Z$y))r   ÚgraphFÚrecord_stack_tracesÚ!_record_forward_stack_traces_onlyÚcheck_mutable_operationsÚtrace_assertsÚproxy_buffer_attributesÚforwardÚtraced_func_namerO   Úmodule_stackÚnode_name_to_scopeTr=   NÚkindÚtargetr4   .r5   ÚnameÚ	type_exprr'   c                 óz  — |dk(  r| j                   rt        |||«       | j                  j                  ||||||«      }| j                  j
                  | j                  j                  f| j                  |j                  <   t        j                  «       �rUt        j                  «       }|j                  d«      }	|	r(|	|_        t        j                  |	v rd|j                  d<   t         D ],  }
|
|v sŒt#        j"                  ||
   «      |j                  |
<   Œ. t%        |j                  «      }|�0t&        j)                  d||j                  «       ||j                  d<   t        j*                  «       }|�¬d|j                  d<   d|j                  v r(|j                  j                  d«      |j                  d<   d|j                  v rY|j                  j                  d«      |_        n8| j,                  r,t#        j"                  | j,                  «      |j                  d	<   | j.                  ru|j                  sit1        j2                  «       j5                  «       }|rE| j7                  |«      }|r2d
j9                  |j;                  «       «      j=                  «       |_        t>        j)                  d|«       |S )a'  
        Inserts a graph node given target, args, kwargs, and name.

        This method can be overridden to do extra checking, validation, or
        modification of values used in node creation. For example, one might
        want to disallow in-place operations from being recorded.
        Úcall_functionÚstack_traceTÚis_gradient_acczAssigning new_seq_nr %s to %sÚseq_nrÚis_functional_regeneratedrd   rZ   Ú zcreate_node %s) rj   r   rg   Úcreate_noderO   r@   rA   rp   rs   Úfx_tracebackÚhas_preserved_node_metaÚget_current_metaÚgetrw   ÚGRADIENT_ACC_SPECIAL_STACKÚmetaÚ_COPY_META_FIELDSrR   Ú_get_seq_nrÚannotation_logÚdebugÚget_current_replay_nodero   rh   r   ÚextractÚsummaryÚ_filter_traceback_framesÚjoinÚformatÚstripÚlog)rE   rq   rr   r4   r5   rs   rt   ÚnodeÚcurrent_metarw   ÚfieldÚ
new_seq_nrÚreplay_nodeÚuser_stack_summarys                 r1   r|   zTracerBase.create_nodeÉ   sS  € ð$ �?Ò" t×'DÒ'DÜ'¨°°fÔ=à�z‰z×%Ñ% d¨F°D¸&À$È	ÓRˆð �J‰J×"Ñ"Ø�J‰J×"Ñ"ð.
ˆ×Ñ §	¡	Ñ*ô ×/Ñ/Õ1Ü+7×+HÑ+HÓ+JˆLà&×*Ñ*¨=Ó9ˆKÙØ#.�Ô ä×:Ñ:¸kÑIØ37�D—I‘IÐ/Ñ0ô +ò F�Ø˜LÒ(Ü'+§y¡y°¸eÑ1DÓ'E�D—I‘I˜eÒ$ðFô % T§Y¡YÓ/ˆJØÐ%Ü×$Ñ$Ø3°ZÀÇÁôð '1�—	‘	˜(Ñ#ô
 !-× DÑ DÓ FˆKØÐ&Ø9=�—	‘	Ð5Ñ6Ø˜{×/Ñ/Ñ/Ø*5×*:Ñ*:×*>Ñ*>¸xÓ*H�D—I‘I˜hÑ'Ø  K×$4Ñ$4Ñ4Ø'2×'7Ñ'7×';Ñ';¸MÓ'J�DÕ$à×ÒÜ+/¯9©9°T×5FÑ5FÓ+GˆD�I‰IÐ'Ñ(à×#Ò#¨D×,<Ò,<Ü!2×!:Ñ!:Ó!<×!DÑ!DÓ!FÐÙ!Ø%)×%BÑ%BÐCUÓ%VÐ"Ù%Ø')§w¡wÐ/A×/HÑ/HÓ/JÓ'K×'QÑ'QÓ'S�DÔ$ä�	‰	Ð" DÔ)Øˆr3   r”   c                 óœ  — g }| j                   r:|D �cg c].  }|j                  dk(  s|j                  j                  d«      r|‘Œ0 }}n4d}t	        |«      D ]  \  }}|j                  dk(  sŒ||d  }|} n |dk(  rg }ddlm} |D �cg c]  }|j                   |«       vr|‘Œ }}t        j                  j                  |«      S c c}w c c}w )Nrm   ztorch/__init__.pyéÿÿÿÿr   )Úuninteresting_files)
ri   rs   ÚfilenameÚendswithÚ	enumerateÚ%torch.fx.experimental.symbolic_shapesr—   Ú	tracebackÚStackSummaryÚ	from_list)rE   r”   Úuser_framesÚframeÚfirst_forwardÚir—   s          r1   rŠ   z#TracerBase._filter_traceback_frames  sô   € ð
 ˆØ×1Ò1ð 0öàà—J‘J )Ò+Ø—~‘~×.Ñ.Ð/BÔCò	 ðˆKñ ð ˆMÜ%Ð&8Ó9ò ‘��5Ø—:‘: Ó*Ø"4°Q°RÐ"8�KØ$%�MÙð	ð  Ò"Ø �åMð %ö
àØ�~‰~Ñ%8Ó%:Ñ:ò ð
ˆð 
ô ×%Ñ%×/Ñ/°Ó<Ð<ùò;ùò.
s   “3CÂC	r�   r   c                 ó   — t        || «      S r9   )r   )rE   r�   s     r1   ÚproxyzTracerBase.proxy<  s   € ä�T˜4Ó Ð r3   Úproxy_factory_fnc                 óL  — | j                  |«      }| j                  |«      }	t        |t        «      st        dt	        |«      › �«      ‚t        |	t
        «      st        dt	        |	«      › �«      ‚| j                  ||||	||«      }
|s| j                  |
«      }|S  ||
«      }|S )ao  
        Create a Node from the given arguments, then return the Node
        wrapped in a Proxy object.

        If kind = 'placeholder', then we're creating a Node that
        represents the parameter of a function. If we need to encode
        a default parameter, we use the ``args`` tuple. ``args`` is
        otherwise empty for ``placeholder`` Nodes.
        z Expected args_ to be tuple, got z!Expected kwargs_ to be dict, got )Ú
create_argr+   ÚtupleÚAssertionErrorÚtypeÚdictr|   r¤   )rE   rq   rr   r4   r5   rs   rt   r¥   Úargs_Úkwargs_r�   r¤   s               r1   Úcreate_proxyzTracerBase.create_proxy@  s¥   € ð, —‘ Ó%ˆØ—/‘/ &Ó)ˆÜ˜%¤Ô'Ü Ð#CÄDÈÃKÀ=Ð!QÓRÐRÜ˜'¤4Ô(Ü Ð#DÄTÈ'Ã]ÀOÐ!TÓUÐUà×Ñ  f¨e°W¸dÀIÓNˆáØ—J‘J˜tÓ$ˆEð ˆñ % TÓ*ˆEàˆr3   c                 óŽ   ‡— t        j                  «       Šg d¢}‰r&‰j                  Š‰rt        ˆfd„|D «       «      rn‰rŒ&‰sy‰S )zf
        Find the Python stack frame executing the user code during
        symbolic tracing.
        )
ztorch/fx/proxy.pyztorch/fx/_symbolic_trace.pyz%torch/fx/experimental/proxy_tensor.pyztorch/_ops.pyztorch/_tensor.pyztorch/utils/_python_dispatch.pyztorch/_prims_common/wrappers.pyztorch/_refs/__init__.pyz%torch/_refs/nn/functional/__init__.pyztorch/utils/_stats.pyc              3   ój   •K  — | ]*  }‰j                   j                  j                  |«       –— Œ, y ­wr9   )Úf_codeÚco_filenamer™   )Ú.0Úfiler    s     €r1   ú	<genexpr>z.TracerBase._find_user_frame.<locals>.<genexpr>~  s.   øè ø€ ò Ø@D�E—L‘L×,Ñ,×5Ñ5°dÓ;Ô;ñùs   ƒ03N)ÚinspectÚcurrentframeÚf_backÚall)rE   Úpt_filesr    s     @r1   Ú_find_user_framezTracerBase._find_user_framef  sV   ø€ ô ×$Ñ$Ó&ˆò
ˆñ Ø—L‘LˆEÙœó ØHPôô ð ò ñ Øàˆr3   Úac           
      ó  — t         j                  t        |«      «      }|�	 || |«      S t        |t        «      r|j
                  S t        |d«      r|j                  | «      S t        |t        «      rft        |d«      r,|D �cg c]  }| j                  |«      ‘Œ }} t        |«      |Ž S  t        |«      |D �cg c]  }| j                  |«      ‘Œ c}«      S t        |t        «      r|D �cg c]  }| j                  |«      ‘Œ c}S t        |t        «      rt        | |«      S t        |t        «      rXt        | j                  |j                  «      | j                  |j                  «      | j                  |j                   «      «      S t        |t"        «      rXt#        | j                  |j                  «      | j                  |j                  «      | j                  |j                   «      «      S t        |t$        j&                  j(                  t$        j&                  j*                  f«      r|S t-        t        |«      «      r|S t/        |«      rdt1        |«      D �ci c]2  }|j2                  | j                  t5        ||j2                  «      «      “Œ4 }}| j7                  d|j8                  d|«      S t        |g t:        ¢t<        j>                  ‘­«      s|�|du r|S tA        dt        |«      › �«      ‚c c}w c c}w c c}w c c}w )zÔ
        A method that lowers the objects seen as arguments during symbolic evaluation
        into Argument types that can be stored in IR.

        Can be override to support more trace-specific types.
        Ú__fx_create_arg__Ú_fieldsrv   © .zargument of type: )!Ú_create_arg_bypassr€   rª   r+   r   r�   Úhasattrr¾   r¨   r§   Úlistr«   Ú_create_arg_dictÚsliceÚstartÚstopÚstepÚrangeÚtorchÚ_opsÚ
OpOverloadÚHigherOrderOperatorr   r   r   rs   Úgetattrr|   rF   r   ÚenumÚEnumÚNotImplementedError)rE   r¼   ÚhandlerÚelemr4   r‘   r5   s          r1   r§   zTracerBase.create_argˆ  s}  € ô& %×(Ñ(¬¨a«Ó1ˆØÐñ ˜4 Ó#Ð#ä�aœÔØ—6‘6ˆMÜ�QÐ+Ô,Ø×&Ñ& tÓ,Ð,ä˜œ5Ô!Ü�q˜)Ô$ð ;<Ö<°$˜Ÿ™¨Õ-Ð<�Ð<Ø”t˜A“w �~Ð%Ø”4˜“7¸aÖ@°d˜DŸO™O¨DÕ1Ò@ÓAÐAÜ˜œ4Ô Ø67Ö8¨d�D—O‘O DÕ)Ò8Ð8Ü˜œ4Ô Ü# D¨!Ó,Ð,Ü˜œ5Ô!ÜØ—‘ §¡Ó(Ø—‘ §¡Ó'Ø—‘ §¡Ó'óð ô ˜œ5Ô!ÜØ—‘ §¡Ó(Ø—‘ §¡Ó'Ø—‘ §¡Ó'óð ô ˜œEŸJ™J×1Ñ1´5·:±:×3QÑ3QÐRÔSØˆHä!¤$ q£'Ô*ØˆHä˜!Œ_ô $ A›Yöàð —
‘
˜DŸO™O¬G°A°u·z±zÓ,BÓCÑCðˆFð ð ×#Ñ# O°Q·[±[À"ÀfÓMÐMä˜Ð3œZÐ3¬¯©Ñ3Ô4¸¸	ÀQÈ#ÁXØˆHä!Ð$6´t¸A³w°iÐ"@ÓAÐAùòK =ùâ@ùâ8ùò0s   ÂK;Â:L Ã-LÉ"7L
r&   c                 ó   — t        d«      ‚)aF  Called when a proxy object is being converted to a boolean, such as
        when used in control flow.  Normally we don't know what to do because
        we don't know the value of the proxy, but a custom tracer can attach more
        information to the graph node using create_node and can choose to return a value.
        zFsymbolically traced variables cannot be used as inputs to control flow©r   ©rE   r&   s     r1   Úto_boolzTracerBase.to_boolÓ  s   € ô ØTó
ð 	
r3   c                 ó   — t        d«      ‚)aA  Called when a proxy object is being iterated over, such as
        when used in control flow.  Normally we don't know what to do because
        we don't know the value of the proxy, but a custom tracer can attach more
        information to the graph node using create_node and can choose to return an iterator.
        aH  Proxy object cannot be iterated. This can be attempted when the Proxy is used in a loop or as a *args or **kwargs function argument. See the torch.fx docs on pytorch.org for a more detailed explanation of what types of control flow can be traced, and check out the Proxy docstring for help troubleshooting Proxy iteration errorsrÕ   rÖ   s     r1   ÚiterzTracerBase.iterÞ  s   € ô ð%ó	
ð 		
r3   c                 ó$   —  t        |d«      «       S )zÖCalled when a proxy object is has the keys() method called.
        This is what happens when ** is called on a proxy. This should return an
        iterator it ** is suppose to work in your custom tracer.
        Úkeys©r!   rÖ   s     r1   rÛ   zTracerBase.keysð  s   € ð &Œy˜˜fÓ%Ó'Ð'r3   ©NN)NNN)%rG   rH   rI   r   Ú__annotations__rh   Úboolri   rj   rk   rl   rn   rK   r#   r   r¨   r   r«   rª   r   r   r   r	   r   r|   rœ   r�   rŠ   r¤   r   r®   r»   r§   r×   r   rÙ   rÛ   rÀ   r3   r1   r   r   ¬   s‘  … àƒLØ %Ð˜Ó%ð /4Ð% tÓ3ð &+Ð˜dÓ*à€M�4Óà$)Ð˜TÓ)ð &Ð�cÓ%ð ƒLð ˜c 5¨¨c¨¡?Ð2Ñ3Ó3ð ˜S %¨¨T¨	Ñ"2Ð2Ñ3Ó3á¨$Ô/ð #Ø#'ñJàðJð ðJð �H˜c�MÑ"ð	Jð
 �S˜(�]Ñ#ðJð �s‰mðJð ˜C‘=ðJð 
òJó 0ðJðX$=Ø"+×"8Ñ"8ð$=à	×	Ñ	ó$=ñL ¨$Ô/ð!˜$ð ! 7ò !ó 0ð!ñ ¨$Ô/ð #Ø#'à6:ñ#àð#ð ð#ð �C˜�H‰oð	#ð
 �S˜#�X‘ð#ð �s‰mð#ð ˜C‘=ð#ð # D 6¨7 ?Ñ3ò#ó 0ð#òJ ñD ¨$Ô/ðHB˜Cð HB Hò HBó 0ðHBñT ¨$Ô/ð
˜7ð 
 tò 
ó 0ð
ñ ¨$Ô/ð
˜ð 
 Hò 
ó 0ð
ñ" ¨$Ô/ð(˜ð ( Cò (ó 0ñ(r3   r   Ú	node_namec                 ó^  — t        j                  «       }d}|j                  dd«      dkD  rt        j	                  d| «       |d   d   }nqt
        j                  j                  j                  «       r(t        j	                  d| «       |j                  d«      }n!t
        j                  j                  «       d	z
  }t
        j                  j                  j                  «       sIt        j                  «       }|�3d|j                  v r%t        j	                  d
| «       |j                  d   }|S )a:  
    Returns the seq_nr node meta for the current proxy node that we're creating.
    The seq_nr number in node meta is related to but not the same as the "sequence number"
    in autograd.
    We use the seq_nr to correlate forward and backward nodes in the traced FX graphs
    (e.g. in copy_fwd_metadata_to_bw_nodes).
    The corresponding forward and backward FX graph nodes should have the same seq_nr.

    The ordering of the seq_nr in the graph does not indicate when the node is executed.
    For example, the nodes in the invoke_subgraph HOP's subgraph may be called multiple
    times by different HOP nodes, but these nodes only have a single seq_nr, which may be
    smaller, the same, or larger than the calling HOP.

    `node_name` is the name of the node that we're creating. It is used for logging only.
    NÚ
in_grad_fnr   z+%s: seq_nr from current_meta grad_fn_seq_nrÚgrad_fn_seq_nrr–   z#%s: seq_nr from current_meta seq_nrry   r   z%s: seq_nr from replay_node)r}   r   r€   r…   r†   rÊ   Úfxrœ   Ú_is_preserving_node_seq_nrÚautogradÚ_get_sequence_nrr‡   r‚   )rà   r�   r’   r“   s       r1   r„   r„   ù  s  € ô  $0×#@Ñ#@Ó#B€LØ€Jð ×Ñ˜ aÓ(¨1Ò,ä×ÑÐJÈIÔVØ!Ð"2Ñ3°BÑ7‰
ä	�‰×	Ñ	×	6Ñ	6Ô	8ô 	×ÑÐBÀIÔNØ!×%Ñ% hÓ/‰
ô
 —^‘^×4Ñ4Ó6¸Ñ:ˆ
ä�8‰8×Ñ×8Ñ8Ô:ô )×@Ñ@ÓBˆØÐ"Ø˜;×+Ñ+Ñ+Ü×$Ñ$Ð%BÀIÔNØ(×-Ñ-¨hÑ7�
àÐr3   c                   ó$   ‡ — e Zd Zdefˆ fd„Zˆ xZS )r   rg   c                 ó’   •— t         ‰| �  «        || _        t        dd «      | _        t        j                  «       | _        i | _        y )Nr{   )	rC   rD   rg   r#   rO   Úcollectionsr   ro   rp   )rE   rg   rF   s     €r1   rD   zGraphAppendingTracer.__init__2  s;   ø€ Ü‰ÑÔØˆŒ
Ü˜2˜t“_ˆŒ
Ü'×3Ñ3Ó5ˆÔØ"$ˆÕr3   )rG   rH   rI   r   rD   rL   rM   s   @r1   r   r   0  s   ø„ ð%˜e÷ %ñ %r3   r   c                 ó   — | st        d«      ‚y )NzAssertion failed)r©   ©Úxs    r1   Ú	assert_fnrî   :  s   € áÜÐ/Ó0Ð0ð r3   c                   ó   — e Zd Zy)r   N)rG   rH   rI   rÀ   r3   r1   r   r   @  s   „ àr3   r   c                   óÎ   — e Zd ZdZ ed¬«      ddeddfd„«       Zd	efd
„Zdd„Z	d	e
fd„Zd	e
fd„Zd„ Zdd„Zd	ed    fd„Zd„ Zd	efd„Z ed¬«      d„ «       Zd„ Zedd„«       Zy)r   a�  
    ``Proxy`` objects are ``Node`` wrappers that flow through the
    program during symbolic tracing and record all the operations
    (``torch`` function calls, method calls, operators) that they touch
    into the growing FX Graph.

    If you're doing graph transforms, you can wrap your own ``Proxy``
    method around a raw ``Node`` so that you can use the overloaded
    operators to add additional things to a ``Graph``.

    ``Proxy`` objects cannot be iterated. In other words, the symbolic
    tracer will throw an error if a ``Proxy`` is used in a loop or as
    an ``*args``/``**kwargs`` function argument.

    There are two main ways around this:
    1. Factor out the untraceable logic into a top-level function and
    use ``fx.wrap`` on it.
    2. If the control flow is static (i.e. the loop trip count is
    based on some hyperparameter), the code can be kept in its original
    position and refactored into something like::

        for i in range(self.some_hyperparameter):
            indexed_item = proxied_value[i]

    For a more detailed description into the Proxy internals, check out
    the "Proxy" section in `torch/fx/README.md`
    Tr=   Nr�   ÚtracerúOptional[TracerBase]c                 óN   — |€t        |j                  «      }|| _        || _        y r9   )r   rg   rñ   r�   )rE   r�   rñ   s      r1   rD   zProxy.__init__c  s#   € àˆ>ä)¨$¯*©*Ó5ˆFØˆŒØˆ�	r3   r'   c                 ó6   — d| j                   j                  › d�S )NzProxy(ú)©r�   rs   rV   s    r1   Ú__repr__zProxy.__repr__k  s   € Ø˜Ÿ	™	Ÿ™Ð' qÐ)Ð)r3   c                 ó   — t        | |«      S r9   rÜ   )rE   Úks     r1   Ú__getattr__zProxy.__getattr__n  s   € ô ˜˜qÓ!Ð!r3   c                 ó   — | j                   S r9   ©Ú__dict__rV   s    r1   Ú__getstate__zProxy.__getstate__s  s   € Ø�}‰}Ðr3   c                 óÎ  — dd l }i }| j                  j                  «       D ]  \  }}	  |j                  ||«      }|||<   Œ  d|vrt        d«      ‚d|vrt        d«      ‚t        |d   |d   «      }|j                  «       D ]  \  }}||j                  |<   Œ |S # t        $ r@ t
        j                  d|| j                  j                  «        |j                   |«      }Y Œ¨w xY w)Nr   zVShallow copy %s of Proxy because it cannot be deepcopied. Proxy is created for node %sr�   z.'node' not in new_dict during proxy unpicklingrñ   z0'tracer' not in new_dict during proxy unpickling)rR   rý   ÚitemsÚdeepcopyÚ	ExceptionrŽ   Úwarningr�   rs   r©   r   )rE   ÚmemorR   Únew_dictrù   ÚvÚnew_objÚ	new_proxys           r1   Ú__deepcopy__zProxy.__deepcopy__v  sÿ   € ó 	àˆØ—M‘M×'Ñ'Ó)ò 	"‰DˆAˆqð	'Ø'˜$Ÿ-™-¨¨4Ó0�ð "ˆH�QŠKð	"ð ˜Ñ!Ü Ð!QÓRÐRØ˜8Ñ#Ü Ð!SÓTÐTÜ˜( 6Ñ*¨H°XÑ,>Ó?ˆ	Ø—N‘NÓ$ò 	&‰DˆAˆqØ$%ˆI×Ñ˜qÒ!ð	&àÐøô! ò 'Ü—‘ð3àØ—I‘I—N‘Nô	ð $˜$Ÿ)™) A›,’ð'ús   ¨BÂAC$Ã#C$c                 ó   — || _         y r9   rü   )rE   Úds     r1   Ú__setstate__zProxy.__setstate__’  s	   € àˆ�r3   c                 óF   — | j                   j                  dd| f|z   |«      S )NÚcall_methodÚ__call__)rñ   r®   ©rE   r4   r5   s      r1   r  zProxy.__call__–  s(   € Ø�{‰{×'Ñ'Ø˜:¨ w°¡~°vó
ð 	
r3   c                 óà  ‡ — t        j                  «       }|€t        d«      ‚|j                  }|€t        d«      ‚t	        t        j                  |j                  «      «      }t        j                  dk\  rddl
m}  |||j                  d„ ¬«      }n|j                  dz  }||   }|j                  d	k(  rˆ fd
„t        |j                  «      D «       S ‰ j                   j#                  ‰ «      S )Nú$inspect.currentframe() returned Noneúframe.f_back is None©é   é   r   ©Úbisect_leftc                 ó   — | j                   S r9   ©Úoffsetrì   s    r1   ú<lambda>z Proxy.__iter__.<locals>.<lambda>§  s
   € ÀÇÁ€ r3   ©Úkeyé   ÚUNPACK_SEQUENCEc              3   ó(   •K  — | ]	  }‰|   –— Œ y ­wr9   rÀ   )r³   r¢   rE   s     €r1   rµ   z!Proxy.__iter__.<locals>.<genexpr>­  s   øè ø€ Ò8 �D˜•GÑ8ùs   ƒ)r¶   r·   r©   r¸   rÃ   ÚdisÚget_instructionsr±   ÚsysÚversion_infoÚbisectr  Úf_lastiÚopnamerÉ   Úargvalrñ   rÙ   )rE   r    Úcalling_frameÚ	inst_listr  Úinst_idxÚinsts   `      r1   Ú__iter__zProxy.__iter__›  sÓ   ø€ Ü×$Ñ$Ó&ˆØˆ=Ü Ð!GÓHÐHØŸ™ˆØÐ Ü Ð!7Ó8Ð8Üœ×-Ñ-¨m×.BÑ.BÓCÓDˆ	Ü×Ñ˜wÒ&Ý*á"Ø˜=×0Ñ0Ñ6Hô‰Hð %×,Ñ,°Ñ1ˆHØ˜Ñ"ˆØ�;‰;Ð+Ò+Û8¤U¨4¯;©;Ó%7Ô8Ð8à�{‰{×Ñ Ó%Ð%r3   c                 ó\   — | j                   j                  dt        j                  | fi «      S ©Nrv   )rñ   r®   ÚoperatorÚabsrV   s    r1   Ú__abs__zProxy.__abs__±  s$   € Ø�{‰{×'Ñ'¨¼¿¹ÈÀwÐPRÓSÐSr3   c                 ó  — | j                   j                  �rOt        j                  «       }|€t	        d«      ‚|j
                  }|€t	        d«      ‚t        t        j                  |j                  «      «      }t        j                  dk\  rddlm}  |||j                  d„ ¬«      }n|j                  dz  }||   }|j                  d	k(  rš||d
z      }|j                   €t	        d«      ‚||j                   dz  d
z
     }|j                  dk(  xr |j"                  dk(  xs |j                  dk(  }	|	r3|j                  dk(  r$| j                   j%                  dt&        | fi «       y| j                   j)                  | «      S )Nr  r  r  r   r  c                 ó   — | j                   S r9   r  rì   s    r1   r  z Proxy.__bool__.<locals>.<lambda>Â  s
   € ÈaÏhÉh€ r3   r  r  ÚPOP_JUMP_IF_TRUEr   z%inst.arg is None for POP_JUMP_IF_TRUEÚLOAD_GLOBALr©   ÚLOAD_ASSERTION_ERRORÚRAISE_VARARGSrv   T)rñ   rk   r¶   r·   r©   r¸   rÃ   r"  r#  r±   r$  r%  r&  r  r'  r(  Úargr)  r®   rî   r×   )
rE   r    r*  Úinstsr  Úcurr-  ÚfirstÚlastÚstarts_with_asserts
             r1   Ú__bool__zProxy.__bool__´  sd  € Ø�;‰;×$Ó$ô ×(Ñ(Ó*ˆEØˆ}Ü$Ð%KÓLÐLØ!ŸL™LˆMØÐ$Ü$Ð%;Ó<Ð<Üœ×-Ñ-¨m×.BÑ.BÓCÓDˆEÜ×Ñ 7Ò*Ý.á! %¨×)>Ñ)>ÑDVÔW‘à#×+Ñ+¨qÑ0�Ø˜‘:ˆDà�{‰{Ð0Ò0Ø˜c A™g™�Ø—8‘8Ð#Ü(Ð)PÓQÐQØ˜TŸX™X¨™]¨QÑ.Ñ/�à—L‘L MÑ1ò 9ØŸ™Ð(8Ñ8ò>à—|‘|Ð'=Ñ=ð #ñ
 &¨$¯+©+¸Ò*HØ—K‘K×,Ñ,¨_¼iÈ$ÈÐRTÔUØà�{‰{×"Ñ" 4Ó(Ð(r3   c                 ó8   — | j                   j                  | «      S r9   )rñ   rÛ   rV   s    r1   rÛ   z
Proxy.keys×  s   € à�{‰{×Ñ Ó%Ð%r3   c                 ó   — t        d«      ‚)Nz�'len' is not supported in symbolic tracing by default. If you want this call to be recorded, please call torch.fx.wrap('len') at module scope©ÚRuntimeErrorrV   s    r1   Ú__len__zProxy.__len__Û  s   € Üðó
ð 	
r3   c           	      ó:  ‡ ‡— |r|nd}|r|ni }i Šˆ ˆfd„}t        ||«       t        ||«       t        ‰«      dkD  r(t        dt        ‰j	                  «       «      › d|› �«      ‚t        t        ‰j	                  «       «      «      }t        |t        j                  j                  «      r.|j                  f|z   }|j                  d|j                  ||«      S t        j                  j                  |«      r|j                  d|j                   ||«      S t        |t        j"                  j$                  «      r*t'        ||«      }|�t        d|j(                  › d|› d	�«      ‚|j                  d
||||j*                  j-                  |j                   «      ¬«      S )NrÀ   c                 ó>   •— t        | ‰«      rd ‰| j                  <   y y r9   )r+   rñ   )r¼   ÚclsÚtracerss    €€r1   Úfind_tracerz-Proxy.__torch_function__.<locals>.find_traceré  s    ø€ Ü˜!˜SÔ!Ø$(�˜Ÿ™Ò!ð "r3   r   z!Found multiple different tracers z" while trying to trace operations r  z5Unable to symbolically trace the HigherOrderOperator z4 because it received an arbitrary callable argument z(. Use make_fx or dynamo tracing instead.rv   ©rs   )r   ÚlenrD  rÃ   rÛ   ÚnextrÙ   r+   rÊ   Ú_CÚScriptMethodÚownerr®   rs   Ú	overridesÚis_tensor_method_or_propertyrG   rË   rÍ   r<   Ú_namerg   Ú_target_to_str)	rH  Úorig_methodr*   r4   r5   rJ  rñ   Úbad_callablerI  s	   `       @r1   Ú__torch_function__zProxy.__torch_function__â  s–  ù€ á‰t ˆÙ!‘ rˆà#%ˆõ	)ô 	�+˜tÔ$Ü�+˜vÔ&äˆw‹<˜!ÒÜØ3´D¸¿¹»Ó4HÐ3Ið J.Ø.9¨]ð<óð ô ”d˜7Ÿ<™<›>Ó*Ó+ˆä�k¤5§8¡8×#8Ñ#8Ô9Ø×%Ñ%Ð'¨$Ñ.ˆDØ×&Ñ& }°k×6FÑ6FÈÈfÓUÐUÜ�?‰?×7Ñ7¸ÔDØ×&Ñ&Ø˜{×3Ñ3°T¸6óð ô ˜+¤u§z¡z×'EÑ'EÔFÜ7¸¸fÓE�ØÐ+Ü&ØOØ&×,Ñ,Ð-ð .-Ø-9¨Nð ;+ð,óð ð ×&Ñ&ØØØØØ—\‘\×0Ñ0°×1EÑ1EÓFð 'ó ð r3   r9   )r'   r!   )r'   r   rÝ   )rG   rH   rI   rJ   r   r   rD   rK   r÷   rú   r«   rþ   r	  r  r  r   r.  r3  rß   r@  rÛ   rE  ÚclassmethodrW  rÀ   r3   r1   r   r   E  s¸   „ ññ8 ¨$Ô/ñ˜Tð Ð+Aò ó 0ðð*˜#ó *ó"ð
˜dó ð Dó ò8ó
ð
&˜( 7Ñ+ó &ò,Tð!)˜$ó !)ñF ¨$Ô/ñ&ó 0ð&ò
ð ò+ó ñ+r3   r   c                   óR   ‡ — e Zd ZdZ	 d	deddfˆ fd„Zdefd„Zed	ˆ fd„	«       Z	ˆ xZ
S )
r    zW
    A Proxy subclass that propagates metadata (meta['val']) during graph tracing.
    r�   rñ   rò   c                 ó4   •— t         ‰| �  ||«       || _        y r9   )rC   rD   Ú	fake_mode)rE   r�   rñ   r[  rF   s       €r1   rD   zMetaProxy.__init__  s   ø€ ô 	‰Ñ˜˜vÔ&Ø"ˆ�r3   r'   c                 ó6   — d| j                   j                  › d�S )Nz
MetaProxy(rõ   rö   rV   s    r1   r÷   zMetaProxy.__repr__  s   € Ø˜DŸI™IŸN™NÐ+¨1Ð-Ð-r3   c           
      óâ  •— |r|nd}|r|ni }d }|D ]  }t        |t        «      sŒ|} n |€t        d«      ‚t        ‰	| �  ||||«      }|j
                  5   ||D �cg c]-  }t        |t        «      r|j                  j                  d   n|‘Œ/ c}i |¤Ž|j                  j                  d<   d d d «       t        |j                  |j                  |j
                  «      S c c}w # 1 sw Y   Œ9xY w)NrÀ   z5No MetaProxy found in arguments, but one is expected.Úval)
r+   r    r©   rC   rW  r[  r   r�   r‚   rñ   )
rH  rU  r*   r4   r5   Ú
meta_proxyr:  r¤   r¼   rF   s
            €r1   rW  zMetaProxy.__torch_function__   sõ   ø€ á‰t ˆÙ!‘ rˆàˆ
Øò 	ˆCÜ˜#œyÕ)Ø �
Ùð	ð
 ÐÜ ØGóð ô ‘Ñ*¨;¸¸tÀVÓLˆØ×!Ñ!ñ 	Ù%0ØMQÖRÈ¬
°1´eÔ(<�!—&‘&—+‘+˜eÒ$À!ÑCÒRð&àñ&ˆE�J‰J�O‰O˜EÑ"÷	ô
 ˜Ÿ™ U§\¡\°:×3GÑ3GÓHÐHùò S÷	ð 	ús   ÁC%Á2C 
ÂC%Ã C%Ã%C.rÝ   )rG   rH   rI   rJ   r   rD   rK   r÷   rX  rW  rL   rM   s   @r1   r    r      sF   ø„ ñð
 LPñ#Øð#Ø"8õ#ð.˜#ó .ð ôIó ôIr3   r    c                   óJ   — e Zd Z ed¬«      dedefd„«       Zed„ «       Zd„ Z	y)	r!   Tr=   ÚrootÚattrc                 óP   — || _         || _        |j                  | _        d | _        y r9   )ra  rb  rñ   Ú_node)rE   ra  rb  s      r1   rD   zAttribute.__init__;  s"   € àˆŒ	ØˆŒ	Ø—k‘kˆŒØ%)ˆ�
r3   c                 óÀ   — | j                   €G| j                  j                  dt        | j                  | j
                  fi «      j                  | _         | j                   S r0  )rd  rñ   r®   rÎ   ra  rb  r�   rV   s    r1   r�   zAttribute.nodeB  sN   € ð �:‰:ÐØŸ™×1Ñ1Ø¤¨4¯9©9°d·i±iÐ*@À"óç‰dð ŒJð �z‰zÐr3   c                 ón   — | j                   j                  d| j                  | j                  f|z   |«      S )Nr  )rñ   r®   rb  ra  r  s      r1   r  zAttribute.__call__L  s1   € Ø�{‰{×'Ñ'Ø˜4Ÿ9™9 t§y¡y l°TÑ&9¸6ó
ð 	
r3   N)
rG   rH   rI   r   r   rK   rD   Úpropertyr�   r  rÀ   r3   r1   r!   r!   9  s@   „ á¨$Ô/ð*˜Uð *¨#ò *ó 0ð*ð ñó ðó
r3   r!   c                   óp   ‡ — e Zd ZdZdedefˆ fd„Zdefd„Ze	d„ «       Z
d„ Zd	„ Ze	d
„ «       Zd„ Zd„ Zˆ xZS )r"   zö
    A special proxy which lets "shape", "size", "dim", and a few other
    attribute accesses pass through to the underlying  module parameter object,
    so that conditional tests on these attributes will not throw exception during tracing
    rñ   r�   c                 ó¸   •— t         ‰| �  ||«       t        |t        j                  j
                  «      st        dt        |«      › �«      ‚|| _        || _	        y )NzExpected Parameter, got )
rC   rD   r+   rÊ   ÚnnÚ	Parameterr©   rª   Úparamrs   )rE   rñ   r�   rs   rl  rF   s        €r1   rD   zParameterProxy.__init__Z  sK   ø€ Ü‰Ñ˜˜vÔ&Ü˜%¤§¡×!3Ñ!3Ô4Ü Ð#;¼DÀ»K¸=Ð!IÓJÐJØˆŒ
Øˆ�	r3   r'   c                 ó"   — d| j                   › d�S )NzParameterProxy(rõ   rK  rV   s    r1   r÷   zParameterProxy.__repr__a  s   € Ø  §¡ ¨1Ð-Ð-r3   c                 ó.   — | j                   j                  S r9   )rl  ÚshaperV   s    r1   ro  zParameterProxy.shaped  s   € à�z‰z×ÑÐr3   c                 ó6   — | j                   j                  «       S r9   )rl  ÚsizerV   s    r1   rq  zParameterProxy.sizeh  s   € Ø�z‰z�‰Ó Ð r3   c                 ó6   — | j                   j                  «       S r9   )rl  ÚdimrV   s    r1   rs  zParameterProxy.dimk  s   € Ø�z‰z�~‰~ÓÐr3   c                 ó.   — | j                   j                  S r9   )rl  ÚndimrV   s    r1   ru  zParameterProxy.ndimn  s   € à�z‰z�‰Ðr3   c                 ó6   — | j                   j                  «       S r9   )rl  ÚnumelrV   s    r1   rw  zParameterProxy.numelr  s   € Ø�z‰z×ÑÓ!Ð!r3   c                 ó6   — | j                   j                  «       S r9   )rl  ÚnelementrV   s    r1   ry  zParameterProxy.nelementu  s   € Ø�z‰z×"Ñ"Ó$Ð$r3   )rG   rH   rI   rJ   r   r   rD   rK   r÷   rg  ro  rq  rs  ru  rw  ry  rL   rM   s   @r1   r"   r"   R  sc   ø„ ñð˜zð °õ ð.˜#ó .ð ñ ó ð ò!ò ð ñó ðò"ö%r3   r"   c                 ój   ‡ — ˆ fd„}‰ |_         d‰ j                  d«      › d�}t        t        ||«       y )Nc                  ój   •— | d   j                   }t        t        ‰«      }|j                  d|| |«      S )Nr   rv   )rñ   rÎ   r1  r®   )r4   r5   rñ   rr   Úmethods       €r1   Úimplz_scope.<locals>.impl|  s3   ø€ Ø˜!‘W—^‘^ˆFÜœX vÓ.ˆFØ×&Ñ& ¸ÀÀfÓMÐMr3   Ú__Ú_)rG   r�   Úsetattrr   )r|  r}  Úas_magics   `  r1   rT   rT   {  s6   ø€ ô	Nð
 ˆŒØ˜Ÿ™ SÓ)Ð*¨"Ð-ˆÜ”�x Õ&r3   c                 óx   ‡ — d‰ j                  d«      › d�}ˆ fd„}||_        ||_        t        t        ||«       y )NÚ__rr  r~  c                 ód   •— t        t        ‰«      }| j                  j                  d||| fi «      S r0  )rÎ   r1  rñ   r®   )rE   Úrhsrr   Úorig_method_names      €r1   r}  z!_define_reflectable.<locals>.impl‹  s/   ø€ ÜœÐ#3Ó4ˆØ�{‰{×'Ñ'¨¸À#ÀtÀÈbÓQÐQr3   )r�   rG   rI   r€  r   )r†  Úmethod_namer}  s   `  r1   Ú_define_reflectablerˆ  ˆ  sA   ø€ ØÐ(×.Ñ.¨sÓ3Ð4°BÐ7€KôRð  €D„MØ#€DÔÜŒE�; Õ%r3   c                 ó   — t        d| › �«      ‚)NzJKeys for dictionaries used as an argument cannot contain a Node. Got key: rC  )r:  s    r1   Ú_no_nodes_errorrŠ  ˜  s   € Ü
ð	Ø˜ð	 óð r3   c                 óÄ   — i }|j                  «       D ]J  \  }}t        |t        «      s!| j                  |«      }t	        |t
        «       | j                  |«      ||<   ŒL |S r9   )r   r+   rK   r§   Úmap_argrŠ  )rE   r¼   Úrrù   r  s        r1   rÄ   rÄ   Ÿ  s]   € Ø
€AØ—‘“	ò "‰ˆˆ1Ü˜!œSÔ!ð —‘ Ó"ˆAÜ�A”Ô'Ø�‰˜qÓ!ˆˆ!Šð"ð €Hr3   c                 ó   — |S r9   rÀ   ©rE   r¼   s     r1   r  r  ­  s   € �q€ r3   c                 ó   — |j                   S r9   )r�   r�  s     r1   r  r  ¶  s
   € ¨A¯F©F€ r3   c                 ó,   ‡ — t        ˆ fd„|D «       «      S )Nc              3   ó@   •K  — | ]  }‰j                  |«      –— Œ y ­wr9   ©r§   )r³   rÓ   rE   s     €r1   rµ   z<lambda>.<locals>.<genexpr>·  s   øè ø€ Ò1VÈD°$·/±/À$×2GÑ1Vùs   ƒ)r¨   r�  s   ` r1   r  r  ·  s   ø€ ¬EÓ1VÐTUÔ1VÓ,V€ r3   c                 óJ   — |D �cg c]  }| j                  |«      ‘Œ c}S c c}w r9   r“  )rE   r¼   rÓ   s      r1   r  r  ¸  s   € ÈaÖ+PÀd¨D¯O©O¸DÕ,AÒ+P€ ùÒ+Ps   … )r{   )Xrê   rR   r"  rÏ   r¶   Úloggingr1  r$  rœ   r   Úcollections.abcr   r   Údataclassesr   r   Útypingr   r	   r
   rÊ   Útorch.fx.tracebackrä   r}   Útorch._Cr   rŒ  Útorch._library.opaque_objectr   Útorch._loggingr   Útorch.utils._pytreer   Útorch.utils._tracebackr   Ú_compatibilityr   rg   r   r   r   Úimmutable_collectionsr   r   r�   r   r   r   r   Úoperator_schemasr   Ú__all__Ú	getLoggerrG   rŽ   r…   Úobjectrß   r2   r¨   r«   rK   r<   r#   r$   rƒ   r   r„   r   rî   Ú
ValueErrorr   r   r    r!   r"   r|  rT   rˆ  r†  rŠ  rÄ   rª   rË   rÌ   rÍ   rÁ   rÃ   )Úts   0r1   ú<module>r§     s!  ðó Û Û 
Û Û Û Û Û 
Û Ý #ß .ß ,ß )Ñ )ã ß )Ð )Ý +Ý =Ý ,Ý )Ý 4å )ß BÑ Bß Aß 4Ó 4Ý 9ò
€ð €g×Ñ˜Ó!€Ù" 8¨\Ó:€ð ð ¨4ó ð*Ø
�˜�Ñ
ðØ&*¨3°¨;Ñ&7ðàóñ0  eÔ,÷'ð 'ó -ð'ñ>  eÔ,÷ð ó -ðò:Ð ñ   dÔ+÷I(ð I(ó ,ðI(ñX
3˜3ó 3ñn  dÔ+ô%˜:ó %ó ,ð%ñ  eÔ,ñ1ó -ð1ñ
  dÔ+ô	�ó 	ó ,ð	ñ  dÔ+÷Hð Hó ,ðHñV  eÔ,ô$I�ó $Ió -ð$IñN  dÔ+ô
�ó 
ó ,ð
ñ0  eÔ,ô#%�Uó #%ó -ð#%ðL ò €Fò'ñ ˆ6…Nðò	&ð 2ò *ÐÙÐ(Õ)ð*òò
ðØ	ðáˆT‹
ðñ 	ˆS‹	ðð 	�
‰
×Ñð	ð
 	�
‰
×&Ñ&ðö	à	ð ÑÑò	Ð ñ 3Ð �5Ñ ÙVÐ �5Ñ ÙPÐ �4Ñ Ø+Ð �4Ñ Ø%7¸Ñ%=Ð �>Ñ "Ø%7¸Ñ%=Ð �>Ò "ùò	s   È&I