Skip to content

Fix zero-point handling for packed_weight_inputs in INT8#3685

Merged
Xia-Weiwen merged 1 commit intopytorch:mainfrom
Yuxingwang-intel:int8_qconv_prepack
Jan 26, 2026
Merged

Fix zero-point handling for packed_weight_inputs in INT8#3685
Xia-Weiwen merged 1 commit intopytorch:mainfrom
Yuxingwang-intel:int8_qconv_prepack

Conversation

@Yuxingwang-intel
Copy link
Copy Markdown
Contributor

INT8 requires zero-point, so add conditional zero-point handling for packed_weight_inputs.

@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Jan 22, 2026

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 50ec984 with merge base 2a8714f (image):

NEW FAILURE - The following job has failed:

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 Jan 22, 2026
@Yuxingwang-intel
Copy link
Copy Markdown
Contributor Author

@Xia-Weiwen Could you please help me review this PR. Thanks!

Copy link
Copy Markdown
Collaborator

@Xia-Weiwen Xia-Weiwen left a comment

Choose a reason for hiding this comment

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

Thanks for the fix. Can you also add a test case? Thanks

@Xia-Weiwen Xia-Weiwen added the module: not user facing Use this tag if you don't want this PR to show up in release notes label Jan 23, 2026
@Xia-Weiwen Xia-Weiwen requested a review from jerryzh168 January 26, 2026 03:11
@Xia-Weiwen
Copy link
Copy Markdown
Collaborator

CI failure is CUDA only, unrelated to this PR.

@Xia-Weiwen Xia-Weiwen merged commit 6c9d0fb into pytorch:main Jan 26, 2026
20 of 23 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. module: 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.

2 participants