Skip to content

Conversation

@jerryzh168
Copy link
Contributor

Summary:
#2082

Test Plan:
pytest test/quantization/pt2e

Reviewers:

Subscribers:

Tasks:

Tags:

@pytorch-bot
Copy link

pytorch-bot bot commented Apr 19, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ No Failures

As of commit 156929a with merge base 34421b1 (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 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 19, 2025
@jerryzh168 jerryzh168 requested a review from metascroy April 19, 2025 05:52
@jerryzh168 jerryzh168 added the topic: not user facing Use this tag if you don't want this PR to show up in release notes label Apr 19, 2025
Summary:
pytorch#2082

Test Plan:
pytest test/quantization/pt2e

Reviewers:

Subscribers:

Tasks:

Tags:
@jerryzh168 jerryzh168 changed the title [1/n] Move pt2e/pt2e/utils.py to pt2e/utils.py [1/n] Move a few utils under pt2e/pt2e/ to pt2e/ Apr 19, 2025
_move_exported_model_to_train as move_exported_model_to_train,
)

from .fake_quantize import (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add default_dynamic_fake_quant to top level?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, will do in a separate PR, my plan is to first flatten pt2e/pt2e and then make sure we have everything in top level

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me do it in next PR

@jerryzh168 jerryzh168 merged commit c52dcd4 into pytorch:main Apr 21, 2025
18 checks passed
liangel-02 pushed a commit that referenced this pull request Aug 25, 2025
* [1/n] Move pt2e/pt2e/utils.py (and graph, export, qat utils) to pt2e/

Summary:
#2082

Test Plan:
pytest test/quantization/pt2e

Reviewers:

Subscribers:

Tasks:

Tags:

* fix
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.

3 participants