Skip to content

Conversation

Xia-Weiwen
Copy link
Collaborator

Summary
Use inv_scale on CPU to avoid division at runtime to improve performance. Used for SmoothQuant.

Test plan
pytest -sv test/prototype/test_smoothquant.py

Copy link

pytorch-bot bot commented Oct 15, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3176

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

✅ No Failures

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

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 Oct 15, 2025
@Xia-Weiwen Xia-Weiwen added the topic: not user facing Use this tag if you don't want this PR to show up in release notes label Oct 15, 2025
@Xia-Weiwen Xia-Weiwen marked this pull request as ready for review October 16, 2025 02:11
@Xia-Weiwen Xia-Weiwen requested a review from jerryzh168 October 16, 2025 02:12
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. topic: not user facing Use this tag if you don't want this PR to show up in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant