---
id: pr-pytorch-166910
repo: pytorch/pytorch
pr: 166910
title: '[inductor] don''t try to reorder loops for template'
author: pytorchbot
date: '2025-11-05'
url: https://github.com/pytorch/pytorch/pull/166910
source_category: upstream-code
architectures:
- sm100
tags:
- gemm
techniques: []
hardware_features: []
kernel_types:
- gemm
languages:
- python
captured_at: '2026-04-17'
status: merged
merge_sha: fc5612a499b005dedd60bf898e448cdbac56f64b
inclusion_reason: kernel file changes
changed_paths:
- test/inductor/test_loop_ordering.py
- torch/_inductor/scheduler.py
head_ref_oid: 3136815c7d9938356e6bf2e80bb50f2829c422b1
artifact_dir: evidence/pull-bundles/pytorch/gh-166910
---
# [inductor] don't try to reorder loops for template

- Repository: `pytorch/pytorch`
- PR: [166910](https://github.com/pytorch/pytorch/pull/166910)
- Decision: `kernel file changes`
- Reason: kernel file changes

## Changed Paths

- `test/inductor/test_loop_ordering.py`
- `torch/_inductor/scheduler.py`

## Evidence Bundle

`evidence/pull-bundles/pytorch/gh-166910`
