
    [Thf              	       J   % S r SSKrSSKrSSKrSSKrSSKJrJr  SSKJ	r	J
r
JrJrJrJr  SSKJr  SSKJrJrJr  Sr\\   \S'   \R0                  R3                  SS	5      S
:H  rSrSrSrSrSrSr Sr!\" SS9r"\#\S'   \" SS9r$\#\S'   \" SS9r%\&\S'   \" SS9r'\&\S'   Sr(Sr)Sr*\R0                  R3                  SS
5      S
:H  r+Sr,Sr-Sr.\S   \S'   Sr/Sr0Sr1Sr2Sr3\R0                  R3                  SS	5      S
:H  r4\5" 5       r6\5\7\	      \S'   \&" \R0                  R3                  SS5      5      r8\R0                  R3                  S S	5      S
:H  r9Sr:\R0                  R3                  S!S5      r;\R0                  R3                  S"S5      r<0 r=\>\	\	4   \S#'   1 S$kr?\R0                  R3                  S%S5      r@\#" \R0                  R3                  S&S'5      5      rA\R0                  R3                  S(5      S
:H  rBS)rC\R0                  R3                  S*5      S
:H  rDSrE\R0                  R3                  S+5      S
:H  rF\R0                  R3                  S,S	5      S
:H  rGSrHSrISrJSrKSrL\\&\S-   4   \S.'   \R0                  R3                  S/S	5      S
:H  rM\&\S0'   SrNSrOSrPSrQSrRSrSSrTSrUSrVSrWSrXSrY\" 5       (       a  SOSrZSr[Sr\\" \" \" \" \]5      5      5      5      r^Sr_S1r`S2raS3rbSrcSrdSreSrfSrg\" SS4S59rhSriSrjSrkSrlSrmSrnS6 ro\o" 5       rp1 S7krqSrrSrsSrtSruSrvSrw\5" 5       rx\5\
\	/S4      \S8'   \5" 5       ry\5\
S9\	4      \S:'   Srz/ S;Qr{/ S<Qr|\R0                  R3                  S=S
5      S
:H  r}\R0                  R3                  S>S	5      S
:H  r~Sr0 r\>\\	4   \S?'   \R0                  R3                  S@S	5      S
:H  r\" SASBSSC9r\&\SD'   \" SE5      r\\&   \SF'   \R0                  R3                  SGS	5      S
:H  r\" SSHSISJ9rSr\\	   \SK'   \(       a  SSLK7  SM r\" \GR                  \   5        g)Naq  
Configuration module for TorchDynamo compiler and optimization settings.

This module contains various configuration flags and settings that control TorchDynamo's
behavior, including:
- Runtime behavior flags (e.g., guard settings, specialization options)
- Debugging and development options
- Performance tuning parameters
- Feature toggles for experimental features
    N)abspathdirname)AnyCallableLiteralOptionalTYPE_CHECKINGUnion)	is_fbcode)Configget_tristate_envinstall_config_modulelog_file_nameTORCHDYNAMO_VERBOSE01F   T      z$torch._dynamo.config.recompile_limit)aliascache_size_limitz0torch._dynamo.config.accumulated_recompile_limitaccumulated_cache_size_limitz?torch._dynamo.config.skip_code_recursive_on_recompile_limit_hit&skip_code_recursive_on_cache_limit_hitz0torch._dynamo.config.fail_on_recompile_limit_hitfail_on_cache_limit_hit#TORCH_COMPILE_USE_LAZY_GRAPH_MODULEdynamic)r   unbacked automatic_dynamic_shapes_mark_asTORCHDYNAMO_PREPARE_FREEZINGtraceable_tensor_subclassesTORCHDYNAMO_SUPPRESS_ERRORSTORCH_COMPILE_REPLAY_RECORDTORCH_COMPILE_DISABLETORCH_COMPILE_CPROFILE!skipfiles_inline_module_allowlist>   torch._refstorch._primstorch._decomptorch.testingtorch.distributionsTORCHDYNAMO_REPRO_AFTERTORCHDYNAMO_REPRO_LEVEL   TORCHDYNAMO_REPRO_FORWARD_ONLYgMbP?TORCHDYNAMO_REPRO_IGNORE_NON_FP"TORCHDYNAMO_CAPTURE_SCALAR_OUTPUTS,TORCHDYNAMO_CAPTURE_DYNAMIC_OUTPUT_SHAPE_OPS)ddp_optimizerpython_reducer'python_reducer_without_compiled_forwardno_optimizationoptimize_ddp(TORCH_DYNAMO_DO_NOT_EMIT_RUNTIME_ASSERTSdo_not_emit_runtime_assertsfloat64
complex128int64z*pytorch/compiler:inline_inbuilt_nn_modules)defaultjustknobc                     Sn U [         R                  ;   a1  [         R                  R                  [         R                  U    S5      $ [	        5       (       aG  [         R                  R                  [
        R                  " 5       [        R                  " 5       S5      $ [         R                  R                  [         R                  " 5       S5      $ )NTORCH_COMPILE_DEBUG_DIRtorch_compile_debug)
osenvironpathjoinr   tempfile
gettempdirgetpassgetusergetcwd)DEBUG_DIR_VAR_NAMEs    L/var/www/auris/envauris/lib/python3.13/site-packages/torch/_dynamo/config.pydefault_debug_dir_rootrL     s    2RZZ'ww||BJJ'9:<QRR	ww||!7??#46K
 	
 ww||BIIK)>??    >   repro_afterrepro_levelconstant_functionsr%   reorderable_logging_functions.ignore_logger_methods)layoutis_negis_conj	is_pinned)stridestorage_offsetis_contiguous TORCH_FAKE_TENSOR_DISPATCH_CACHE+TORCH_FAKE_TENSOR_DISPATCH_CACHE_CROSSCHECK!compiled_autograd_kwargs_overrideTORCH_COMPILER_COLLECTIVESz7pytorch/remote_cache:enable_local_automatic_dynamic_pgo(TORCH_DYNAMO_AUTOMATIC_DYNAMIC_LOCAL_PGO)r=   env_name_forcer<   automatic_dynamic_local_pgo)TORCH_DYNAMO_AUTOMATIC_DYNAMIC_REMOTE_PGOautomatic_dynamic_remote_pgoUNSAFE_SKIP_FSDP_MODULE_GUARDSz,pytorch/compiler:enable_run_gc_after_compile!TORCH_DYNAMO_RUN_GC_AFTER_COMPILE)r<   r=   env_name_default_custom_ops_profile)*c                      g )N )changess    rK   _make_closure_patcherrk   ]  s    #rM   )__doc__rG   rA   sysrE   os.pathr   r   typingr   r   r   r   r	   r
   torch._environmentr   torch.utils._config_moduler   r   r   r   str__annotations__rB   getverboseverify_correctnessminimum_call_countdead_code_eliminationrecompile_limitaccumulated_recompile_limit*skip_code_recursive_on_recompile_limit_hitfail_on_recompile_limit_hitr   intr   r   boolr   specialize_intspecialize_floatdynamic_shapesuse_lazy_graph_moduleassume_static_by_defaultautomatic_dynamic_shapesr   force_parameter_static_shapes&force_nn_module_property_static_shapesallow_ignore_mark_dynamicguard_nn_modules guard_nn_modules_using_dict_tagsprepare_freezingsetr    typesuppress_errorsreplay_record_enabled rewrite_assert_with_torch_assertdisablecprofiler%   dict*allowed_functions_module_string_ignorelistrN   rO   repro_forward_onlyrepro_tolerancerepro_ignore_non_fpsame_two_models_use_fp64capture_scalar_outputs capture_dynamic_output_shape_ops+prefer_deferred_runtime_asserts_over_guards'allow_complex_guards_as_runtime_asserts3force_unspec_int_unbacked_size_like_on_torchrec_kjtallow_unspec_int_on_nn_moduler6   r8   skip_torchrecoptimize_ddp_lazy_compileskip_fsdp_guardsskip_fsdp_hooksskip_nnmodule_hook_guards,skip_no_tensor_aliasing_guards_on_parameters*skip_tensor_guards_with_matching_dict_tagsraise_on_ctx_manager_usageraise_on_unsafe_aot_autograderror_on_nested_jit_traceerror_on_nested_fx_trace	allow_rnncapture_sparse_computeerror_on_recompilereport_guard_failures__file__base_dirtrace_numpynumpy_default_floatnumpy_default_complexnumpy_default_intuse_numpy_random_streamenable_cpp_guard_manager enable_cpp_symbolic_shape_guardsenable_trace_contextlib"enable_faithful_generator_behaviorinline_inbuilt_nn_modules!enable_cpp_framelocals_guard_evaluse_graph_deduplicationtrack_nodes_for_deduplicationissue_3_13_0_warningallow_empty_graphs%record_compile_time_instruction_countrL   debug_dir_root_save_config_ignore%cudagraph_backend_keep_input_mutation(cudagraph_backend_support_input_mutationonly_allow_pt2_compliant_opscapture_autograd_functioncapture_func_transformslog_compilation_metricsrQ   rR   +inject_BUILD_SET_unimplemented_TESTING_ONLY)_autograd_backward_strict_mode_banned_ops5_autograd_backward_strict_mode_conditional_banned_opsfake_tensor_cache_enabled$fake_tensor_cache_crosscheck_enabledcompiled_autogradr\   enable_compiler_collectivesr`   rb   _unsafe_skip_fsdp_module_guardsrun_gc_after_compilerf   torch.utils._config_typingrk   modules__name__ri   rM   rK   <module>r      s  	  	 
  $ I I ( V V  $x} # **...
4
;        "  .2 * $ %KL # L$*
<% c 
 06
K0 &  !'
<!   
    JJNN8#>#E        DM  '*?"@ L !% 
 *. & "    $(  
 ::>>"@#F#M ( /2e Sc^ 3 rzz~~&CUKL
 

'DcJcQ  $(   **..0%
8 ::>>2E: 57 !4S> 6. * jjnn6= "**..!:A>? ZZ^^$DEL 
  jjnn%FG3N    
 (LMQTT  JJNNA3G3N !
 /4 + +0 ' 7< 3 !& 4 	 e	 	  JJNN=sCsJ T 
  "    
 !  04 , .2 * "   %  !     	 #,++4 
     7778#4567    $         $)     &* " #9  %) !    !& 
     ). %
@ ()  ). % ,1 (  %  !      =@E s8SE4K#89 A 25 s8CH-. 6 /4 +- )9 5 JJNN5s;sB  JJNN@#F#M %   57 !4S> 6 !jjnn-I3OSVV . %+F=% T  0@/0 htn  JJNN3S9S@  
 ;8  &* Xc] ),- ckk(+ ,rM   