Skip to content

Qualcomm AI Engine Direct - Support 2-bits quantization 16a2w#19632

Open
jethroqti wants to merge 1 commit into
pytorch:mainfrom
CodeLinaro:dev1/quant/pcq2bit
Open

Qualcomm AI Engine Direct - Support 2-bits quantization 16a2w#19632
jethroqti wants to merge 1 commit into
pytorch:mainfrom
CodeLinaro:dev1/quant/pcq2bit

Conversation

@jethroqti
Copy link
Copy Markdown
Contributor

Qualcomm AI Engine Direct - Support 2-bits quantization 16a2w

Summary:
1.Add 2-bits quantization basis 16a2w quantizer with standard symmetric
2.Support per channel and linear layers
3.Currently support soc model SM8850

Test plan:
python backends/qualcomm/tests/test_qnn_delegate.py TestQNNQuantizedOperator.test_qnn_backend_16a2w_conv2d -b build-android -H ${HOST} -s ${SN} -m SM8850 python backends/qualcomm/tests/test_qnn_delegate.py TestQNNQuantizedOperator.test_qnn_backend_16a2w_linear -b build-android -H ${HOST} -s ${SN} -m SM8850

Summary:
1.Add 2-bits quantization basis 16a2w quantizer with standard symmetric
2.Support per channel and linear layers
3.Currently support soc model SM8850

Test plan:
python backends/qualcomm/tests/test_qnn_delegate.py TestQNNQuantizedOperator.test_qnn_backend_16a2w_conv2d -b build-android -H ${HOST} -s ${SN} -m SM8850
python backends/qualcomm/tests/test_qnn_delegate.py TestQNNQuantizedOperator.test_qnn_backend_16a2w_linear -b build-android -H ${HOST} -s ${SN} -m SM8850
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented May 18, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/19632

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

❗ 2 Active SEVs

There are 2 currently active SEVs. If your PR is affected, please view them below:

⚠️ 11 Awaiting Approval

As of commit 0223c46 with merge base 824cbff (image):

AWAITING APPROVAL - The following workflows need approval before CI can run:

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 May 18, 2026
@jethroqti
Copy link
Copy Markdown
Contributor Author

@pytorchbot label "release notes: qualcomm"

@pytorch-bot pytorch-bot Bot added the release notes: qualcomm Changes to the Qualcomm backend delegate label May 18, 2026
@jethroqti
Copy link
Copy Markdown
Contributor Author

This PR is used to support 2-bits quantization basis 16a2w. Please take a look. Thanks.
@psiddh @haowhsu-quic @shewu-quic @winskuo-quic @DannyYuyang-quic

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. release notes: qualcomm Changes to the Qualcomm backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant