pytorch/torch/_dynamo/variables
Edward Z. Yang fc7dcb684a Run optimizer tests with fake tensors (#89643)
This is a slight regression: RAdam and Adagrad don't appear to
trace at all under fake tensors.  But I think this is a more accurate
reflection of the current state of affairs.

Along the way fix some problems on the fake tensor path.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>

Pull Request resolved: https://github.com/pytorch/pytorch/pull/89643
Approved by: https://github.com/anjali411
2022-11-24 22:46:49 +00:00
..
__init__.py [dynamo] Port all pytorch/dynamo and test/dynamo pieces over from symbolic-shapes branch (#88768) 2022-11-13 04:50:21 +00:00
base.py [dynamo] mutable local caching to make dynamo faster at tracing mutation (#89170) 2022-11-19 01:47:48 +00:00
builder.py Run optimizer tests with fake tensors (#89643) 2022-11-24 22:46:49 +00:00
builtin.py [Dynamo] Fix several bugs & code refactor in RangeVariable (#89322) 2022-11-23 19:44:48 +00:00
constant.py [dynamo] Port all pytorch/dynamo and test/dynamo pieces over from symbolic-shapes branch (#88768) 2022-11-13 04:50:21 +00:00
dicts.py [dynamo] mutable local caching to make dynamo faster at tracing mutation (#89170) 2022-11-19 01:47:48 +00:00
functions.py [Dynamo] Support typing.Mapping & Support function as argument (#88963) 2022-11-17 06:57:42 +00:00
lists.py [Dynamo] Fix several bugs & code refactor in RangeVariable (#89322) 2022-11-23 19:44:48 +00:00
misc.py [Dynamo] Fix bug of using customized torch.autograd.Function (#89397) 2022-11-24 05:28:58 +00:00
nn_module.py [dynamo] Port all pytorch/dynamo and test/dynamo pieces over from symbolic-shapes branch (#88768) 2022-11-13 04:50:21 +00:00
tensor.py Remove fake_tensors_available (#89637) 2022-11-24 19:28:10 +00:00
torch.py Cond capture with fake tensors actually works; don't raise in this case (#89638) 2022-11-24 22:46:40 +00:00
user_defined.py [Dynamo] Add a dummy profiler to avoid activating real profiler (#88930) 2022-11-16 19:08:49 +00:00