Skip to content

Conversation

@Erik-Lundell
Copy link
Collaborator

@Erik-Lundell Erik-Lundell commented Jan 13, 2026

Previously, the decompose_var_pass assumed that
"correction" was an integer argument for the
aten.var.dim case, but it is boolean. This meant that 1) get_node_arg() for keepdim actually picked the correction value 2) correction always picked the default value.

Since the error was introduced in transform_for_annotation, it was not detected by tests.

cc @freddan80 @per @zingo @oscarandersson8218 @digantdesai

Previously, the decompose_var_pass assumed that
"correction" was an integer argument for the
aten.var.dim case, but it is boolean. This meant that
1) get_node_arg() for keepdim actually picked the correction value
2) correction always picked the default value.

Since the error was introduced in transform_for_annotation,
it was not detected by tests.

Signed-off-by: Erik Lundell <[email protected]>
Change-Id: I6cd653a69469149a3012d5a4ad77c3808a05d012
@Erik-Lundell Erik-Lundell 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 Jan 13, 2026
@pytorch-bot
Copy link

pytorch-bot bot commented Jan 13, 2026

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit d77b16c with merge base 9ba1b5d (image):

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.

@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 Jan 13, 2026
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.

1 participant