pytorch/test/dynamo
Brian Hirsh 7d710403b0 Reapply "Make functionalization ViewMeta serializable with pickle. (#143712)" (#163769)
### Summary:
NOTE: This is a re-export of https://github.com/pytorch/pytorch/pull/161994 ; the changes between these two PRs is exclusively to the buck/build files

(Summary from #161994 )
Attempted rebase of https://github.com/pytorch/pytorch/pull/143712.

This reverts commit 6c713ccb5e.

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang amjames Lucaskabela

imported-using-ghimport

Test Plan: Imported from OSS

Differential Revision: D81524507

Pulled By: Lucaskabela

Pull Request resolved: https://github.com/pytorch/pytorch/pull/163769
Approved by: https://github.com/dolpm

Co-authored-by: Brian Hirsh <hirsheybar@fb.com>
2025-09-25 10:27:37 +00:00
..
cpython/3_13 Fix range.__getitem__() (#161804) 2025-09-04 02:33:03 +00:00
mock_modules
__init__.py
_test_nested_graph_breaks_helper.py [dynamo, nested graph breaks] add nested graph break tests (#144516) 2025-08-27 03:00:56 +00:00
imports_non_circular_repro.py [Bugfix] Fix circular import between export and dynamo from tensor fn map (#158931) 2025-07-24 22:24:57 +00:00
mock_store_global_crossfile_inline.py
test_activation_checkpointing.py [ROCm] Enabling several UTs (#161715) 2025-09-09 15:49:21 +00:00
test_after_aot.py
test_aot_autograd_cache.py Reapply "Make functionalization ViewMeta serializable with pickle. (#143712)" (#163769) 2025-09-25 10:27:37 +00:00
test_aot_autograd.py Graph break with error message (#158800) 2025-07-29 17:34:49 +00:00
test_aot_compile.py Revert "[precompile] Add option to disable guard check on aot-compiled function. (#163432)" 2025-09-23 16:31:30 +00:00
test_autograd_function.py Enable XPU for test_autograd_function.py (#160309) 2025-08-13 06:38:34 +00:00
test_backends.py [Code Clean] Remove deadcodes about Python3.9 [2/N] (#163627) 2025-09-24 07:30:50 +00:00
test_backward_higher_order_ops.py [ca] Functionalize AccumulateGrad (#155521) 2025-06-16 18:45:02 +00:00
test_base_hop.py Fix requires_cuda to requires_cuda_and_triton (#160222) 2025-08-10 07:05:52 +00:00
test_base_output.py
test_buffers_override.py Typo fixes for "overridden" in comments and function names (#155944) 2025-06-14 03:37:38 +00:00
test_bytecode_utils.py [Code Clean] Remove deadcodes about Python3.9 [8/N] (#163728) 2025-09-25 05:12:46 +00:00
test_callback.py Port 4 dynamo test files for the intel XPU (#160953) 2025-09-18 01:54:45 +00:00
test_compile.py dynamo: Handle objects in graph that do not support weakref (#163168) 2025-09-22 22:11:09 +00:00
test_compiler_bisector.py Fix requires_cuda to requires_cuda_and_triton (#160222) 2025-08-10 07:05:52 +00:00
test_comptime.py
test_config.py
test_ctx_manager.py [dynamo] Fix graph break on calling functions decorated with special context manager (#160703) 2025-08-18 20:33:45 +00:00
test_cudagraphs_expandable_segments.py
test_cudagraphs.py
test_debug_utils.py Fix requires_cuda to requires_cuda_and_triton (#160222) 2025-08-10 07:05:52 +00:00
test_decorators.py [dynamo] change error_on_graph_break/fullgraph semantics (#161747) 2025-09-04 17:10:17 +00:00
test_deque_reconstruct.py
test_deviceguard.py
test_dicts.py [dynamo] Correctly track mutation class source for MutableMappingVariable (#161568) 2025-08-27 21:47:17 +00:00
test_dynamic_shapes.py
test_einops.py Add einops x torch.compile testing in PyTorch CI (#157416) 2025-07-03 17:36:39 +00:00
test_error_messages.py Turn on capture_dynamic_output_shape_ops when fullgraph=True (#163123) 2025-09-18 21:24:15 +00:00
test_exc.py [dynamo] update pytorch-labs -> meta-pytorch in graph break URLs (#159975) 2025-08-06 23:57:31 +00:00
test_exceptions.py [dynamo] Fix handling of kwargs in exception constructor (#163390) 2025-09-24 22:44:14 +00:00
test_export_mutations.py
test_export.py [BE][5/6] fix typos in test/ (test/dynamo/) (#157639) 2025-07-06 06:34:25 +00:00
test_fake_distributed.py Don't require FakeStore to be passed into fake backend (#162164) 2025-09-04 16:43:49 +00:00
test_flat_apply.py [export] Add meta[val] to getattr nodes (#154934) 2025-06-13 05:48:21 +00:00
test_frame_init.py
test_functions.py [Code Clean] Remove deadcodes about Python3.9 [8/N] (#163728) 2025-09-25 05:12:46 +00:00
test_fx_graph_runnable.py Make user defined Triton kernels serializable for fx_graph_runnable (#160002) 2025-08-11 20:54:33 +00:00
test_fx_passes_pre_grad.py
test_generator.py [generator] Raise StopIteration(value) with value from the return stmt (#157152) 2025-08-15 01:42:40 +00:00
test_global.py
test_graph_deduplication.py [Dynamo][Hierarchical Compile] Flatten tuple inputs for regions (#158812) 2025-08-18 18:03:11 +00:00
test_graph_region_tracker.py [ROCm] Remove HIPBLASLT_ALLOW_TF32 from codebase (#162998) 2025-09-18 13:53:48 +00:00
test_guard_manager.py Revert "[dynamo][guards] Do not construct entire framelocals dict for LAMBDA_GUARD (#162525)" 2025-09-19 06:15:28 +00:00
test_guard_serialization.py [precompile] Fix issues with guard serialization on distributed types. (#162418) 2025-09-11 23:09:55 +00:00
test_higher_order_ops.py [dynamo][hop] Introduce Local Map HOP (#161458) 2025-09-17 09:32:38 +00:00
test_hooks.py [BE][5/6] fix typos in test/ (test/dynamo/) (#157639) 2025-07-06 06:34:25 +00:00
test_inline_and_install.py [BE][5/6] fix typos in test/ (test/dynamo/) (#157639) 2025-07-06 06:34:25 +00:00
test_input_attr_tracking.py
test_install_free_tensors.py
test_interop.py
test_list.py [list] Add list.__delitem__ (#156339) 2025-07-07 14:51:32 +00:00
test_logging.py [inductor] turn on loaf (for oss) by default (#162030) 2025-09-24 06:02:02 +00:00
test_metrics_context.py [BE][5/6] fix typos in test/ (test/dynamo/) (#157639) 2025-07-06 06:34:25 +00:00
test_minifier.py Port two dynamo test cases for Intel GPU (#156056) 2025-06-19 12:49:04 +00:00
test_misc.py docs and optional kwargs for full graph capture (#163550) 2025-09-24 01:20:27 +00:00
test_model_output.py Port three dynamo test to Intel GPU (#156575) 2025-06-27 05:56:22 +00:00
test_modes.py [dynamo] Fix TorchFunctionMode handling with get_rng_state (#163412) 2025-09-23 15:37:45 +00:00
test_modules.py [dynamo] Trace nn.Module __delattr__ (#159969) 2025-08-06 23:43:19 +00:00
test_nested_graph_breaks.py [dynamo, nested graph breaks] support nested graph breaks that cause skipped frames (#160470) 2025-09-03 02:47:07 +00:00
test_nops.py
test_optimizers.py [BE][PYFMT] migrate PYFMT for test/[a-h]*/ to ruff format (#144555) 2025-06-24 04:53:54 +00:00
test_package.py Simplify PrecompileContext to no longer be a CacheArtifactManager (#162886) 2025-09-20 01:24:37 +00:00
test_pgo.py [PGO] ignore extra PGO key if warm/cold cache present (#163810) 2025-09-25 07:16:05 +00:00
test_pre_dispatch.py
test_precompile_context.py Simplify PrecompileContext to no longer be a CacheArtifactManager (#162886) 2025-09-20 01:24:37 +00:00
test_profiler.py Revert "[dynamo] Constant fold torch.autograd._profiler_enabled (#158482)" 2025-09-09 00:21:05 +00:00
test_python_autograd.py
test_python_dispatcher.py port 4 dynamo test files to Intel GPU (#157779) 2025-07-11 10:11:49 +00:00
test_recompile_ux.py port 4 dynamo test files to Intel GPU (#157779) 2025-07-11 10:11:49 +00:00
test_recompiles.py Add logging for when inbuilt_inline_nn_modules will help with ID_MATCH guard triggered recompiles (#160592) 2025-08-15 17:09:39 +00:00
test_reconstruct.py [Linter] Expanding the scope of detecting device-bias code. (#159949) 2025-08-09 09:41:16 +00:00
test_reorder_logs.py [dynamo] update pytorch-labs -> meta-pytorch in graph break URLs (#159975) 2025-08-06 23:57:31 +00:00
test_repros.py [Bugfix] Match eager stride semantics for cloned tensors with preserve_format in compile (#163017) 2025-09-19 19:41:33 +00:00
test_resume.py
test_sdpa.py SDP Backend function fix (#161169) 2025-09-19 20:19:59 +00:00
test_sets.py Capture TypeError in CONTAINS_OP (#161069) 2025-09-04 04:49:09 +00:00
test_skip_guard_eval_unsafe.py [dynamo][guards] Make class members go through obj.__class__.__dict__ (#159534) 2025-08-04 05:12:44 +00:00
test_skip_non_tensor.py
test_sources.py
test_structured_trace.py Add local file path to inductor_output_code trace metadata (#160920) 2025-09-18 18:39:46 +00:00
test_subclasses.py Fix requires_cuda to requires_cuda_and_triton (#160222) 2025-08-10 07:05:52 +00:00
test_subgraphs.py [BE][5/6] fix typos in test/ (test/dynamo/) (#157639) 2025-07-06 06:34:25 +00:00
test_torchrec.py
test_trace_rules.py [BE][5/6] fix typos in test/ (test/dynamo/) (#157639) 2025-07-06 06:34:25 +00:00
test_unittest.py
test_unspec.py [fx][pass] Support converting a float32 tensor to a scalar in FX trace. (#158216) 2025-08-09 15:13:13 +00:00
test_utils.py Log exception_stack_trace to dynamo_compile (#161096) 2025-08-22 03:29:15 +00:00
test_verify_correctness.py
test_view.py Better fix for __index__ SymInt issue (#157201) 2025-07-01 07:06:46 +00:00
utils.py