o
    h 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 Zdeded!d" e fejgD  dd#lhmiZi eiejjek  dS )$    N)abspathdirname   )external_utilsTORCHDYNAMO_VERBOSE01FT@   TORCHDYNAMO_SUPPRESS_ERRORSTORCH_COMPILE_DEBUGTORCH_COMPILE_DISABLE>   torch._refstorch._primstorch._decomptorch.testingtorch.distributionsTORCHDYNAMO_REPRO_AFTERTORCHDYNAMO_REPRO_LEVEL   TORCHDYNAMO_REPRO_FORWARD_ONLYgMbP?!TORCHDYNAMO_REPORT_GUARD_FAILURES"TORCHDYNAMO_TRANSLATION_VALIDATION*TORCHDYNAMO_TRANSLATION_VALIDATION_TIMEOUT600000float64
complex128int64c                   C   s   t tjd S )Ngit_version)hasattrtorchversion r!   r!   J/var/www/html/ai/venv/lib/python3.10/site-packages/torch/_dynamo/config.py	is_fbcode  s   r#   TORCH_COMPILE_DEBUG_DIRtorch_compile_debug>   repro_afterrepro_levelconstant_functions!skipfiles_inline_module_allowlist)striderequires_gradstorage_offsetlayoutdatac                 C   s    g | ]\}}t d |r|qS )z^is_.*)rematch).0name_r!   r!   r"   
<listcomp>6  s     r4   )install_config_module)linspectosr/   systempfileos.pathr   r   r    r   log_file_nameenvirongetverboseverify_correctnessminimum_call_countdead_code_eliminationcache_size_limitspecialize_intjitis_scripting
is_tracing_C_get_tracing_statefx_symbolic_traceis_fx_tracingonnxis_in_onnx_exportis_compiling_utilsr(   dynamic_shapesassume_static_by_defaultautomatic_dynamic_shapesforce_parameter_static_shapes&force_nn_module_property_static_shapesallow_ignore_mark_dynamicguard_nn_modulessettraceable_tensor_subclassesboolsuppress_errorsreplay_record_enabled rewrite_assert_with_torch_assertprint_specializationsdisablenndistributionstestingao_refs_prims_decomputils_contextlib_pytreesparser)   *allowed_functions_module_string_ignorelistr&   intr'   repro_forward_onlyrepro_tolerancesame_two_models_use_fp64capture_scalar_outputs capture_dynamic_output_shape_opsenforce_cond_guards_matchoptimize_ddpskip_fsdp_guardsskip_nnmodule_hook_guardsraise_on_ctx_manager_usageraise_on_unsafe_aot_autogradraise_on_backend_changeerror_on_nested_fx_trace	allow_rnnerror_on_recompilereport_guard_failures__file__base_dirtranslation_validationtranslation_validation_timeouttrace_numpynumpy_default_floatnumpy_default_complexnumpy_default_intr#   DEBUG_DIR_VAR_NAMEpathjoindebug_dir_root
gettempdirgetcwd_save_config_ignorecapture_autograd_functioncapture_func_transforms+inject_BUILD_SET_unimplemented_TESTING_ONLY/inject_EVALUATE_EXPR_flip_equality_TESTING_ONLY)_autograd_backward_strict_mode_banned_opsextend
getmembersTensorconfig_utilsr5   modules__name__r!   r!   r!   r"   <module>   s    


	