Skip to content

Enable Q/DQ opt with multiple inputs (#18752)#18752

Open
boomitsnoom wants to merge 1 commit intopytorch:mainfrom
boomitsnoom:export-D98233766
Open

Enable Q/DQ opt with multiple inputs (#18752)#18752
boomitsnoom wants to merge 1 commit intopytorch:mainfrom
boomitsnoom:export-D98233766

Conversation

@boomitsnoom
Copy link
Copy Markdown
Contributor

@boomitsnoom boomitsnoom commented Apr 7, 2026

Summary:
This diff augments the QuantizedInputWrapper to support multiple inputs, and quantize one of them.

Example of graph before fusion:
{F1987256732}

Example of graph after fusion:
{F1987256611}

Reviewed By: ethansfng

Differential Revision: D98233766

Pulled By: boomitsnoom

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Apr 7, 2026

🔗 Helpful Links

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

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

❌ 2 New Failures, 1 Cancelled Job, 3 Unrelated Failures

As of commit d45288d with merge base 0af4992 (image):

NEW FAILURES - The following jobs have failed:

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

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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 Apr 7, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 7, 2026

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
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented Apr 8, 2026

@boomitsnoom has imported this pull request. If you are a Meta employee, you can view this in D98233766.

@meta-codesync meta-codesync Bot changed the title Enable Q/DQ opt with multiple inputs Enable Q/DQ opt with multiple inputs (#18752) Apr 14, 2026
boomitsnoom added a commit to boomitsnoom/executorch that referenced this pull request Apr 14, 2026
Summary:
This diff augments the QuantizedInputWrapper to support multiple inputs, and quantize one of them.

Example of graph before fusion:
{F1987256732} 


Example of graph after fusion:
{F1987256611}

Reviewed By: ethansfng

Differential Revision: D98233766

Pulled By: boomitsnoom
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented Apr 14, 2026

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

boomitsnoom added a commit to boomitsnoom/executorch that referenced this pull request Apr 16, 2026
Summary:
This diff augments the QuantizedInputWrapper to support multiple inputs, and quantize one of them.

Example of graph before fusion:
{F1987256732} 


Example of graph after fusion:
{F1987256611}

Reviewed By: ethansfng

Differential Revision: D98233766

Pulled By: boomitsnoom
boomitsnoom added a commit to boomitsnoom/executorch that referenced this pull request Apr 17, 2026
Summary:
This diff augments the QuantizedInputWrapper to support multiple inputs, and quantize one of them.

Example of graph before fusion:
{F1987256732} 


Example of graph after fusion:
{F1987256611}

Reviewed By: ethansfng

Differential Revision: D98233766

Pulled By: boomitsnoom
boomitsnoom added a commit to boomitsnoom/executorch that referenced this pull request Apr 17, 2026
Summary:
This diff augments the QuantizedInputWrapper to support multiple inputs, and quantize one of them.

Example of graph before fusion:
{F1987256732}

Example of graph after fusion:
{F1987256611}

Reviewed By: ethansfng

Differential Revision: D98233766

Pulled By: boomitsnoom
boomitsnoom added a commit to boomitsnoom/executorch that referenced this pull request Apr 17, 2026
Summary:
This diff augments the QuantizedInputWrapper to support multiple inputs, and quantize one of them.

Example of graph before fusion:
{F1987256732}

Example of graph after fusion:
{F1987256611}

Reviewed By: ethansfng

Differential Revision: D98233766

Pulled By: boomitsnoom
@boomitsnoom boomitsnoom force-pushed the export-D98233766 branch 2 times, most recently from 2afc6ed to d67b485 Compare April 20, 2026 17:14
boomitsnoom added a commit to boomitsnoom/executorch that referenced this pull request Apr 20, 2026
Summary:
This diff augments the QuantizedInputWrapper to support multiple inputs, and quantize one of them.

Example of graph before fusion:
{F1987256732} 


Example of graph after fusion:
{F1987256611}

Reviewed By: ethansfng

Differential Revision: D98233766

Pulled By: boomitsnoom
boomitsnoom added a commit to boomitsnoom/executorch that referenced this pull request Apr 20, 2026
Summary:
This diff augments the QuantizedInputWrapper to support multiple inputs, and quantize one of them.

Example of graph before fusion:
{F1987256732}

Example of graph after fusion:
{F1987256611}

Reviewed By: ethansfng

Differential Revision: D98233766

Pulled By: boomitsnoom
boomitsnoom added a commit to boomitsnoom/executorch that referenced this pull request Apr 20, 2026
Summary:
This diff augments the QuantizedInputWrapper to support multiple inputs, and quantize one of them.

Example of graph before fusion:
{F1987256732} 


Example of graph after fusion:
{F1987256611}

Reviewed By: ethansfng

Differential Revision: D98233766

Pulled By: boomitsnoom
boomitsnoom added a commit to boomitsnoom/executorch that referenced this pull request Apr 20, 2026
Summary:
This diff augments the QuantizedInputWrapper to support multiple inputs, and quantize one of them.

Example of graph before fusion:
{F1987256732}

Example of graph after fusion:
{F1987256611}

Reviewed By: ethansfng

Differential Revision: D98233766

Pulled By: boomitsnoom
boomitsnoom added a commit to boomitsnoom/executorch that referenced this pull request Apr 20, 2026
Summary:
This diff augments the QuantizedInputWrapper to support multiple inputs, and quantize one of them.

Example of graph before fusion:
{F1987256732}

Example of graph after fusion:
{F1987256611}

Reviewed By: ethansfng

Differential Revision: D98233766

Pulled By: boomitsnoom
boomitsnoom added a commit to boomitsnoom/executorch that referenced this pull request Apr 20, 2026
Summary:
This diff augments the QuantizedInputWrapper to support multiple inputs, and quantize one of them.

Example of graph before fusion:
{F1987256732} 


Example of graph after fusion:
{F1987256611}

Reviewed By: ethansfng

Differential Revision: D98233766

Pulled By: boomitsnoom
Summary:
This diff augments the QuantizedInputWrapper to support multiple inputs, and quantize one of them.

Example of graph before fusion:
{F1987256732}

Example of graph after fusion:
{F1987256611}

Reviewed By: ethansfng

Differential Revision: D98233766

Pulled By: boomitsnoom
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. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants