Skip to content

Qualcomm AI Engine Direct - Adding QNN backend support for _cdist_forward core ATen op#20195

Merged
psiddh merged 1 commit into
pytorch:mainfrom
CodeLinaro:cdist
Jun 10, 2026
Merged

Qualcomm AI Engine Direct - Adding QNN backend support for _cdist_forward core ATen op#20195
psiddh merged 1 commit into
pytorch:mainfrom
CodeLinaro:cdist

Conversation

@qti-horodnic

@qti-horodnic qti-horodnic commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Added support for the _cdist_forward core ATen op using the existing implementation for CDist. Note this is an internal ATen variant of torch.cdist that torch.export produces, so just added the target to the existing pass for CDist and other small additions to make sure the pass is registered in the correct pipelines.

Test plan

python backends/qualcomm/tests/test_qnn_delegate.py -k TestQNNFloatingPointOperator.test_qnn_backend_cdist_forward --model SM8750 --host aisw-vm15-labsd --device 545ee4aa --build_folder build-android

python backends/qualcomm/tests/test_qnn_delegate.py -k TestQNNQuantizedOperator.test_qnn_backend_cdist_forward --model SM8750 --host aisw-vm15-labsd --device 545ee4aa --build_folder build-android

cc @cccclai @cbilgin @abhinaykukkadapu

@pytorch-bot

pytorch-bot Bot commented Jun 10, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 1 Awaiting Approval, 1 New Failure, 1 Unrelated Failure

As of commit f725c7c with merge base 4519036 (image):

AWAITING APPROVAL - The following workflow needs approval before CI can run:

NEW FAILURE - The following job has failed:

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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 Jun 10, 2026
@qti-horodnic

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 Jun 10, 2026
Comment thread backends/qualcomm/_passes/qnn_pass_manager.py
@psiddh psiddh added the module: qnn Issues related to Qualcomm's QNN delegate and code under backends/qualcomm/ label Jun 10, 2026
@psiddh psiddh merged commit 129c687 into pytorch:main Jun 10, 2026
188 of 194 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: qnn Issues related to Qualcomm's QNN delegate and code under backends/qualcomm/ release notes: qualcomm Changes to the Qualcomm backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants