+
    &j(                     \  a  R t0 t R t^ RIt^ RIt^ RIHt ^ RIt ! R R4      t]! 4       tR R lt	R R lt
]P                  P                  4       t/ t] ^ k / t] ^k R	 R
 ltR tR tR R lt]P(                  ! 4       t] ^k ]P(                  ! 4       t] ^k R tR R ltR tR R ltR# )zJIT-related state.

This module stores various pieces of Python-global state relating to the JIT.

This is not intended to be imported directly; please the exposed
functionalities in `torch.jit`.
N)Anyc                   N   a  ] tR t^t o RtV 3R lR ltR tV 3R lR ltRtV t	R# )	EnabledProxyzqStores whether the JIT is enabled or not.

This is just a wrapper for a bool, so that we get reference semantics
c                   < V ^8  d   QhRR/#    returnN )format__classdict__s   "h/Users/jameslopez/projects/CWCArchive/cwc-podcast/.venv/lib/python3.14/site-packages/torch/jit/_state.py__annotate__EnabledProxy.__annotate__   s     
 
$ 
    c                8    V P                  R RRR4      V n        R# )PYTORCH_JITTz> Using PyTorch JITz> PyTorch JIT DISABLEDN)	parse_envenabledselfs   &r   __init__EnabledProxy.__init__   s    ~~4!68P
r   c                   \         P                  P                  V4      pVf   V# VP                  4       R9   d   R# VP                  4       R9   d   R# VR8X  d   \	        V4       R# VR8X  d   \	        V4       R# \        RV R24      h)	NTF1v0vzUnknown setting of z. Try using 0 or 1.>   1yestrue>   0nofalse)osenvirongetlowerprint
ValueError)r   namedefaulttrue_messagefalse_messagevalues   &&&&& r   r   EnabledProxy.parse_env   s|    

t$=N;;=00[[]22D=,d]- .tf4GHIIr   c                    < V ^8  d   QhRS[ /# )r   r   )bool)r
   r   s   "r   r   r   ,   s      $ r   c                    V P                   # Nr   r   s   &r   __bool__EnabledProxy.__bool__,   s    ||r   r1   N)
__name__
__module____qualname____firstlineno____doc__r   r   r2   __static_attributes____classdictcell__)r   s   @r   r   r      s$     

 

J  r   r   c                    V ^8  d   QhRR/# r   r	   )r
   s   "r   r   r   3   s       r   c                      R \         n        R# )FN_enabledr   r	   r   r   disabler?   3   s
    Hr   c                    V ^8  d   QhRR/# r   r	   )r
   s   "r   r   r   7   s       r   c                      R \         n        R# )TNr=   r	   r   r   enablerB   7   s
    Hr   c                    V ^8  d   QhRR/# r   r	   )r
   s   "r   r   r   F   s     C CT Cr   c                 F    V\         V &   V \        VP                  4       &   R # r0   )_script_classes_name_to_pyclassqualified_name)python_classscript_classs   &&r   _add_script_classrJ   F   s     $0OL!6B\0023r   c                 d    \        V R R4      pVe   \        V4      p \        P                  V 4      # )_jit_override_qualnameN)getattr_get_python_classrE   r#   )rH   overrides   & r   _get_script_classrP   K   s2    |%=tDH(2|,,r   c                 ,    \         P                  V 4      # r0   )rF   r#   )rG   s   &r   rN   rN   R   s    //r   c                    V ^8  d   QhRR/# r   r	   )r
   s   "r   r   r   V   s      D r   c                  V    \         P                  4        \        P                  4        R # r0   )rE   clearrF   r	   r   r   _clear_class_staterU   V   s    r   c                     \         P                  V R 4      pV'       d&   V Uu. uF  p\        P                  V4      NK  	  up# R # u upi r0   )_jit_function_overload_cachingr#   
_python_cufind_function)key
qual_names	qual_names   &  r   _try_get_jit_cached_overloadsr]   g   s@    /33C>JEOPZ	
((3ZPP Qs   Ac                    V ^8  d   QhRR/# r   r	   )r
   s   "r   r   r   o   s     U U$ Ur   c                 T    V Uu. uF  q"P                   NK  	  up\        V &   R # u upi r0   )rG   rW   )rZ   compiled_fnsfns   && r   _set_jit_overload_cacherb   o   s#    GS*T|+<+<|*T"3'*Ts   %c                     \        V R R4      RJ d   R# \        P                  V R4      pV'       d   \        P	                  V4      # R# ) __disable_jit_function_caching__FTN)rM   _jit_caching_layerr#   rX   rY   )rZ   r\   s   & r   _try_get_jit_cached_functionrf   s   s@    s6>$F"&&sD1I''	22r   c                    V ^8  d   QhRR/# r   r	   )r
   s   "r   r   r   }   s     3 34 3r   c                     \        V\        P                  P                  4      '       g   \	        R \        V4       24      hVP                  \        V &   R# )zExpected ScriptFunction, got N)
isinstancetorchjitScriptFunctionAssertionErrortyperG   re   )rZ   r+   s   &&r   _set_jit_function_cachero   }   sA    eUYY5566<T%[MJKK#22sr   c                f   V ^8  d   Qh/ ^ \         9   d1   \        \        \        ,          \        \        ,          3,          ;R&   ^\         9   d&   \        \        \        \        ,          3,          ;R&   ^\         9   d   \
        P                  ;R&   ^\         9   d   \
        P                  ;R&   # )r   rE   rF   re   rW   )__conditional_annotations__dictrn   r   strweakrefWeakKeyDictionary)r
   s   "r   r   r      s      @ 1 0d3ic*+ 0AB , +$sDI~& +CB L KG-- KCD X W 9 9 WEr   )rq   r8   r!   rt   typingr   rj   r   r>   r?   rB   _CCompilationUnitrX   rE   rF   rJ   rP   rN   rU   ru   re   rW   r]   rb   rf   ro   r   )rq   s   @r   <module>ry      s    
    > > XX%%'
 /1 0)+  +C
-0 180I0I0K  K<C<U<U<W  WU3r   