pytorch/torch/_dynamo
Yanbo Liang ab5385fc50 [Dynamo][6.3/N] Further cleanup torch.py (#114669)
A follow-up PR to clean up what I found during the refactor of torch.py

Pull Request resolved: https://github.com/pytorch/pytorch/pull/114669
Approved by: https://github.com/jansel
2023-12-01 04:08:29 +00:00
..
backends Revert "[dynamo / DDP] - lazily compile submodules - to propagate real tensor strides to backend compiler (#114154)" 2023-11-29 18:43:17 +00:00
repro Prefer e.is_number over not e.free_symbols in SymPy (#112688) 2023-11-06 20:05:13 +00:00
variables [Dynamo][6.3/N] Further cleanup torch.py (#114669) 2023-12-01 04:08:29 +00:00
__init__.py [dynamo, docs] update dynamo backend registration docs (#114820) 2023-11-30 21:41:05 +00:00
_trace_wrapped_higher_order_op.py Support a simple subset of functions as backward hooks on intermediate tensors (#109537) 2023-10-11 01:35:37 +00:00
allowed_functions.py [Dynamo][6.2/N] Dump the in graph function list(~2600 ops) and add unit tests. (#114196) 2023-11-29 05:09:48 +00:00
bytecode_analysis.py [dynamo] Enable typechecking for bytecode_analysis.py (#112972) 2023-11-08 21:17:45 +00:00
bytecode_transformation.py [dynamo] Enable typechecking for bytecode_transformation.py (#112561) 2023-11-04 19:36:27 +00:00
cache_size.py [dynamo] Cache size calc for differing config (#111300) 2023-11-17 09:59:58 +00:00
code_context.py [dynamo] preserve some FX node metadata of GraphModules (#107067) 2023-09-15 23:29:14 +00:00
codegen.py Revert "Support tensors as Dict keys (#111196)" 2023-11-15 23:08:00 +00:00
compiled_autograd.py On grad access, check if grad has changed and update stored example grad as needed (#112811) 2023-11-08 05:45:00 +00:00
comptime.py [dynamo] Enable typechecking for comptime.py (#112999) 2023-11-08 21:17:45 +00:00
config.py [Dynamo][6.3/N] Further cleanup torch.py (#114669) 2023-12-01 04:08:29 +00:00
convert_frame.py add testcase when bytecode hook changes the bytecode; fix code map (#114487) 2023-11-28 22:14:57 +00:00
current_scope_id.py [HigherOrderOp] Fall back on all new side effects in speculate_subgraph (#104077) 2023-06-28 14:20:37 +00:00
debug_utils.py Delete a bunch of type-ignores (#113990) 2023-11-18 02:48:38 +00:00
decorators.py Drop dynamo-specific type hints on Tensor in favor of type-ignores (#113720) 2023-11-16 01:54:00 +00:00
device_interface.py [dynamo] Enable typechecking for device_interface.py (#112974) 2023-11-08 21:17:45 +00:00
eval_frame.py [export] Add meta to params (#114622) 2023-11-28 07:40:15 +00:00
exc.py [dynamo] Enable typechecking for utils.py (#112971) 2023-11-08 21:17:45 +00:00
external_utils.py Compiled autograd (#103822) 2023-07-24 21:12:05 +00:00
funcname_cache.py [dynamo] Enable typechecking for funcname_cache.py (#112031) 2023-10-26 04:54:16 +00:00
guards.py Remove yet more type-ignores in dynamo/inductor (#114684) 2023-11-28 22:09:38 +00:00
hooks.py [dynamo] Enable typechecking for hooks.py (#112565) 2023-11-04 19:37:06 +00:00
logging.py
mutation_guard.py [dynamo] Make {mutation_guard,symbolic_convert,side_effects}.py pass follow_imports typechecking (#113610) 2023-11-16 01:54:00 +00:00
output_graph.py Remove yet more type-ignores in dynamo/inductor (#114684) 2023-11-28 22:09:38 +00:00
polyfill.py [dynamo] Added support for math ops on ints with dynamic shapes (#114507) 2023-11-30 14:11:57 +00:00
profiler.py [dynamo] Enable typechecking for profiler.py (#112970) 2023-11-08 21:17:45 +00:00
replay_record.py [dynamo] fixed record_replayer issue when TORCH_COMPILE_DEBUG=1 (#114623) 2023-11-28 02:40:07 +00:00
resume_execution.py [dynamo] Enable typechecking for resume_execution.py (#112564) 2023-11-04 19:37:06 +00:00
side_effects.py [dynamo] Make {mutation_guard,symbolic_convert,side_effects}.py pass follow_imports typechecking (#113610) 2023-11-16 01:54:00 +00:00
skipfiles.py [Dynamo] Support torch.cuda.amp.custom_fwd/custom_bwd by inlining (#114891) 2023-12-01 01:23:51 +00:00
source.py Revert "Support tensors as Dict keys (#111196)" 2023-11-15 23:08:00 +00:00
symbolic_convert.py [dynamo] Guard on HAS_GRAPH_BREAKS if graph breaks are present (i.e. cache miss if compiled object requires nopython) (#114073) 2023-11-20 19:32:03 +00:00
test_case.py [dynamo] Refactor handling of state in context managers (#112939) 2023-11-05 03:10:30 +00:00
test_minifier_common.py [BE]: ruff apply rule PLW1510 to find silent subprocess errors (#113644) 2023-11-14 20:59:40 +00:00
testing.py Revert "[dynamo] Refactor test cross importing (#113242)" 2023-11-15 01:53:07 +00:00
trace_rules.py [Dynamo][6.3/N] Further cleanup torch.py (#114669) 2023-12-01 04:08:29 +00:00
types.py Delete a bunch of type-ignores (#113990) 2023-11-18 02:48:38 +00:00
utils.py [Dynamo][6.3/N] Further cleanup torch.py (#114669) 2023-12-01 04:08:29 +00:00