pytorch/torch/_higher_order_ops
PyTorch MergeBot 1dd6b76914 Revert "[1/N] Remove unused loop variables (#166258)"
This reverts commit 76b2c37045.

Reverted https://github.com/pytorch/pytorch/pull/166258 on behalf of https://github.com/atalman due to breaks test/distributed/test_serialization.py::TestSerialization::test_weights_only [GH job link](https://github.com/pytorch/pytorch/actions/runs/18894311802/job/53929321703) [HUD commit link](76b2c37045) ([comment](https://github.com/pytorch/pytorch/pull/166258#issuecomment-3460964612))
2025-10-29 11:10:37 +00:00
..
__init__.py [dynamo][hop] Introduce Local Map HOP (#161458) 2025-09-17 09:32:38 +00:00
_invoke_quant.py
aoti_call_delegate.py [BE][PYFMT] migrate PYFMT for torch/_[a-h]*/ to ruff format (#144551) 2025-06-25 06:16:06 +00:00
associative_scan.py [xpu][test] Enable more UTs for Intel GPU. (#166047) 2025-10-29 06:25:36 +00:00
auto_functionalize.py Fix pyrefly ignore syntax (#166438) 2025-10-29 00:02:21 +00:00
base_hop.py Fix pyrefly ignore syntax (#166438) 2025-10-29 00:02:21 +00:00
cond.py Fix pyrefly ignore syntax (#166438) 2025-10-29 00:02:21 +00:00
effects.py Fix pyrefly ignore syntax (#166438) 2025-10-29 00:02:21 +00:00
executorch_call_delegate.py [BE][PYFMT] migrate PYFMT for torch/_[a-h]*/ to ruff format (#144551) 2025-06-25 06:16:06 +00:00
flat_apply.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
flex_attention.py Fix pyrefly ignore syntax (#166438) 2025-10-29 00:02:21 +00:00
foreach_map.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
hints_wrap.py [BE][PYFMT] migrate PYFMT for torch/_[a-h]*/ to ruff format (#144551) 2025-06-25 06:16:06 +00:00
invoke_subgraph.py Fix pyrefly ignore syntax (#166438) 2025-10-29 00:02:21 +00:00
local_map.py Fix pyrefly ignore syntax (#166438) 2025-10-29 00:02:21 +00:00
map.py Fix pyrefly ignore syntax (#166438) 2025-10-29 00:02:21 +00:00
out_dtype.py Enable _int_mm on Intel GPU (#157769) 2025-08-02 05:16:01 +00:00
partitioner.py Enable ruff rule E721 (#165162) 2025-10-13 01:48:55 +00:00
run_const_graph.py remove allow-untyped-defs from torch/_higher_order_ops/run_const_graph.py (#157847) 2025-07-12 15:42:12 +00:00
scan.py Fix pyrefly ignore syntax (#166438) 2025-10-29 00:02:21 +00:00
schema.py [2/N] Use "is" in python type comparison (#165142) 2025-10-10 15:36:44 +00:00
strict_mode.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
torchbind.py [BE][2/16] fix typos in torch/ (torch/_*/) (#156312) 2025-07-12 05:47:06 +00:00
triton_kernel_wrap.py Fix pyrefly ignore syntax (#166438) 2025-10-29 00:02:21 +00:00
utils.py Revert "[1/N] Remove unused loop variables (#166258)" 2025-10-29 11:10:37 +00:00
while_loop.py Revert "[1/N] Remove unused loop variables (#166258)" 2025-10-29 11:10:37 +00:00
wrap.py Fix pre-dispatch AC HOP calling convention (#165145) 2025-10-12 02:28:21 +00:00