Skip to content

Conversation

@Erik-Lundell
Copy link
Collaborator

@Erik-Lundell Erik-Lundell commented Jan 28, 2025

The previous version missed ConstantInputs which
caused problems in the runtime when the provided
inputs did not match the GraphSignature.

You could argue that having to provide constant inputs that are already encoded in the graph as arguments is unnecessary. However, this solution is more general and does not stop us from adding a pass that prunes unwanted inputs from the graph signature in the future. (if that is possible)

Encountered an issue with too long input names,
had to rename some parameters in testcases to
shorter names.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

The previous version missed ConstantInputs which
caused problems in the runtime when the provided
inputs did not match the GraphSignature.

You could argue that having to provide constant inputs
that are already encoded in the graph as arguments is
unnecessary. However, this solution is more general
and does not stop us from adding a pass that prunes
unwanted inputs from the graph signature in the future.
(if that is possible)

Encountered an issue with too long input names,
had to rename some parameters in testcases to
shorter names (added ticket to adress this, #MLETORCH-628)

Signed-off-by: Erik Lundell <[email protected]>
Change-Id: Idf39d94aa1340ace655c1393b97f4616aec250db
@Erik-Lundell Erik-Lundell added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing labels Jan 28, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Jan 28, 2025

🔗 Helpful Links

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

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

❌ 1 Cancelled Job, 1 Pending

As of commit 224f3d6 with merge base 3eea1f1 (image):

CANCELLED JOB - The following job was cancelled. Please retry:

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

@facebook-github-bot facebook-github-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 28, 2025
@zingo
Copy link
Collaborator

zingo commented Jan 29, 2025

macos job seems unrelated and fail on other PR and on "main"

@zingo zingo merged commit 0b16f27 into pytorch:main Jan 29, 2025
105 of 106 checks passed
@Erik-Lundell Erik-Lundell deleted the wrong_number_inputs branch July 31, 2025 07:51
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 topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants