Skip to content

Conversation

@cyxlily
Copy link
Contributor

@cyxlily cyxlily commented Dec 3, 2025

Summary
This PR adds Int8StaticActivationInt8WeightConfig and enables static quantization for SmoothQuant. It supports per-tensor quantization of activation only. It brings performance gain at the cost of accuracy compared to dynamic quantization.
Test plan
pytest -sv test/prototype/test_smoothquant.py
pytest -sv test/quantization/quantize_/workflows/int8/test_int8_tensor.py
pytest -sv test/integration/test_integration.py

@pytorch-bot
Copy link

pytorch-bot bot commented Dec 3, 2025

🔗 Helpful Links

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

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

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 Dec 3, 2025
Signed-off-by: Cui, Lily <lily.cui@intel.com>
Signed-off-by: Cui, Lily <lily.cui@intel.com>
Signed-off-by: Cui, Lily <lily.cui@intel.com>
Signed-off-by: Cui, Lily <lily.cui@intel.com>
Signed-off-by: Cui, Lily <lily.cui@intel.com>
Signed-off-by: Cui, Lily <lily.cui@intel.com>
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.

1 participant