Skip to content

Conversation

andrewor14
Copy link
Contributor

Summary: This config actually works for both preshuffled and plain int4 QAT, so we remove "Preshuffled" from the name.

BC-breaking notes:

Int4WeightPreshuffledFakeQuantizeConfig -> Int4WeightFakeQuantizeConfig
Int4WeightPreshuffledFakeQuantizer -> Int4WeightFakeQuantizer

Test Plan:

python test/quantization/test_qat.py

Copy link

pytorch-bot bot commented Sep 15, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 8d197f4 with merge base ea8c00f (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 Sep 15, 2025
@andrewor14 andrewor14 added the topic: bc-breaking Use this tag if this PR breaks backward compatibility label Sep 15, 2025
**Summary:** This config actually works for both preshuffled and
plain int4 QAT, so we remove "Preshuffled" from the name.

BC-breaking notes:
```
Int4WeightPreshuffledFakeQuantizeConfig -> Int4WeightFakeQuantizeConfig
Int4WeightPreshuffledFakeQuantizer -> Int4WeightFakeQuantizer
```

**Test Plan:**
```
python test/quantization/test_qat.py
```
@andrewor14 andrewor14 force-pushed the rename-int4-qat-config branch from f48e988 to 8d197f4 Compare September 15, 2025 16:52
@andrewor14 andrewor14 merged commit 58c3064 into main Sep 16, 2025
18 checks passed
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: bc-breaking Use this tag if this PR breaks backward compatibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants