Skip to content

Qualcomm AI Engine Direct - Update quant recipe for PyTorch version bump#21237

Open
DannyYuyang-quic wants to merge 1 commit into
pytorch:mainfrom
CodeLinaro:dev1/danny/quant_recipe
Open

Qualcomm AI Engine Direct - Update quant recipe for PyTorch version bump#21237
DannyYuyang-quic wants to merge 1 commit into
pytorch:mainfrom
CodeLinaro:dev1/danny/quant_recipe

Conversation

@DannyYuyang-quic

@DannyYuyang-quic DannyYuyang-quic commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Summary

After the PyTorch version bump, the module path changed from layers.0.attention.wv_conv to layers.0.attention.forward.self.wv_conv Because of this, the existing regex r"layers...attention.wv." no longer matches and the tag is missed. Updating it to r"layers..*.attention..wv." will cover both formats.

Test plan

LLM CI

cc: @psiddh @shewu-quic @haowhsu-quic @winskuo-quic

After the PyTorch version bump, the module path changed from layers.0.attention.wv_conv to layers.0.attention.forward.__self__.wv_conv
Because of this, the existing regex r"layers\..*\.attention\.wv.*" no longer matches and the tag is missed.
Updating it to r"layers\..*\.attention\..*wv.*" will cover both formats.
@pytorch-bot

pytorch-bot Bot commented Jul 23, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 1 Active SEVs

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

⚠️ 16 Awaiting Approval

As of commit de93127 with merge base 266e0dc (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 Jul 23, 2026
@DannyYuyang-quic

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 Jul 23, 2026
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