
    sgT                     x    d dl Z d dlmZ d dlmZ d dlmZ  eed       d Zd Zd Z	 eed	        ee	d
       y)    N)_Await)_register_builtin)
set_modulez	torch.jitc                 H    t        j                  j                  | g|i |S )zpCreate Await object that will call specified functioni with specified args, when it is requested for the result.)torch_C
_awaitable)funcargskwargss      C/var/www/html/venv/lib/python3.12/site-packages/torch/jit/_await.pyr	   r	      s!    88t5d5f55    c                 @    t         j                  j                  |       S )zjRequest await the result of execution, if Await is not completed yet, the func will be called immediately.)r   r   _awaitable_wait)aws    r   r   r      s    88##B''r   c                 @    t         j                  j                  |       S )z-Create completed Await with specified result.)r   r   _awaitable_nowait)os    r   r   r      s    88%%a((r   zprim::awaitable_waitzprim::awaitable_nowait)
r   torch._jit_internalr   torch.jit._builtinsr   torch.utilsr   r	   r   r    r   r   <module>r      sE     & 1 " 6; 6
(
)
 /#9 : #%= >r   