+
    &j              	       x  a  RG t0 t R t^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RI	H
t
Ht ^ RIHtHtHt ^ RIHt ^ RIHtHtHt Rt] ^ k ]P.                  P1                  RR4      R	8H  tR
t]P.                  P1                  RR4      t] ^k ]P.                  P1                  RR4      t] ^k ]P.                  P1                  RR4      t] ^k R
tR
t^t Rt!Rt"Rt#^t$Rt%]! RRRR7      t&] ^k R
t']! RR7      t(] ^k ]! RR7      t)] ^k ]! RRRR7      t*] ^k ]! RR7      t+] ^k R
t,R
t-Rt.]P.                  P1                  RR	4      R	8H  t/Rt0]P.                  P1                  RR	4      R	8H  t1Rt2] ^	k R
t3R
t4Rt5Rt6R
t7Rt8Rt9]P.                  P1                  RR4      R	8H  t:];! 4       t<] ^
k ];! 4       t=] ^k ]>! ]P.                  P1                  RR
4      4      t?]P.                  P1                  RR4      R	8H  t@RtA]P.                  P1                  R R4      R	8H  tB]P.                  P1                  R!R
4      tC]P.                  P1                  R"R
4      tD] ^k / tE] ^k  0 RHmtF]P.                  P1                  R#R4      tG]H! ]P.                  P1                  R$^4      4      tI]P.                  P1                  R%4      R	8H  tJR&tK]P.                  P1                  R'4      R	8H  tLRtM]P.                  P1                  R(4      R	8H  tN]P.                  P1                  R)R4      R	8H  tOR
tPR
tQR
tRRtS] ^k ]P.                  P1                  R*R4      R	8H  tT] ^k RtUR
tVR
tWRtXRtYRtZRt[Rt\Rt]R
t^Rt_R
t`RtaRtbR
tcRtdRteR
tfR
tg]! 4       '       * thR
tiRtj]! ]! ]! ]
! ]k4      4      4      4      tlRtmR
tnR+toR,tpR-tqR
trRtsR
ttRtuR
tvRtw]! RR.RR/R07      txR
ty] ^k R
tzR
t{Rt|Rt}R
t~R
tR
tRtR
tR
tR
tR
tR
tR1 R2 lt]! 4       t0 RImtR
tR
tR
tRtRtR
t] ^k Rt];! 4       t] ^k ];! 4       t] ^k ]! R3R7      t] ^k R
t. RJOt. RKOt]P.                  P1                  R4R	4      R	8H  t]P.                  P1                  R5R4      R	8H  tRt]P.                  P1                  R6R4      R	8H  t]P.                  P1                  R7R4      R	8H  tR
tRtRtRtR
t/ t] ^k  ]P.                  P1                  R8R4      R	8H  t]P.                  P1                  R9R4      R	8H  t]! R:R;RR<7      t] ^k ]! R=4      t] ^k ]P.                  P1                  R>R4      R	8H  t]P.                  P1                  R?R4      t] ^k ]! ]EPP                  ! R@4      ^8g  RARBRC7      tR
tR
tRtRtRt] ^k R
t] ^k R
t] ^k Rt] ^k ]'       d   ^ RDI5 RE RF lt]! ]EPh                  ],          4       R# )Lar  
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)Callable)abspathdirname)AnyLiteralTYPE_CHECKING)	is_fbcode)Configget_tristate_envinstall_config_moduleTORCHDYNAMO_VERBOSE01FTORCH_COMPILE_OVERRIDE_BACKENDS 'TORCH_COMPILE_OVERRIDE_INDUCTOR_CONFIGS%TORCH_COMPILE_OVERRIDE_DYNAMO_CONFIGSTinfo   zdoes not do anything)default
deprecateddeprecation_messagez$torch._dynamo.config.recompile_limit)aliasz0torch._dynamo.config.accumulated_recompile_limitz?torch._dynamo.config.skip_code_recursive_on_recompile_limit_hit)r   r   r   z0torch._dynamo.config.fail_on_recompile_limit_hit#TORCH_COMPILE_USE_LAZY_GRAPH_MODULE%TORCH_DYNAMO_AUTOMATIC_DYNAMIC_SHAPESdynamicTORCHDYNAMO_PREPARE_FREEZINGTORCHDYNAMO_SUPPRESS_ERRORSTORCH_COMPILE_REPLAY_RECORDTORCH_COMPILE_DISABLETORCH_COMPILE_CPROFILETORCH_COMPILE_DYNAMO_PROFILER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(TORCH_DYNAMO_DO_NOT_EMIT_RUNTIME_ASSERTSfloat64
complex128int64z*pytorch/compiler:inline_inbuilt_nn_modulesz>does not do anything, inline_inbuilt_nn_modules is always True)r   justknobr   r   c                $    V ^8  d   QhR\         /# )   return)str)formats   "l/Users/jameslopez/projects/CWCArchive/cwc-podcast/.venv/lib/python3.14/site-packages/torch/_dynamo/config.py__annotate__r3   w  s     
@ 
@ 
@    c                     R p V \         P                  9   d6   \         P                  P                  \         P                  V ,          R4      # \	        4       '       dH   \         P                  P                  \
        P                  ! 4       \        P                  ! 4       R4      # \         P                  P                  \         P                  ! 4       R4      # )TORCH_COMPILE_DEBUG_DIRtorch_compile_debug)
osenvironpathjoinr   tempfile
gettempdirgetpassgetusergetcwd)DEBUG_DIR_VAR_NAMEs    r2   default_debug_dir_rootrB   w  s    2RZZ'ww||BJJ'9:<QRR	ww||!7??#46K
 	
 ww||BIIK)>??r4   z-torch._dynamo.config.ignore_logging_functions TORCH_FAKE_TENSOR_DISPATCH_CACHE+TORCH_FAKE_TENSOR_DISPATCH_CACHE_CROSSCHECKTORCH_CACHING_PRECOMPILETORCH_STRICT_PRECOMPILETORCH_COMPILER_COLLECTIVES"TORCHDYNAMO_ENABLE_P2P_COMPILATIONz7pytorch/remote_cache:enable_local_automatic_dynamic_pgo(TORCH_DYNAMO_AUTOMATIC_DYNAMIC_LOCAL_PGO)r,   env_name_forcer   )TORCH_DYNAMO_AUTOMATIC_DYNAMIC_REMOTE_PGOUNSAFE_SKIP_FSDP_MODULE_GUARDSPT2_COMPILE_ID_PREFIXPy_GIL_DISABLEDz,pytorch/compiler:enable_run_gc_after_compile!TORCH_DYNAMO_RUN_GC_AFTER_COMPILE)r   r,   env_name_default)*c                0    V ^8  d   QhR\         R\         /# )r.   changesr/   )r   )r1   s   "r2   r3   r3     s    9999r4   c                      R # )N )rS   s   ,r2   _make_closure_patcherrV     s    cr4   c                \   V ^8  d   Qh/ ^ \         9   d   \        R,          ;R&   ^\         9   d
   \        ;R&   ^\         9   d
   \        ;R&   ^\         9   d
   \        ;R&   ^\         9   d
   \        ;R&   ^\         9   d
   \        ;R&   ^\         9   d
   \        ;R&   ^\         9   d
   \        ;R	&   ^\         9   d
   \        ;R
&   ^	\         9   d   \        R ,          ;R&   ^
\         9   d    \
        \        \        ,          ,          ;R&   ^\         9   d    \
        \        \        ,          ,          ;R&   ^\         9   d   \        \        ,          ;R&   ^\         9   d   \        \        \        3,          ;R&   ^\         9   d   \        \        R!,          ,          ;R&   ^\         9   d
   \        ;R&   ^\         9   d
   \        ;R&   ^\         9   d
   \        ;R&   ^\         9   d#   \
        \        \        .R3,          ,          ;R&   ^\         9   d"   \
        \        R\        3,          ,          ;R&   ^\         9   d"   \
        \        R\        3,          ,          ;R&   ^\         9   d   \        \        \        3,          ;R&   ^\         9   d
   \        ;R&   ^\         9   d   \        R,          ;R&   ^\         9   d   \        R,          ;R&   ^\         9   d   \        R,          ;R&   ^\         9   d
   \        ;R&   ^\         9   d
   \        ;R&   ^\         9   d   \        R,          ;R&   # )"r.   Nlog_file_namedebug_backend_overridedebug_inductor_config_overridedebug_dynamo_config_override*skip_code_recursive_on_recompile_limit_hitcache_size_limitaccumulated_cache_size_limit&skip_code_recursive_on_cache_limit_hitfail_on_cache_limit_hit automatic_dynamic_shapes_mark_astraceable_tensor_subclassesnontraceable_tensor_subclassesdynamo_profiler!skipfiles_inline_module_allowlistoptimize_ddpdo_not_emit_runtime_assertsnested_graph_breaks capture_profiler_record_functionreorderable_logging_functions.ignore_logging_functionsignore_logger_methods!compiled_autograd_kwargs_overrideautomatic_dynamic_local_pgoautomatic_dynamic_remote_pgopt2_compile_id_prefix_custom_ops_profile'enable_invoke_subgraph_regional_compileinline_invoke_subgraph#invalidate_compile_context_weakrefs)r   unbacked)ddp_optimizerpython_reducer'python_reducer_without_compiled_forwardno_optimization)
__conditional_annotations__r0   boolintr   settyper   dictr   )r1   s   "r2   r3   r3      s    
 
B !  sTz  C
f T S Sg
x  y
N c O
p D q
F M L# LG
H c I
P  Q
\  ]
h M L'*?"@ Li
r 4 3Sc^ 3s
@ 7 6DI 6A
v U T Tw
| 7 64S> 6}
t	 			u
R T S
x " !T !y
P / .$ .Q
b B As8SE4K#89 Ac
x : 9#hsCx01 9y
@ s8CH-. A
h 7 64S> 6i
\ T ]
j dTk k
~ R QsTz Q
t ' &S4Z &u
| 6 5 5}
H % $ $I
Z 8 7TD[ 7[
r4   >   torch._refstorch._primstorch._decomptorch.testingtorch.distributions>   repro_afterrepro_levelconstant_functionsre   )layoutis_negis_conj	is_pinned)stridestorage_offsetis_contiguous)rz   __doc__r>   r8   sys	sysconfigr<   collections.abcr   os.pathr   r   typingr   r   r   torch._environmentr   torch.utils._config_moduler	   r
   r   rX   r9   getverboseverify_correctnessrY   rZ   r[   leaf_function_validate_outputs%leaf_function_check_escaped_gradientsminimum_call_countdead_code_eliminationreplay_side_effectsside_effect_replay_policyrecompile_limitaccumulated_recompile_limitr\   fail_on_recompile_limit_hitr]   r^   r_   r`   specialize_intspecialize_floatdynamic_shapesuse_lazy_graph_moduleassume_static_by_defaultautomatic_dynamic_shapesra   !automatic_dynamic_exclusion_guardlog_graph_in_out_metadataforce_parameter_static_shapes&force_nn_module_property_static_shapesallow_ignore_mark_dynamicguard_nn_modules guard_nn_modules_using_dict_tagsprepare_freezingr}   rb   rc   r{   suppress_errorsreplay_record_enabled rewrite_assert_with_torch_assertdisablecprofilerd   re   *allowed_functions_module_string_ignorelistr   r|   r   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_guards3force_unspec_int_unbacked_size_like_on_torchrec_kjtallow_unspec_int_on_nn_modulerf   rg   skip_torchrecdont_skip_tracingoptimize_ddp_lazy_compile#use_lamba_guard_for_object_aliasingskip_fsdp_guardsskip_fsdp_hooksskip_nnmodule_hook_guards,skip_no_tensor_aliasing_guards_on_parameters*skip_tensor_guards_with_matching_dict_tags%skip_guards_on_constant_func_defaults)assume_dunder_attributes_remain_unchanged"use_recursive_dict_tags_for_guards0max_saved_pointers_for_recursive_dict_tags_checkraise_on_ctx_manager_usageraise_on_unsafe_aot_autograderror_on_nested_jit_traceerror_on_nested_fx_traceforce_compile_during_fx_trace	allow_rnncapture_sparse_computeerror_on_recompilereport_guard_failures__file__base_dirtrace_numpytrace_autograd_ops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_trace_unittest"enable_faithful_generator_behaviorinline_inbuilt_nn_modulesrh   3error_on_dynamo_callback_in_fullgraph_compiled_codeinstall_free_tensorsinstall_free_tensors_for_export!enable_cpp_framelocals_guard_evaluse_graph_deduplicationtrack_nodes_for_deduplicationgraph_deduplication_lintissue_3_13_0_warningallow_empty_graphsdebug_force_nested_calls&debug_force_graph_break_on_leaf_returndebug_disable_compile_counter%record_compile_time_instruction_countrB   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_transformsri   log_compilation_metricsrj   rk   rl   +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"fake_tensor_disable_inference_modecaching_precompilestrict_precompilecompiled_autogradenable_dynamo_decompositionsgraph_break_on_nn_param_ctor#inline_torch_dispatch_torch_compile-skip_fwd_side_effects_in_bwd_under_checkpointrm   enable_compiler_collectivesenable_p2p_compilationrn   ro   _unsafe_skip_fsdp_module_guardsrp   get_config_varrun_gc_after_compile'constant_fold_autograd_profiler_enabledwrap_top_framerecord_runtime_overheadenable_aot_compilerq   rr   rs   rt   torch.utils._config_typingrV   modules__name__r3   )rz   s   @r2   <module>r     s  
  	 
   $ $ . . ( V V !   **...
4
;   !jjnn-NPRS  S ')jjnn-r'   %'JJNN+R%   "'  ). %       #   " 39T7M4 *  $ %KL  L$*
<%   06
K.0 &  !'
<!   
    JJNN8#>#E     JJNN:C@CG 
 DM   L( %* ! "  !% 
 *. & "    $(  
 ::>>"@#F#M  /2e  3 25  6 rzz~~&CUKL
 

'DcJcQ  $(   **..0#
6#
= ::>>2E: !jjnn-LeT T 57 ! 6&. * jjnn6= "**..!:A>? ZZ^^$DEL 
  jjnn%FG3N    
 (LMQTT  JJNNA3G3N !
 /4 + 7< 3 !& 4 	  	  JJNN=sCsJ  
    "  '+ #   
 !  04 , .2 * ). %& -1 ) &+ " 47 0 "   %  !    
 !&  	 '[ 
     7778#4567      $         $)       &* " #9X	  "  ! 7< 3
   #'  %) !    !&  ! 
     !  */ &
 !&  ). %
@ ()  ). % ,1 (  %  !    */   .   =@E  A 58E  9 28
92   /4 +- )9 5 JJNN5s;sB  JJNN@#F#M % &* " ZZ^^$>DK JJNN#<cBcI     $   $  '+ # 16 - 57 ! 6: !jjnn-I3OSVV  JJNN7=D 2 %+F=%   -=/-   JJNN3S9S@  
 %'JJNN3JD$Q  Q $$%671<;8	  +0 '      #'  & 16 ' 5  %  $ 48 # 7,9 ckk(+ ,r4   