o
    *ѹg9                     @   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 rejJKejeI dZLneH rejJKeM dZLn	ejJKeN dZLh dZOdZPd	ZQdZRdZSg d ZTeTUd!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._refsztorch._primsztorch.distributionsztorch.testingztorch._decompZTORCHDYNAMO_REPRO_AFTERZTORCHDYNAMO_REPRO_LEVEL   ZTORCHDYNAMO_REPRO_FORWARD_ONLYgMbP?Zfloat64Z
complex128Zint64c                   C   s   t tjd S )NZgit_version)hasattrtorchversion r   r   X/Users/admin/.pyenv/versions/3.10.0/lib/python3.10/site-packages/torch/_dynamo/config.py	is_fbcode  s   r   ZTORCH_COMPILE_DEBUG_DIRZtorch_compile_debug>   repro_levelZconstant_functionsr   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>K  s     r   )*)install_config_module)^inspectosr   systempfile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   
 


