Skip to content

[CPU] Register the x86 inductor int8 lowering passes from quant_api - #4823

Open
Kanya-Mo wants to merge 1 commit into
pytorch:mainfrom
Kanya-Mo:fix_import
Open

[CPU] Register the x86 inductor int8 lowering passes from quant_api#4823
Kanya-Mo wants to merge 1 commit into
pytorch:mainfrom
Kanya-Mo:fix_import

Conversation

@Kanya-Mo

Copy link
Copy Markdown

pytorch#178466 moved the CPU int8 fusion patterns out of inductor and into torchao. The fusion is now only registered when importing torchao.quantization.pt2e.quantizer.x86_inductor_quantizer. Without importing the file, eager quantize_ flow stopped lowering to onednn::qlinear and fell back to aten ops on cpu. The PR adds registrations from the int8 transforms in quant_api.

@pytorch-bot

pytorch-bot Bot commented Aug 24, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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 Aug 24, 2026
@Kanya-Mo
Kanya-Mo marked this pull request as ready for review August 24, 2026 22:40
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