o
    "‘i 1  ã                   @   sÄ  d dl Z d dlZd dlZd dlZd dlZd dlmZmZ d dlZddl	m
Z
 dZej dd¡dkZdZdZd	Zd
ZdZejjdejjdejjdejjjdejjde
jd	ejjd	iZ d	Z!d	Z"d	Z#d	Z$d	Z%dZ&dZ'e(ƒ Z)e*ej dd¡ƒZ+ej dd¡dkZ,d	Z-dZ.ej dd¡Z/ej0ej1ej2ej3j0ej4ej5ej6ej7j8ej7j9ejj9ej:hZ;h d£Z<ej dd¡Z=e>ej dd¡ƒZ?ej d¡dkZ@dZAd	ZBdZCdZDd	ZEd	ZFd	ZGd	ZHd	ZIdZJdZKd	ZLdZMdZNej d¡dkZOeeeeePƒƒƒƒZQej dd¡dkZRe>ej dd¡ƒZSd	ZTdZUdZVdZWdd„ ZXdZYeYejv rejZ [ejeY d¡Z\neXƒ r,ejZ [e ]¡ d¡Z\n	ejZ [e ^¡ d¡Z\h d£Z_d	Z`dZadZbdZcg d ¢Zded ed!d"„ e  fejg¡D ƒ¡ dd#lhmiZi eiejjek ƒ dS )$é    N)ÚabspathÚdirnameé   )Úexternal_utilsZTORCHDYNAMO_VERBOSEÚ0Ú1FTé@   ZTORCHDYNAMO_SUPPRESS_ERRORSZTORCH_COMPILE_DEBUGZTORCH_COMPILE_DISABLE>   ztorch._primsztorch.distributionsztorch._decompztorch._refsztorch.testingZTORCHDYNAMO_REPRO_AFTERZTORCHDYNAMO_REPRO_LEVELé   ZTORCHDYNAMO_REPRO_FORWARD_ONLYgü©ñÒMbP?Z!TORCHDYNAMO_REPORT_GUARD_FAILURESZ"TORCHDYNAMO_TRANSLATION_VALIDATIONZ*TORCHDYNAMO_TRANSLATION_VALIDATION_TIMEOUTZ600000Zfloat64Z
complex128Zint64c                   C   s   t tjdƒ S )NZgit_version)ÚhasattrÚtorchÚversion© r   r   úc/var/www/html/eduruby.in/lip-sync/lip-sync-env/lib/python3.10/site-packages/torch/_dynamo/config.pyÚ	is_fbcode  s   r   ZTORCH_COMPILE_DEBUG_DIRZtorch_compile_debug>   Úconstant_functionsÚrepro_levelÚ!skipfiles_inline_module_allowlistÚrepro_after)ZstrideZrequires_gradZstorage_offsetZlayoutÚdatac                 C   s    g | ]\}}t  d |¡r|‘qS )z^is_.*)ÚreÚmatch)Ú.0ÚnameÚ_r   r   r   Ú
<listcomp>6  s     r   )Úinstall_config_module)lÚinspectÚosr   ÚsysÚtempfileZos.pathr   r   r   Ú r   Zlog_file_nameÚenvironÚgetÚverboseZverify_correctnessZminimum_call_countZdead_code_eliminationÚcache_size_limitZspecialize_intZjitZis_scriptingÚ
is_tracingZ_CZ_get_tracing_stateZfxZ_symbolic_traceZis_fx_tracingZonnxZis_in_onnx_exportZis_compilingÚ_utilsr   Zdynamic_shapesZassume_static_by_defaultZautomatic_dynamic_shapesZforce_parameter_static_shapesZ&force_nn_module_property_static_shapesZallow_ignore_mark_dynamicZguard_nn_modulesÚsetZtraceable_tensor_subclassesÚboolZsuppress_errorsZreplay_record_enabledZ rewrite_assert_with_torch_assertZprint_specializationsÚdisableÚnnÚdistributionsÚtestingZaoZ_refsZ_primsÚ_decompÚutilsZ_contextlibZ_pytreeÚsparser   Z*allowed_functions_module_string_ignorelistr   Úintr   Zrepro_forward_onlyZrepro_toleranceZsame_two_models_use_fp64Zcapture_scalar_outputsZ capture_dynamic_output_shape_opsZenforce_cond_guards_matchZoptimize_ddpZskip_fsdp_guardsZskip_nnmodule_hook_guardsZraise_on_ctx_manager_usageZraise_on_unsafe_aot_autogradZraise_on_backend_changeZerror_on_nested_fx_traceZ	allow_rnnZerror_on_recompileZreport_guard_failuresÚ__file__Úbase_dirZtranslation_validationZtranslation_validation_timeoutZtrace_numpyZnumpy_default_floatZnumpy_default_complexZnumpy_default_intr   ZDEBUG_DIR_VAR_NAMEÚpathÚjoinZdebug_dir_rootÚ
gettempdirÚgetcwdZ_save_config_ignoreZcapture_autograd_functionZcapture_func_transformsZ+inject_BUILD_SET_unimplemented_TESTING_ONLYZ/inject_EVALUATE_EXPR_flip_equality_TESTING_ONLYZ)_autograd_backward_strict_mode_banned_opsÚextendÚ
getmembersZTensorZconfig_utilsr   ÚmodulesÚ__name__r   r   r   r   Ú<module>   s¾    

ùõ
ÿÿ	ÿ