pytorch/torch/csrc/dynamo
Animesh Jain f9a787224c [dynamo][guards][serialization] Dont use ID_MATCH guard for bool and None (#149228)
Doing this removes the need of collecting `id` and therefore facilitates serialization. It also improves readability with recompilations. Earlier, recompile message will just show the `id`.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/149228
Approved by: https://github.com/jansel
2025-03-18 01:25:37 +00:00
..
cache_entry.cpp
cache_entry.h
compiled_autograd.cpp [ca] side-effect free initial trace: RAII PyCompilerInterface (#147891) 2025-02-27 07:17:30 +00:00
compiled_autograd.h [ca] don't inline accumulate grad op (#149014) 2025-03-15 01:10:54 +00:00
cpp_shim.cpp
cpp_shim.h
cpython_defs.c
cpython_defs.h
cpython_includes.h
debug_macros.h Remove code for Python < 3.9 (#147181) 2025-02-15 06:43:26 +00:00
eval_frame_cpp.cpp Enable misc-use-internal-linkage check and apply fixes (#148948) 2025-03-12 14:22:56 +00:00
eval_frame_cpp.h [dynamo] expose code execution strategy to python (#148020) 2025-02-28 21:59:12 +00:00
eval_frame.c [dynamo] expose code execution strategy to python (#148020) 2025-02-28 21:59:12 +00:00
eval_frame.h [dynamo] replace hardcoded eval frame control flags skip_code_recursive_flag/cache_limit_hit_flag (#146355) 2025-02-18 21:37:12 +00:00
extra_state.cpp [dynamo] refactor dynamo__custom_eval_frame to C++, refactor SKIP_CODE[_RECURSIVE] (#145603) 2025-02-18 21:37:12 +00:00
extra_state.h [dynamo] refactor dynamo__custom_eval_frame to C++, refactor SKIP_CODE[_RECURSIVE] (#145603) 2025-02-18 21:37:12 +00:00
framelocals_mapping.cpp [dynamo] refactor dynamo__custom_eval_frame to C++, refactor SKIP_CODE[_RECURSIVE] (#145603) 2025-02-18 21:37:12 +00:00
framelocals_mapping.h [dynamo] refactor dynamo__custom_eval_frame to C++, refactor SKIP_CODE[_RECURSIVE] (#145603) 2025-02-18 21:37:12 +00:00
guards.cpp [dynamo][guards][serialization] Dont use ID_MATCH guard for bool and None (#149228) 2025-03-18 01:25:37 +00:00
guards.h [dynamo] implement framelocals mapping as c++ object (#140063) 2024-12-17 18:54:27 +00:00
init.cpp Fix c++ implementation of strip_function_call (#147436) 2025-02-20 20:41:21 +00:00
init.h
python_compiled_autograd.cpp [ca] don't inline accumulate grad op (#149014) 2025-03-15 01:10:54 +00:00
python_compiled_autograd.h
utils.cpp Revert "[dynamo] save/restore system random state more carefully (#145750)" 2025-01-28 20:51:07 +00:00
utils.h Revert "[dynamo] save/restore system random state more carefully (#145750)" 2025-01-28 20:51:07 +00:00