Skip to content

Fix the math in the FuseMulTensorIntoQuantPass. #11946

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2025

Conversation

eigen-k
Copy link
Contributor

@eigen-k eigen-k commented Jun 25, 2025

Summary: The new scale value was calculated incorrectly, fixing that with this diff. See the details of the new scale calculation in the comments in the pass.

Differential Revision: D77267667

Copy link

pytorch-bot bot commented Jun 25, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit bf31998 with merge base 083663b (image):
💚 Looks good so far! There are no failures yet. 💚

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

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Jun 25, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77267667

@eigen-k eigen-k added the release notes: none Do not include this in the release notes label Jun 25, 2025
@eigen-k eigen-k force-pushed the export-D77267667 branch from 4b99590 to 3feb79d Compare June 25, 2025 23:18
eigen-k added a commit to eigen-k/executorch that referenced this pull request Jun 25, 2025
Summary:

The new scale value was calculated incorrectly, fixing that with this diff. See the details of the new scale calculation in the comments in the pass.

Differential Revision: D77267667
eigen-k added a commit to eigen-k/executorch that referenced this pull request Jun 25, 2025
Summary:

The new scale value was calculated incorrectly, fixing that with this diff. See the details of the new scale calculation in the comments in the pass.

Differential Revision: D77267667
@eigen-k eigen-k force-pushed the export-D77267667 branch from 3feb79d to a207d64 Compare June 25, 2025 23:20
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77267667

eigen-k added a commit to eigen-k/executorch that referenced this pull request Jun 25, 2025
Summary:
Pull Request resolved: pytorch#11946

The new scale value was calculated incorrectly, fixing that with this diff. See the details of the new scale calculation in the comments in the pass.

Differential Revision: D77267667
@eigen-k eigen-k force-pushed the export-D77267667 branch from a207d64 to 05dc8a6 Compare June 25, 2025 23:21
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77267667

eigen-k added a commit to eigen-k/executorch that referenced this pull request Jun 25, 2025
Summary:
Pull Request resolved: pytorch#11946

The new scale value was calculated incorrectly, fixing that with this diff. See the details of the new scale calculation in the comments in the pass.

Differential Revision: D77267667
@eigen-k eigen-k force-pushed the export-D77267667 branch 2 times, most recently from 9a4fbe5 to d9dc517 Compare June 26, 2025 21:29
eigen-k added a commit to eigen-k/executorch that referenced this pull request Jun 26, 2025
Summary:

The new scale value was calculated incorrectly, fixing that with this diff. See the details of the new scale calculation in the comments in the pass.

Differential Revision: D77267667
@eigen-k eigen-k force-pushed the export-D77267667 branch from d9dc517 to b4b395f Compare June 26, 2025 21:34
eigen-k added a commit to eigen-k/executorch that referenced this pull request Jun 26, 2025
Summary:

The new scale value was calculated incorrectly, fixing that with this diff. See the details of the new scale calculation in the comments in the pass.

Reviewed By: abeakkas

Differential Revision: D77267667
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77267667

@eigen-k eigen-k force-pushed the export-D77267667 branch from b4b395f to ce750b8 Compare June 26, 2025 21:38
eigen-k added a commit to eigen-k/executorch that referenced this pull request Jun 26, 2025
Summary:
Pull Request resolved: pytorch#11946

The new scale value was calculated incorrectly, fixing that with this diff. See the details of the new scale calculation in the comments in the pass.

Reviewed By: abeakkas

Differential Revision: D77267667
@eigen-k eigen-k force-pushed the export-D77267667 branch from ce750b8 to e2bca18 Compare June 26, 2025 21:50
eigen-k added a commit to eigen-k/executorch that referenced this pull request Jun 26, 2025
Summary:

The new scale value was calculated incorrectly, fixing that with this diff. See the details of the new scale calculation in the comments in the pass.

Reviewed By: abeakkas

Differential Revision: D77267667
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77267667

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77267667

eigen-k added a commit to eigen-k/executorch that referenced this pull request Jun 26, 2025
Summary:
Pull Request resolved: pytorch#11946

The new scale value was calculated incorrectly, fixing that with this diff. See the details of the new scale calculation in the comments in the pass.

Reviewed By: abeakkas

Differential Revision: D77267667
@eigen-k eigen-k force-pushed the export-D77267667 branch from e2bca18 to a939402 Compare June 26, 2025 21:52
@eigen-k eigen-k force-pushed the export-D77267667 branch from a939402 to c8869f7 Compare June 30, 2025 17:57
eigen-k added a commit to eigen-k/executorch that referenced this pull request Jun 30, 2025
Summary:

The new scale value was calculated incorrectly, fixing that with this diff. See the details of the new scale calculation in the comments in the pass.

Reviewed By: zonglinpeng, abeakkas

Differential Revision: D77267667
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77267667

Summary:

The new scale value was calculated incorrectly, fixing that with this diff. See the details of the new scale calculation in the comments in the pass.

Reviewed By: zonglinpeng, abeakkas

Differential Revision: D77267667
@eigen-k eigen-k force-pushed the export-D77267667 branch from c8869f7 to bf31998 Compare June 30, 2025 17:58
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77267667

@facebook-github-bot facebook-github-bot merged commit 37ce7de into pytorch:main Jun 30, 2025
97 of 98 checks passed
Tanish2101 pushed a commit to Tanish2101/executorch that referenced this pull request Jul 9, 2025
Differential Revision: D77267667

Pull Request resolved: pytorch#11946
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 release notes: none Do not include this in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants