o
    "ÕjG  ã                   @   s"   d dl Z 	ddd„Zd	dd„ZdS )
é    NFTc                 C   ó   t  d¡ dS )ú¨
        :api_attr: Static Graph

    This API is deprecated since 1.6. Please do not use it. The better
    memory optimization strategies are enabled by default.
    aŠ  Caution! paddle.distributed.transpiler.memory_optimize() is deprecated and not maintained any more, since it is not stable!
This API would not take any memory optimizations on your Program now, since we have provided default strategies for you.
The newest and stable memory optimization strategies (they are all enabled by default) are as follows:
 1. Garbage collection strategy, which is enabled by exporting environment variable FLAGS_eager_delete_tensor_gb=0 (0 is the default value).
 2. Inplace strategy, which is enabled by setting build_strategy.enable_inplace=True (True is the default value) when using CompiledProgram or ParallelExecutor.
N©ÚloggingÚwarn)Úinput_programÚskip_opt_setZ	print_logÚlevelZ
skip_grads© r
   ú}/var/www/html/Deteccion_Ine/venv/lib/python3.10/site-packages/paddle/distributed/transpiler/memory_optimization_transpiler.pyÚmemory_optimize   s   	ÿr   c                 C   r   )r   zrpaddle.distributed.transpiler.release_memory() is deprecated, it would not take any memory release on your programNr   )r   r   r
   r
   r   Úrelease_memory+   s   ÿr   )NFr   T)N)r   r   r   r
   r
   r
   r   Ú<module>   s   
ÿ