pytorch/torch/_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
..
backends [BE][PYFMT] migrate PYFMT for torch._dynamo to ruff format (#144549) 2025-02-28 03:03:53 +00:00
polyfills Revert "[pytree] add APIs to determine a class is a namedtuple or PyStructSequence (#113257)" 2025-03-14 23:13:34 +00:00
repro [BE][PYFMT] migrate PYFMT for torch._dynamo to ruff format (#144549) 2025-02-28 03:03:53 +00:00
variables [SDPA] Respect sdpa_kernel's priority_order setting in torch.compile (#147768) 2025-03-13 18:52:34 +00:00
__init__.py fix dynamo ide (#148849) 2025-03-11 18:43:30 +00:00
_trace_wrapped_higher_order_op.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
bytecode_analysis.py Remove code for Python < 3.9 (#147097) 2025-02-14 03:22:49 +00:00
bytecode_transformation.py [dynamo] show stack above dynamo in graph break user tracebacks (#148401) 2025-03-09 07:37:38 +00:00
cache_size.py Migrate from Tuple -> tuple in torch/_dynamo (#144261) 2025-01-10 07:45:57 +00:00
callback.py [BE][PYFMT] migrate PYFMT for torch._dynamo to ruff format (#144549) 2025-02-28 03:03:53 +00:00
code_context.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
codegen.py Replace unimplemented with unimplemented_v2' in codegen.py` (#148069) 2025-03-06 20:42:37 +00:00
compiled_autograd.py Add side_effect to avoid dce custom op in CA graph (#149181) 2025-03-15 04:15:49 +00:00
comptime.py [BE][PYFMT] migrate PYFMT for torch._dynamo to ruff format (#144549) 2025-02-28 03:03:53 +00:00
config.py update types on dynamo configs (#146873) 2025-03-11 05:33:48 +00:00
convert_frame.py Correctly propagate exception to parent tx (#146502) 2025-03-11 18:55:45 +00:00
create_parameter_op.py PEP585 update - torch/_dynamo (#145105) 2025-01-18 20:47:11 +00:00
current_scope_id.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
debug_utils.py [BE][PYFMT] migrate PYFMT for torch._dynamo to ruff format (#144549) 2025-02-28 03:03:53 +00:00
decorators.py [dynamo] Account for function id reuse in relevant Dynamo decorators (#148385) 2025-03-05 21:28:26 +00:00
device_interface.py Revert "Use the device interface for detecting Triton availability (#139171)" 2025-03-11 18:49:21 +00:00
distributed.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
eval_frame.py Revert "Use the device interface for detecting Triton availability (#139171)" 2025-03-11 18:49:21 +00:00
exc.py Correctly propagate exception to parent tx (#146502) 2025-03-11 18:55:45 +00:00
external_utils.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
funcname_cache.py gracefully handle tokenize.TokenError in funcname parser. Adds support for non-Python source (#148737) 2025-03-11 19:49:28 +00:00
graph_break_hints.py [dynamo] add generic graph break hints (#147429) 2025-02-26 09:20:28 +00:00
graph_deduplication.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
graph_region_tracker.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
guards.py [dynamo][guards][serialization] Dont use ID_MATCH guard for bool and None (#149228) 2025-03-18 01:25:37 +00:00
hooks.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
logging.py Revert "Use the device interface for detecting Triton availability (#139171)" 2025-03-11 18:49:21 +00:00
metrics_context.py [logging] Log individual Triton kernel compilation times to dynamo_compile (#147022) 2025-03-03 19:32:17 +00:00
mutation_guard.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
output_graph.py [dynamo][guards] Do not ID_MATCH on numpy tensors (#148923) 2025-03-11 14:20:26 +00:00
pgo.py [BE][PYFMT] migrate PYFMT for torch._dynamo to ruff format (#144549) 2025-02-28 03:03:53 +00:00
profiler.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
replay_record.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
resume_execution.py [BE][PYFMT] migrate PYFMT for torch._dynamo to ruff format (#144549) 2025-02-28 03:03:53 +00:00
side_effects.py Introduce UserDefinedExceptionClassVariable (#146504) 2025-03-11 18:55:45 +00:00
source.py Introduce delayed compile via eager_then_compile stance (#147983) 2025-03-04 07:46:31 +00:00
symbolic_convert.py Correctly propagate exception to parent tx (#146502) 2025-03-11 18:55:45 +00:00
tensor_version_op.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
test_case.py [Inductor][Windows] add env_var switch to turn all Windows inductor UTs. (#148733) 2025-03-10 18:25:29 +00:00
test_minifier_common.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
testing.py [BE][PYFMT] migrate PYFMT for torch._dynamo to ruff format (#144549) 2025-02-28 03:03:53 +00:00
trace_rules.py Initial implementation of host memory stats (#147660) 2025-03-05 16:13:19 +00:00
types.py [BE][PYFMT] migrate PYFMT for torch._dynamo to ruff format (#144549) 2025-02-28 03:03:53 +00:00
utils.py fix two accuracy regression (#149172) 2025-03-17 19:34:00 +00:00