Skip to content

Conversation

@oscarandersson8218
Copy link
Collaborator

@oscarandersson8218 oscarandersson8218 commented Nov 10, 2025

For some passes after q-dq-folding, metadata was naively copied to all new nodes in decomposition. This can lead to problems if these nodes were to be computed ahead of time. This is solved by introducing a new optional argument to create_node, called inherit_qparams that defaults to false. This means that you explicitly need to set it to True in order to inherit qparams from the original node. For call_operator passes, the metadata dict is copied and modified in each pass. The patch also removes a few duplicate passes in ArmPassManager.

cc @freddan80 @per @zingo @digantdesai

For some passes after q-dq-folding, metadata was naively copied to all
new nodes in decomposition. This can lead to problems if these nodes
were to be computed ahead of time. This is solved by introducing a new
optional argument to create_node, called inherit_qparams that defaults
to false. This means that you explicitly need to set it to True in order
to inherit qparams from the original node. For call_operator passes, the
metadata dict is copied and modified in each pass. The patch also
removes a few duplicate passes in ArmPassManager.

Signed-off-by: Oscar Andersson <oscar.andersson@arm.com>
Change-Id: I408be28fbe54a8c53e8c9d312db967f5d0a7dc8c
@pytorch-bot
Copy link

pytorch-bot bot commented Nov 10, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 6 Unrelated Failures

As of commit 5c67b45 with merge base c8e9684 (image):

NEW FAILURE - The following job has failed:

BROKEN TRUNK - The following jobs 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 Nov 10, 2025
@oscarandersson8218 oscarandersson8218 added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk release notes: none Do not include this in the release notes labels Nov 10, 2025
@zingo
Copy link
Collaborator

zingo commented Nov 11, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants