Skip to content

Conversation

@perheld
Copy link
Collaborator

@perheld perheld commented Sep 9, 2025

The arm executor runner has ET_NUM_INFERENCES set to 1 by default but the print after run stated it has done 2 runs.

The for loop doing the execution started on 1 and checked with <= causing the num_inferences to tick over by one.

Signed-off-by: [email protected]
Change-Id: I2aab4ea5ce95635a1ec4c2b8cd82ee5f4a78e1a4

@perheld perheld requested a review from digantdesai as a code owner September 9, 2025 17:10
@perheld perheld added module: arm Issues related to arm backend release notes: none Do not include this in the release notes labels Sep 9, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Sep 9, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 8eb48a8 with merge base 8973eeb (image):
💚 Looks good so far! There are no failures yet. 💚

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 Sep 9, 2025
The arm executor runner has ET_NUM_INFERENCES set to 1 by default but
the print after run stated it has done 2 runs.

The for loop doing the execution started on 1 and checked with <=
causing the num_inferences to tick over by one.

Signed-off-by: [email protected]
Change-Id: I2aab4ea5ce95635a1ec4c2b8cd82ee5f4a78e1a4
@perheld perheld force-pushed the ph-inferences-run-off-by-one branch from e2e98ee to 53c9912 Compare September 9, 2025 17:10
@zingo zingo added this to the 1.0.0 milestone Sep 9, 2025
@zingo zingo merged commit a89b858 into pytorch:main Sep 10, 2025
547 of 550 checks passed
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. module: arm Issues related to arm backend 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