Skip to content

Remove group_size arg in Float8DynamicActivationInt4WeightConfig #2779

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
Aug 18, 2025

Conversation

jerryzh168
Copy link
Contributor

Summary:
Fixes: #2763

Test Plan:
python test/quantization/quantize_/workflows/int4/test_int4_preshuffled_tensor.py

Reviewers:

Subscribers:

Tasks:

Tags:

Summary:
Fixes: pytorch#2763

Test Plan:
python test/quantization/quantize_/workflows/int4/test_int4_preshuffled_tensor.py

Reviewers:

Subscribers:

Tasks:

Tags:
Copy link

pytorch-bot bot commented Aug 15, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 5013a27 with merge base 9e3758d (image):
💚 Looks good so far! There are no failures yet. 💚

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

@jerryzh168 jerryzh168 requested a review from andrewor14 August 15, 2025 22:11
@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 Aug 15, 2025
@jerryzh168 jerryzh168 merged commit 24f11f8 into pytorch:main Aug 18, 2025
17 of 19 checks passed
andrewor14 added a commit that referenced this pull request Aug 22, 2025
**Summary:** After #2779,
`Float8DynamicActivationInt4Weight` no longer has the `group_size`
field, but QAT continues to read from this field. This commit
fixes it to just use the fixed 128 group size.

**Test Plan:**
```
python test/quantization/test_qat.py -k test_infer_fp8_int4_config
```
andrewor14 added a commit that referenced this pull request Aug 22, 2025
**Summary:** After #2779,
`Float8DynamicActivationInt4Weight` no longer has the `group_size`
field, but QAT continues to read from this field. This commit
fixes it to just use the fixed 128 group size.

**Test Plan:**
```
python test/quantization/test_qat.py -k test_infer_fp8_int4_config
```
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Float8DynamicActivationInt4WeightConfig should not expose group_size
2 participants