pytorch/test/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
..
mock_modules
__init__.py
mock_store_global_crossfile_inline.py
test_activation_checkpointing.py Support torch.compile rng selective activation checkpointing with cudagraph (#146878) 2025-02-28 00:47:03 +00:00
test_after_aot.py
test_aot_autograd_cache.py Use source hashing to generate consistent symbolic ids (#149665) 2025-03-28 05:36:32 +00:00
test_aot_autograd.py [dynamo] Remove L scoping for recompilation messages (#148917) 2025-03-11 14:26:26 +00:00
test_autograd_function.py [dynamo] improved graph break messages for some common graph break sites [1/N] (#146525) 2025-02-20 00:08:13 +00:00
test_backends.py
test_backward_higher_order_ops.py [aotd] Config to guess_tangents_stride (#150035) 2025-03-28 13:54:19 +00:00
test_base_hop.py [dynamo][invoke_subgraph] Input aliasing and mutation check in Dynamo (#148953) 2025-03-28 03:50:07 +00:00
test_base_output.py
test_buffers_override.py [Bugfix] Add handling for buffer overrides (#149882) 2025-03-25 20:12:43 +00:00
test_bytecode_utils.py
test_callback.py add pt2 callbacks for backward pass and prevent duplicate callbacks (#145732) 2025-01-28 03:50:02 +00:00
test_compile.py dynamo: Don't crash when encountering a object with no __name__ (#147246) 2025-02-18 20:35:49 +00:00
test_compiler_bisector.py
test_comptime.py Use source hashing to generate consistent symbolic ids (#149665) 2025-03-28 05:36:32 +00:00
test_config.py
test_ctx_manager.py Update CPython tests for ctx manager to use unittest (#146501) 2025-04-08 14:55:17 +00:00
test_cudagraphs_expandable_segments.py
test_cudagraphs.py
test_debug_utils.py
test_decorators.py [dynamo] fix bug where non-recursive disable modifies the original function (#148896) 2025-03-20 18:33:54 +00:00
test_deque_reconstruct.py [dynamo] allow global import from collections import deque in user code (#148676) 2025-03-10 13:14:05 +00:00
test_deviceguard.py
test_dicts.py [Dynamo] Fix dict.items() return type (#150112) 2025-04-04 04:32:13 +00:00
test_dynamic_shapes.py fix dynamic float when dynamic=True (#149564) 2025-03-22 05:58:59 +00:00
test_error_messages.py [dynamo] reconstruct functions decorated in the compiled region properly (#150645) 2025-04-08 17:32:46 +00:00
test_exc.py Use source hashing to generate consistent symbolic ids (#149665) 2025-03-28 05:36:32 +00:00
test_exceptions.py Allow trace through unittest (#146500) 2025-04-08 14:55:17 +00:00
test_export_mutations.py
test_export.py Use source hashing to generate consistent symbolic ids (#149665) 2025-03-28 05:36:32 +00:00
test_flat_apply.py [dynamo] Make nonstrict_trace work with some pytree.register_constant-ed instances (#148007) 2025-03-05 21:28:26 +00:00
test_frame_init.py [dynamo] replace hardcoded eval frame control flags skip_code_recursive_flag/cache_limit_hit_flag (#146355) 2025-02-18 21:37:12 +00:00
test_functions.py [Bugfix] Fix compile error with torch.Tensor.unsqueeze_ and inplace views called from Tensor Class (#150573) 2025-04-04 01:58:34 +00:00
test_fx_passes_pre_grad.py
test_generator_stop.py Allow trace through unittest (#146500) 2025-04-08 14:55:17 +00:00
test_generator.py Implement raise ... from ... (#148766) 2025-04-03 13:15:31 +00:00
test_global.py
test_graph_deduplication.py [invoke_subgraph] Preserve node meta (#150782) 2025-04-08 16:57:39 +00:00
test_graph_region_tracker.py
test_guard_manager.py
test_higher_order_ops.py Use source hashing to generate consistent symbolic ids (#149665) 2025-03-28 05:36:32 +00:00
test_hooks.py [dynamo][hooks] use wrap_top_frame config for functions (#150209) 2025-04-01 17:41:23 +00:00
test_input_attr_tracking.py
test_interop.py
test_logging.py Revert "[inductor] Fix mm logging for torch._scaled_.mm (#149967)" 2025-03-26 03:29:59 +00:00
test_metrics_context.py [logging] Log individual Triton kernel compilation times to dynamo_compile (#147022) 2025-03-03 19:32:17 +00:00
test_minifier.py
test_misc.py [precompile] Serialization for GlobalStateGuard (#150636) 2025-04-07 03:10:03 +00:00
test_model_output.py
test_modes.py [Dynamo] add support for torch._C._is_torch_function_all_disabled (#149490) 2025-03-20 22:19:55 +00:00
test_modules.py inductor: Don't throw an internal error when a nn.module is missing a attribute (#145122) 2025-02-05 05:49:32 +00:00
test_nops.py
test_optimizers.py
test_pgo.py
test_pre_dispatch.py
test_profiler.py
test_python_autograd.py Apply ruff fixes to tests (#146140) 2025-02-04 05:41:01 +00:00
test_python_dispatcher.py
test_raise.py Allow trace through unittest (#146500) 2025-04-08 14:55:17 +00:00
test_recompile_ux.py [dynamo] Remove L scoping for recompilation messages (#148917) 2025-03-11 14:26:26 +00:00
test_recompiles.py
test_reconstruct.py [dynamo] reconstruct functions decorated in the compiled region properly (#150645) 2025-04-08 17:32:46 +00:00
test_reorder_logs.py
test_repros.py Remove unused rand call if not fallback to eager for rand (#147790) 2025-04-03 23:27:03 +00:00
test_resume.py
test_sdpa.py
test_skip_guard_eval_unsafe.py
test_skip_non_tensor.py
test_sources.py
test_structured_trace.py Use source hashing to generate consistent symbolic ids (#149665) 2025-03-28 05:36:32 +00:00
test_subclasses.py [dynamo] Always trace into tensor subclass __torch_function__ (#149792) 2025-04-02 20:57:00 +00:00
test_subgraphs.py
test_sys.py Allow trace through unittest (#146500) 2025-04-08 14:55:17 +00:00
test_torchrec.py
test_trace_rules.py dynamo: Don't crash when encountering a object with no __name__ (#147246) 2025-02-18 20:35:49 +00:00
test_unittest.py Allow trace through unittest (#146500) 2025-04-08 14:55:17 +00:00
test_unspec.py fix dynamic float when dynamic=True (#149564) 2025-03-22 05:58:59 +00:00
test_utils.py [logging] Add pgo remote get/put timings to dynamo_compile (#150322) 2025-04-07 18:08:26 +00:00
test_verify_correctness.py
test_view.py
utils.py