pytorch/torch/autograd
PyTorch MergeBot f9b4856989 Revert "[pytree] add APIs to determine a class is a namedtuple or PyStructSequence (#113257)"
This reverts commit c95a6b416b.

Reverted https://github.com/pytorch/pytorch/pull/113257 on behalf of https://github.com/ZainRizvi due to Sorry but this is breaking internally. @zou3519 can you please help land this internally? See the sigmoid tests in D71198793 for details. To validate the fixes internally, you can follow the instructions here: https://fburl.com/fixing-ghfirst-reverts ([comment](https://github.com/pytorch/pytorch/pull/113257#issuecomment-2725982539))
2025-03-14 23:13:34 +00:00
..
_functions Remove unused Python variables in torch/[_-a]* (#133492) 2024-12-12 17:39:14 +00:00
__init__.py PEP585: More UP006 fixes (#146392) 2025-02-20 06:18:13 +00:00
anomaly_mode.py
forward_ad.py Revert "[pytree] add APIs to determine a class is a namedtuple or PyStructSequence (#113257)" 2025-03-14 23:13:34 +00:00
function.py [ca] remove private API: _compiled_autograd_should_lift (#146720) 2025-02-10 04:29:57 +00:00
functional.py [5/N] Apply Ruff fixes and pyupgrade to Python 3.9 (#144205) 2025-01-15 04:00:47 +00:00
grad_mode.py PEP585: Add noqa to necessary tests (#146391) 2025-02-12 15:29:50 +00:00
gradcheck.py [5/N] Apply Ruff fixes and pyupgrade to Python 3.9 (#144205) 2025-01-15 04:00:47 +00:00
graph.py Fix allow_mutation_on_saved_tensors for inplace foreach (#145520) 2025-01-25 00:58:03 +00:00
profiler_legacy.py Remove unused Python variables in torch/[_-a]* (#133492) 2024-12-12 17:39:14 +00:00
profiler_util.py Add overload names to profiler trace (#143114) 2025-03-05 01:00:29 +00:00
profiler.py [Profiler] Add profiler activity for HPU devices (#148182) 2025-03-05 01:37:48 +00:00
variable.py