pytorch/torch/_dynamo
rzou adb65682af [HOP] Use user directed names for variables where possible (#130271)
Afaict the previous check was too strict. Removing it passes all the
mutation tests (mutation checks happen via the TensorVariable's mutable_local).

Test Plan:
- tests

Pull Request resolved: https://github.com/pytorch/pytorch/pull/130271
Approved by: https://github.com/Chillee, https://github.com/ydwu4
ghstack dependencies: #130255, #130268
2024-07-09 19:42:52 +00:00
..
backends [runtime asserts] deduplicate runtime asserts & CSE (#128599) 2024-07-07 20:10:14 +00:00
repro [Brian's PR #128754] Use torch.ops.fsdp.set_ for FSDP2 storage resize; dont functionalize resize_, set_, split_with_sizes_copy.out (#129203) 2024-06-23 06:07:19 +00:00
variables [HOP] Use user directed names for variables where possible (#130271) 2024-07-09 19:42:52 +00:00
__init__.py [dynamo][aot autograd] Silently disable default saved tensor hooks during tracing (#123196) 2024-06-14 20:28:08 +00:00
_trace_wrapped_higher_order_op.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
bytecode_analysis.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
bytecode_transformation.py [3.13, dynamo] codegen PUSH_NULL when callable is codegen'd (#129172) 2024-06-22 17:25:23 +00:00
cache_size.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
callback.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
code_context.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
codegen.py [3.13, dynamo] codegen PUSH_NULL when callable is codegen'd (#129172) 2024-06-22 17:25:23 +00:00
compiled_autograd.py [compiled autograd] move inputs to cuda with non_blocking=True (#129181) 2024-06-21 08:16:33 +00:00
comptime.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
config.py [Dynamo] Add config to skip/inline torchrec (#129912) 2024-07-03 00:14:51 +00:00
convert_frame.py Enhancements to recompiles logs (#130043) 2024-07-09 03:40:56 +00:00
create_parameter_op.py [RELAND2][dynamo][nn-modules] Trace through nn.Module dunder methods for UnspecializedNNModule (#126578) 2024-06-12 04:09:23 +00:00
current_scope_id.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
debug_utils.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
decorators.py Add mark_unbacked (#128638) 2024-06-17 23:39:48 +00:00
device_interface.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
eval_frame.py [export] construct empty graph when there's no tensor computation (#129541) 2024-07-04 00:26:17 +00:00
exc.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
external_utils.py [Traceable FSDP][Compiled Autograd] Add queue_callback() support (#126366) 2024-06-18 06:22:14 +00:00
funcname_cache.py [dynamo] better file open method in funcname_cache (#125435) 2024-05-06 20:55:15 +00:00
guards.py Enhancements to recompiles logs (#130043) 2024-07-09 03:40:56 +00:00
hooks.py
logging.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
mutation_guard.py [RELAND2][dynamo][nn-modules] Trace through nn.Module dunder methods for UnspecializedNNModule (#126578) 2024-06-12 04:09:23 +00:00
output_graph.py [3.13, dynamo] codegen PUSH_NULL when callable is codegen'd (#129172) 2024-06-22 17:25:23 +00:00
polyfill.py [dynamo] Use polyfill to trace through the attributes of torch.jit.* and lru_cache_wrapper (#128336) 2024-06-21 07:44:44 +00:00
profiler.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
replay_record.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
resume_execution.py [3.13, dynamo] codegen PUSH_NULL when callable is codegen'd (#129172) 2024-06-22 17:25:23 +00:00
side_effects.py [3.13, dynamo] codegen PUSH_NULL when callable is codegen'd (#129172) 2024-06-22 17:25:23 +00:00
source.py Guard on inner tensor names for traceable wrapper subclasses (#129618) 2024-06-28 16:30:25 +00:00
symbolic_convert.py [dynamo] Graph break on random_ op (#130222) 2024-07-08 06:10:24 +00:00
tensor_version_op.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
test_case.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
test_minifier_common.py Flip default value for mypy disallow_untyped_defs [1/11] (#127838) 2024-06-08 18:16:33 +00:00
testing.py Enhancements to recompiles logs (#130043) 2024-07-09 03:40:56 +00:00
trace_rules.py [Dynamo] Add config to skip/inline torchrec (#129912) 2024-07-03 00:14:51 +00:00
types.py Enhancements to recompiles logs (#130043) 2024-07-09 03:40:56 +00:00
utils.py [dynamo][user-defined] Simplify and improve scope of UserDefinedObject var_getattr (#130169) 2024-07-08 04:10:56 +00:00