pytorch/torch/_dynamo
William Wen 97759614c2 [dynamo] reconstruct functions decorated in the compiled region properly (#150645)
We were previously unable to reconstruct functions that were decorated in the compiled region.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/150645
Approved by: https://github.com/jansel
2025-04-08 17:32:46 +00:00
..
backends [dynamo] add dynamo disable reasons to codebase (#150440) 2025-04-02 04:26:48 +00:00
polyfills [dynamo] Support torch.Tensor._make_subclass and tracing through tensor subclass __new__ (#149483) 2025-04-02 20:56:52 +00:00
repro [BE][PYFMT] migrate PYFMT for torch._dynamo to ruff format (#144549) 2025-02-28 03:03:53 +00:00
variables [dynamo] reconstruct functions decorated in the compiled region properly (#150645) 2025-04-08 17:32:46 +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 [dynamo] reconstruct functions decorated in the compiled region properly (#150645) 2025-04-08 17:32:46 +00:00
compiled_autograd.py [ca] introduce RuntimeState to support c++ hooks via graph breaks (#149987) 2025-03-27 05:05:34 +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 Allow trace through unittest (#146500) 2025-04-08 14:55:17 +00:00
convert_frame.py Unify on dynamo_compile as the overall wait counter (#150293) 2025-04-01 08:55:51 +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] add reason field to torch.compiler.disable (#150341) 2025-04-02 04:26:48 +00:00
device_interface.py [MPSInductor] torch.complex128 is unsupported on MPS (#150386) 2025-04-01 15:19:10 +00:00
distributed.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
eval_frame.py [dynamo] add dynamo disable reasons to codebase (#150440) 2025-04-02 04:26:48 +00:00
exc.py Super tiny fix typo (#149109) 2025-03-23 03:02:53 +00:00
external_utils.py [dynamo] fix bug where non-recursive disable modifies the original function (#148896) 2025-03-20 18:33:54 +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 [compile] Switch off inference mode during compilation (#149321) 2025-03-19 02:45:27 +00:00
graph_deduplication.py [Hierarchical Compile] Apply deduplication after output node creation (#150306) 2025-04-01 20:54:18 +00:00
graph_region_tracker.py [Hierarchical Compile] Add cycle detection to graph region expansion (#150305) 2025-04-01 20:54:18 +00:00
graph_utils.py [Hierarchical Compile] Add cycle detection to graph region expansion (#150305) 2025-04-01 20:54:18 +00:00
guards.py Support windows in C++ shape guards (#149211) 2025-04-03 14:42:08 +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 Generalize compile collective to avoid cuda-bias (#150405) 2025-04-07 01:54:20 +00:00
pgo.py [logging] Add pgo remote get/put timings to dynamo_compile (#150322) 2025-04-07 18:08:26 +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 [dynamo] Support Tensor subclass that has dynamic attributes or calls Parameter.__torch_function__ (#149482) 2025-04-02 20:56:43 +00:00
source.py [Dynamo][Misc] Apply typing hints for codegen (#150289) 2025-04-04 14:26:22 +00:00
symbolic_convert.py Implement raise ... from ... (#148766) 2025-04-03 13:15:31 +00:00
tensor_version_op.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
test_case.py Allow trace through unittest (#146500) 2025-04-08 14:55:17 +00:00
test_minifier_common.py Document dynamo (#146736) 2025-02-13 00:02:21 +00:00
testing.py [dynamo] reconstruct functions decorated in the compiled region properly (#150645) 2025-04-08 17:32:46 +00:00
trace_rules.py Facilitate at::_weight_int4pack_mm_with_scale_and_zeros related registration (#147962) 2025-04-08 15:36:07 +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 [logging] Add pgo remote get/put timings to dynamo_compile (#150322) 2025-04-07 18:08:26 +00:00