o
    piN                     @   s   d dl mZmZmZmZmZmZmZmZm	Z	m
Z
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ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* e"dd	 Z+e+e_+g Z,d
S )    ) BlockCloneOptionsDrrPatternContext	IrMapping	Operation	OpOperandPassManagerProgramTypeValuecheck_unregistered_opscreate_shaped_type
fake_valueget_chunk_idget_comp_op_nameget_current_insertion_pointget_fake_value_nameget_op_roleis_fake_valueregister_dist_dialectregister_paddle_dialectreset_insertion_point_to_endreset_insertion_point_to_startset_chunk_idset_comp_op_nameset_insertion_pointset_insertion_point_after set_insertion_point_to_block_endset_op_roletranslate_to_pirtranslate_to_pir_with_param_mapvalue_is_persistable)signature_safe_contextmanager   )core)monkey_patch_dtype)monkey_patch_value)monkey_patch_programc                 c   s    zd V  W d S w )N )selfZparam_and_gradsr(   r(   Z/home/app/PaddleOCR-VL/.venv_paddleocr/lib/python3.10/site-packages/paddle/pir/__init__.py_optimized_guard;   s   r+   N)-Zpaddle.base.libpaddle.pirr   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   r   r   r   r   r    r!   Zpaddle.base.wrapped_decoratorr"    r$   Zdtype_patchr%   Zmath_op_patchr&   Zprogram_patchr'   r+   __all__r(   r(   r(   r*   <module>   s   $
