pytorch/test/dynamo
Simon Fan 298226f358 [dynamo] check for incompatible configs (#146513)
internal: https://fb.workplace.com/groups/1075192433118967/permalink/1599802033991335/

Assuming flags don't change during compilation, we shouldn't allow incompatible configs to be set at torch.compile wrap time.

Not in this PR: For flags that need to change during compilation, we'd have to be strict about where they can be used in the compile lifecycle

Pull Request resolved: https://github.com/pytorch/pytorch/pull/146513
Approved by: https://github.com/williamwen42

Co-authored-by: Gabriel Ferns <gabeferns@meta.com>
2025-02-10 00:44:23 +00:00
..
mock_modules
__init__.py
mock_store_global_crossfile_inline.py
test_activation_checkpointing.py PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
test_after_aot.py
test_aot_autograd.py
test_aot_autograd_cache.py Revert "Make functionalization ViewMeta serializable with pickle. (#143712)" 2025-01-17 00:52:50 +00:00
test_autograd_function.py [Dynamo] Supports autograd.Function forward returns constant (#144597) 2025-01-12 03:53:10 +00:00
test_backends.py Add facility to run dynamo UTs for non-cuda devices (#140929) 2025-01-20 05:56:38 +00:00
test_backward_higher_order_ops.py functional compiled autograd (#144707) 2025-01-27 05:20:56 +00:00
test_base_output.py
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 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_compiler_bisector.py
test_comptime.py
test_config.py
test_ctx_manager.py Set enable_faithful_generator_behavior flag to True (#142513) 2025-02-08 22:42:12 +00:00
test_cudagraphs.py
test_cudagraphs_expandable_segments.py Revert "Use absolute path path.resolve() -> path.absolute() (#129409)" 2025-01-04 14:17:20 +00:00
test_debug_utils.py Adapt Dynamo tests to HPUs using instantiate_device_type_tests (#144387) 2025-01-23 09:24:42 +00:00
test_decorators.py
test_deviceguard.py
test_dicts.py [dynamo] Support functools.partial variables through inspect.signature (#146339) 2025-02-04 04:39:39 +00:00
test_dynamic_shapes.py
test_exc.py [dynamo] Separate out GetItemSource and DictGetItemSource (#143926) 2025-01-01 02:39:41 +00:00
test_exceptions.py Suport generators (#141055) 2025-02-08 22:42:12 +00:00
test_export.py [Codemod][AddExplicitStrictExportArg] caffe2/torch (#146439) 2025-02-05 22:56:54 +00:00
test_export_mutations.py
test_flat_apply.py Barebones flat_apply HOP (#146060) 2025-02-01 16:17:48 +00:00
test_frame_init.py
test_functions.py [dynamo][fullgraph] Do not skip frame with fullgraph=True (#146527) 2025-02-06 18:56:07 +00:00
test_fx_passes_pre_grad.py [Codemod][AddExplicitStrictExportArg] caffe2/test (#143688) 2024-12-27 07:58:44 +00:00
test_generator.py Raise MutationError if there are side effects when returning generator (#145223) 2025-02-08 22:42:12 +00:00
test_global.py
test_graph_deduplication.py
test_graph_region_tracker.py [reland][attempt2][AMD] Turn on TF32 for aten::mm (#144145) 2025-01-06 00:37:01 +00:00
test_guard_manager.py
test_higher_order_ops.py [Inductor changes] Invoke Quant (#139102) 2025-02-08 19:30:19 +00:00
test_hooks.py
test_input_attr_tracking.py
test_interop.py
test_logging.py [dynamo] clear out traced frames at the start of test_log_traced_frames (#145640) 2025-01-27 20:49:59 +00:00
test_metrics_context.py
test_minifier.py
test_misc.py Set enable_faithful_generator_behavior flag to True (#142513) 2025-02-08 22:42:12 +00:00
test_model_output.py
test_modes.py
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_prim_hop_base.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 [Trace Python Dispatcher] Support FuncTorchInterpreter (#144444) 2025-01-17 02:26:37 +00:00
test_recompile_ux.py
test_recompiles.py
test_reconstruct.py [dynamo][fullgraph] Do not skip frame with fullgraph=True (#146527) 2025-02-06 18:56:07 +00:00
test_reorder_logs.py
test_repros.py [dynamo] check for incompatible configs (#146513) 2025-02-10 00:44:23 +00:00
test_resume.py
test_sdpa.py
test_skip_guard_eval_unsafe.py
test_skip_non_tensor.py
test_sources.py [Codemod][AddExplicitStrictExportArg] caffe2/test (#143688) 2024-12-27 07:58:44 +00:00
test_structured_trace.py add node mapping processing (#146103) 2025-02-01 08:29:29 +00:00
test_subclasses.py PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
test_subgraphs.py
test_torchrec.py PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
test_trace_rules.py PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
test_unspec.py Revert "[dynamo] save/restore system random state more carefully (#145750)" 2025-01-28 20:51:07 +00:00
test_utils.py [dynamo] log recompile reason to dynamo_compile (#146117) 2025-02-03 21:04:04 +00:00
test_verify_correctness.py
test_view.py
utils.py