Skip to content

Conversation

@SS-JIA
Copy link
Contributor

@SS-JIA SS-JIA commented Dec 10, 2025

ssjia added 2 commits December 10, 2025 13:36
It seems that `choose_qparams_affine` has recently appended some arguments to the schema. This causes newly exported models to break because at runtime, the output arg can no longer be found.

Fix by locating the output argument as the last entry in the args vector, rather than continuously incrementing the args index.

Update quantize/dequantize ops as well since it seems quantized_decomposed namespace ops are subject to change in the future.

Note that it would be good to do this for all operators in the Vulkan backend as a later refactor.

Differential Revision: [D88887463](https://our.internmc.facebook.com/intern/diff/D88887463/)

[ghstack-poisoned]
@pytorch-bot pytorch-bot bot added the module: vulkan Issues related to the Vulkan delegate and code under backends/vulkan/ label Dec 10, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Dec 10, 2025

🔗 Helpful Links

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

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

❌ 3 New Failures, 3 Unrelated Failures

As of commit 9754870 with merge base a0a6278 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

SS-JIA pushed a commit that referenced this pull request Dec 10, 2025
TSIA!

Differential Revision: [D88802100](https://our.internmc.facebook.com/intern/diff/D88802100/)

ghstack-source-id: 328515025
Pull Request resolved: #16187
@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 Dec 10, 2025
@github-actions
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

ssjia added 2 commits December 10, 2025 14:05
…ion name"

TSIA!

Differential Revision: [D88802100](https://our.internmc.facebook.com/intern/diff/D88802100/)

cc manuelcandales digantdesai cbilgin

[ghstack-poisoned]
TSIA!

Differential Revision: [D88802100](https://our.internmc.facebook.com/intern/diff/D88802100/)

cc manuelcandales digantdesai cbilgin

[ghstack-poisoned]
SS-JIA pushed a commit that referenced this pull request Dec 10, 2025
Pull Request resolved: #16187

TSIA!

Differential Revision: [D88802100](https://our.internmc.facebook.com/intern/diff/D88802100/)
ghstack-source-id: 328525109
SS-JIA added a commit that referenced this pull request Dec 11, 2025
Stack from [ghstack](https://github.com/ezyang/ghstack) (oldest at
bottom):
* #16187
* __->__ #16186

It seems that `choose_qparams_affine` has recently appended some
arguments to the schema. This causes newly exported models to break
because at runtime, the output arg can no longer be found.

Fix by locating the output argument as the last entry in the args
vector, rather than continuously incrementing the args index.

Update quantize/dequantize ops as well since it seems
quantized_decomposed namespace ops are subject to change in the future.

Note that it would be good to do this for all operators in the Vulkan
backend as a later refactor.

Differential Revision:
[D88887463](https://our.internmc.facebook.com/intern/diff/D88887463/)

---------

Co-authored-by: ssjia <ssjia@devvm1479.ncg0.facebook.com>
@SS-JIA SS-JIA changed the base branch from gh/SS-JIA/381/base to main December 11, 2025 19:48
@SS-JIA SS-JIA merged commit 3553f0a into main Dec 11, 2025
240 of 251 checks passed
@SS-JIA SS-JIA deleted the gh/SS-JIA/381/head branch December 11, 2025 19:48
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. fb-exported meta-exported module: vulkan Issues related to the Vulkan delegate and code under backends/vulkan/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants