o
    IÆ&iY:  ã                   @   s„  U 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m	Z	m
Z
mZmZmZ d dlZdZej dd¡dkZdZdZd	Zd
ZdZdZd	Zd	Zd	Zd	Zd	ZdZdZd	Z e!ƒ Z"eee	  e#d< e$ej dd¡ƒZ%ej dd¡dkZ&d	Z'ej dd¡Z(ej dd¡Z)i Z*e
e	e	f e#d< h d£Z+ej dd¡Z,e-ej dd¡ƒZ.ej d¡dkZ/dZ0d	Z1dZ2dZ3dZ4d	Z5d	Z6d	Z7d	Z8d	Z9dZ:d	Z;d	Z<dZ=dZ>d	Z?eeeee@ƒƒƒƒZAd	ZBdZCdZDdZEdZFdZGdd„ ZHdZIeIejv rõejJ KejeI d¡ZLneHƒ rejJ Ke M¡ d¡ZLn	ejJ Ke N¡ d¡ZLh d£ZOdZPd	ZQdZRdZSg d ¢ZTeT Ud!d"„ e  VejW¡D ƒ¡ dZXer3d d#lYT d d$lZm[Z[ e[ej\e] ƒ dS )%é    N)ÚabspathÚdirname)ÚAnyÚDictÚSetÚTypeÚTYPE_CHECKINGZTORCHDYNAMO_VERBOSEÚ0Ú1Fé   Té   é@   Útraceable_tensor_subclassesZTORCHDYNAMO_SUPPRESS_ERRORSZTORCH_COMPILE_DEBUGZTORCH_COMPILE_DISABLEZTORCH_COMPILE_CPROFILEÚ!skipfiles_inline_module_allowlist>   ztorch._primsztorch._decompztorch.distributionsztorch.testingztorch._refsZTORCHDYNAMO_REPRO_AFTERZTORCHDYNAMO_REPRO_LEVELé   ZTORCHDYNAMO_REPRO_FORWARD_ONLYgü©ñÒMbP?Zfloat64Z
complex128Zint64c                   C   s   t tjdƒ S )NZgit_version)ÚhasattrÚtorchÚversion© r   r   ú?C:\wamp64\www\opt\env\Lib\site-packages\torch/_dynamo/config.pyÚ	is_fbcode  s   r   ZTORCH_COMPILE_DEBUG_DIRZtorch_compile_debug>   Úrepro_levelÚrepro_afterZconstant_functionsr   )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>K  s     r   )Ú*)Úinstall_config_module)^ÚinspectÚosr   ÚsysÚtempfileZos.pathr   r   Útypingr   r   r   r   r   r   Zlog_file_nameÚenvironÚgetÚverboseZverify_correctnessZminimum_call_countZdead_code_eliminationÚcache_size_limitZaccumulated_cache_size_limitZspecialize_intZ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_modulesZ guard_nn_modules_using_dict_tagsÚsetr   Ú__annotations__ÚboolZsuppress_errorsZreplay_record_enabledZ rewrite_assert_with_torch_assertÚdisableZcprofiler   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_opsZ3force_unspec_int_unbacked_size_like_on_torchrec_kjtZenforce_cond_guards_matchZoptimize_ddpZskip_fsdp_guardsZskip_nnmodule_hook_guardsZraise_on_ctx_manager_usageZraise_on_unsafe_aot_autogradZerror_on_nested_jit_traceZerror_on_nested_fx_traceZ	allow_rnnZerror_on_recompileZreport_guard_failuresÚ__file__Úbase_dirZtrace_numpyZtrace_distributedZnumpy_default_floatZnumpy_default_complexZnumpy_default_intZuse_numpy_random_streamr   ZDEBUG_DIR_VAR_NAMEÚpathÚjoinZdebug_dir_rootÚ
gettempdirÚgetcwdZ_save_config_ignoreZonly_allow_pt2_compliant_opsZcapture_autograd_functionZcapture_func_transformsZ+inject_BUILD_SET_unimplemented_TESTING_ONLYZ)_autograd_backward_strict_mode_banned_opsÚextendÚ
getmembersZTensorZ:_experimental_support_context_fn_in_torch_utils_checkpointZtorch.utils._config_typingZtorch.utils._config_moduler!   ÚmodulesÚ__name__r   r   r   r   Ú<module>   sª   
 


ÿÿÿÿ