pytorch/torch/_dynamo/variables
Arsh Zahed 9e491f753e [dynamo] Remove extra if statement in builder _wrap (#161215)
Removes a redundant if statement. Does not impact logic so no test changes needed.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/161215
Approved by: https://github.com/StrongerXi
2025-08-22 08:56:06 +00:00
..
__init__.py [itertools] Implement itertools.cycle with a polyfill (#159102) 2025-07-31 23:28:57 +00:00
base.py [dynamo][guards] More small guard optimizations (#159345) 2025-07-29 18:36:49 +00:00
builder.py [dynamo] Remove extra if statement in builder _wrap (#161215) 2025-08-22 08:56:06 +00:00
builtin.py [dynamo] Support builtin complex with constant args (#160799) 2025-08-19 20:38:54 +00:00
constant.py Raise exception in Dynamo if op fails in the interpreter (#158661) 2025-07-23 22:31:51 +00:00
ctx_manager.py Add support for tracing vmap in pre-dispatch export (#154650) 2025-08-20 19:31:07 +00:00
dicts.py [Dynamo] make HOPs hashable (#159910) 2025-08-06 04:02:17 +00:00
distributed.py [dynamo][dist] trace DeviceMesh's get_local_rank and get_rank as constants (#160805) 2025-08-20 01:12:24 +00:00
functions.py [dynamo] [guard] Add caching for inside torch.compile.disable function to avoid unnecessary recompilation. (#160934) 2025-08-19 06:01:26 +00:00
higher_order_ops.py [hop][exc] make UncapturedHigherOrderOpError print user code and avoid re-raise (#159296) 2025-08-11 22:48:10 +00:00
iter.py Fixes for collections.NamedTuple (#159367) 2025-08-18 17:32:59 +00:00
lazy.py [dynamo] Avoid recompiling over unused objects (#156891) 2025-07-09 20:14:34 +00:00
lists.py Fixes for collections.NamedTuple (#159367) 2025-08-18 17:32:59 +00:00
misc.py [dynamo] propagate tensor metadata on Tensor.__setitem__(tensor) (#161036) 2025-08-22 04:43:22 +00:00
nn_module.py [dynamo] Trace nn.Module __delattr__ (#159969) 2025-08-06 23:43:19 +00:00
optimizer.py Allow bypasses for Precompile when guards, etc. cannot be serialized (#160902) 2025-08-21 18:20:42 +00:00
script_object.py [dynamo] Replace unimplemented with unimplemented_v2 in torch/_dynamo/variables/script_object.py (#159343) 2025-08-01 21:30:41 +00:00
sdpa.py [Dynamo][Misc] Apply typing hints for codegen (#150289) 2025-04-04 14:26:22 +00:00
tensor.py [dynamo] propagate tensor metadata on Tensor.__setitem__(tensor) (#161036) 2025-08-22 04:43:22 +00:00
torch_function.py [dynamo] Be consistent with UserMethodVariable source (#160155) 2025-08-09 04:16:14 +00:00
torch.py [dynamo] Fix graph break on calling functions decorated with special context manager (#160703) 2025-08-18 20:33:45 +00:00
user_defined.py [dynamo] Fix graph break on calling functions decorated with special context manager (#160703) 2025-08-18 20:33:45 +00:00