Skip to content

Preserve full_like dtype in AOT passes (#21560) - #21560

Open
ethansfng wants to merge 1 commit into
pytorch:mainfrom
ethansfng:export-D114433185
Open

Preserve full_like dtype in AOT passes (#21560)#21560
ethansfng wants to merge 1 commit into
pytorch:mainfrom
ethansfng:export-D114433185

Conversation

@ethansfng

@ethansfng ethansfng commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary:

Preserve the result dtype when ReplaceFullLikeWithFullPass rewrites aten.full_like to aten.full, avoiding silent dtype changes in exported graphs.

Add regression coverage and keep the fbcode and xplat mirrors synchronized.

Reviewed By: abeakkas

Differential Revision: D114433185

@pytorch-bot

pytorch-bot Bot commented Aug 3, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21560

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 Cancelled Job, 3 Pending

As of commit f3d1712 with merge base 454f979 (image):

CANCELLED JOB - The following job was cancelled. Please retry:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 3, 2026
@meta-codesync

meta-codesync Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

@ethansfng has exported this pull request. If you are a Meta employee, you can view the originating Diff in D114433185.

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@meta-codesync meta-codesync Bot changed the title Preserve full_like dtype in AOT passes Preserve full_like dtype in AOT passes (#21560) Aug 4, 2026
ethansfng added a commit to ethansfng/executorch that referenced this pull request Aug 4, 2026
Summary:

Preserve the result dtype when `ReplaceFullLikeWithFullPass` rewrites `aten.full_like` to `aten.full`, avoiding silent dtype changes in exported graphs.

Add regression coverage and keep the fbcode and xplat mirrors synchronized.

Differential Revision: D114433185
ethansfng added a commit to ethansfng/executorch that referenced this pull request Aug 4, 2026
Summary:

Preserve the result dtype when `ReplaceFullLikeWithFullPass` rewrites `aten.full_like` to `aten.full`, avoiding silent dtype changes in exported graphs.

Add regression coverage and keep the fbcode and xplat mirrors synchronized.

Reviewed By: abeakkas

Differential Revision: D114433185
ethansfng added a commit to ethansfng/executorch that referenced this pull request Aug 4, 2026
Summary:

Preserve the result dtype when `ReplaceFullLikeWithFullPass` rewrites `aten.full_like` to `aten.full`, avoiding silent dtype changes in exported graphs.

Add regression coverage and keep the fbcode and xplat mirrors synchronized.

Reviewed By: abeakkas

Differential Revision: D114433185
Summary:

Preserve the result dtype when `ReplaceFullLikeWithFullPass` rewrites `aten.full_like` to `aten.full`, avoiding silent dtype changes in exported graphs.

Add regression coverage and keep the fbcode and xplat mirrors synchronized.

Reviewed By: abeakkas

Differential Revision: D114433185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants