---
id: pr-pytorch-150145
repo: pytorch/pytorch
pr: 150145
title: Dont exclude constant_pad_nd in prologue fusion
author: pytorchbot
date: '2025-04-03'
url: https://github.com/pytorch/pytorch/pull/150145
source_category: upstream-code
architectures:
- sm100
tags:
- kernel-fusion
techniques:
- kernel-fusion
hardware_features: []
kernel_types: []
languages:
- python
captured_at: '2026-04-27'
status: merged
merge_sha: 6569576c4ecfb9b094a3b8a0b3db7c6e8b48f49d
inclusion_reason: kernel file changes
changed_paths:
- test/inductor/test_max_autotune.py
- torch/_inductor/analyze_preserves_zero_mask.py
- torch/_inductor/ir.py
- torch/_inductor/scheduler.py
head_ref_oid: 6b69243c420a22247f5c0f5dfcac78d02900896b
artifact_dir: evidence/pull-bundles/pytorch/gh-150145
---
# Dont exclude constant_pad_nd in prologue fusion

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

## Changed Paths

- `test/inductor/test_max_autotune.py`
- `torch/_inductor/analyze_preserves_zero_mask.py`
- `torch/_inductor/ir.py`
- `torch/_inductor/scheduler.py`

## Evidence Bundle

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