pytorch/torch/_dynamo/variables
Michael Lazos e6909f6ccc [Dynamo] Fix for tuple construction from tuple iterators (#97862)
Fixes #93405

In short - when calling the builtin function `Tuple` on a list variable we added a list length guard. This paired with converting tuple iterators to a ListIteratorVariable resulted in this guard being improperly added.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/97862
Approved by: https://github.com/yanboliang, https://github.com/jansel
2023-03-29 19:20:05 +00:00
..
__init__.py Rename DynamicShapeVariable to SymNodeVariable cause thats what it is (#94152) 2023-02-08 10:41:10 +00:00
base.py [BE] [2/3] Rewrite super() calls in functorch and torch (#94588) 2023-02-10 21:16:33 +00:00
builder.py [Dynamo] Fix for tuple construction from tuple iterators (#97862) 2023-03-29 19:20:05 +00:00
builtin.py [Dynamo] Fix for tuple construction from tuple iterators (#97862) 2023-03-29 19:20:05 +00:00
constant.py [BE] [2/3] Rewrite super() calls in functorch and torch (#94588) 2023-02-10 21:16:33 +00:00
dicts.py [dynamo] Fix OrderedDict reconstruction bytecode (#95800) 2023-03-01 23:39:09 +00:00
functions.py [Dynamo] User defined functions support torch & builtin functions as default arguments (#96563) 2023-03-13 08:28:52 +00:00
lists.py [Dynamo] Fix for tuple construction from tuple iterators (#97862) 2023-03-29 19:20:05 +00:00
misc.py [Dynamo] Support torch.{cuda/cpu}.amp.autocast (#95416) 2023-03-10 21:48:08 +00:00
nn_module.py Make dynamo-FSDP skip guards (#97463) 2023-03-28 04:04:34 +00:00
tensor.py Dynamo size dim kwargs (#97450) 2023-03-27 15:36:46 +00:00
torch.py [Dynamo] torch.Generator state should have a source and be reconstructed properly (#97403) 2023-03-29 04:31:23 +00:00
user_defined.py [Dynamo] Remove torch.autograd.profiler.profile workaround in UserDefined (#95504) 2023-02-25 05:15:01 +00:00