Ë
    P/æj  ã                   ó   — d Z ddlZdd„Zy)za
APIs related to torch.compile which lazily import torch._dynamo to avoid
circular dependencies.
é    Nc                 ó€   ‡ ‡— ‰ � t        j                  ‰ «      ˆ ˆfd„«       }|S t        j                  t        ‰¬«      S )au  
    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.
    c                  ó€   •— t        ‰dd «      }|€'dd l}|j                  j                  ‰‰«      }|‰_         || i |¤ŽS )NÚ__dynamo_disabler   )ÚgetattrÚtorch._dynamoÚ_dynamoÚdisabler   )ÚargsÚkwargsÚ
disable_fnÚtorchÚfnÚ	recursives       €€úQ/root/repos/pocs/video-evals/.venv/lib/python3.12/site-packages/torch/_compile.pyÚinnerz_disable_dynamo.<locals>.inner   sK   ø€ ô ! Ð%7¸Ó>ˆJØÐ!Û$à"Ÿ]™]×2Ñ2°2°yÓA�
Ø&0�Ô#á˜tÐ. vÑ.Ð.ó    )r   )Ú	functoolsÚwrapsÚpartialÚ_disable_dynamo)r   r   r   s   `` r   r   r   
   sA   ù€ ð 
€~ä	�‰˜Ó	ô		/ó 
ð		/ð ˆô × Ñ ¤¸IÔFÐFr   )NT)Ú__doc__r   r   © r   r   ú<module>r      s   ðñó
 ôGr   