
    #Ki                     4   S r SSKrSSKJr  SSKJrJr  SSKJr  \" S5      r	\" S5      r
\ SS\\
\	4   S	\S
\\
\	4   4S jj5       r\ SSSS	\S
\\\
\	4   /\\
\	4   4   4S jj5       r SS\\
\	4   S-  S	\S
\\
\	4   \\\
\	4   /\\
\	4   4   -  4S jjrg)za
APIs related to torch.compile which lazily import torch._dynamo to avoid
circular dependencies.
    N)Callable)overloadTypeVar)	ParamSpec_T_Pfn	recursivereturnc                     g N r	   r
   s     P/var/www/html/dynamic-report/venv/lib/python3.13/site-packages/torch/_compile.py_disable_dynamor      s         c                     g r   r   r   s     r   r   r      s     69r   c                    ^ ^ T bJ  [         R                  " T 5      S[        R                  S[        R                  S[
        4U U4S jj5       nU$ [         R                  " [        TS9$ )aY  
This API should be only used inside torch, external users should still use
torch._dynamo.disable. The main goal of this API is to avoid circular
imports issues that is common while using _dynamo.disable inside torch
itself.

This API avoids it by lazily importing torch._dynamo from the import time to
the invocation of the decorated function.
argskwargsr   c                     > [        TSS 5      nUc&  SS KnUR                  R                  TTSS9nUTl        U" U 0 UD6$ )N__dynamo_disabler   F)wrapping)getattrtorch._dynamo_dynamodisabler   )r   r   
disable_fntorchr	   r
   s       r   inner_disable_dynamo.<locals>.inner*   sR     !%7>J!$ #]]222y52Q
&0#t.v..r   )r
   )	functoolswrapsr   r   r   r   partialr   )r	   r
   r    s   `` r   r   r      s^     
~			/ 	/BII 	/" 	/ 
	/    IFFr   )T)NT)__doc__r"   collections.abcr   typingr   r   typing_extensionsr   r   r   boolr   r   r   r   <module>r*      s  
  $ $ ' T]t_ 
,0R%)b"f 

 
'+99 $9xB (2r6"2239 
9 ;? GR4 G37 Gb"f(2r6"2!3Xb"f5E!EFF Gr   