Skip to content

Conversation

jirioc
Copy link
Collaborator

@jirioc jirioc commented Oct 14, 2025

Summary

The padding of concat is not needed anymore if the inputs are equal. This removes the necessity to use custom_delegation_options.force_delegate_cat if the model contains concat of equal sizes. This requires a support from the converter.

Test plan

The test was done using an external model.

cc @robert-kalmar @JakeStevens @digantdesai

@jirioc jirioc requested a review from robert-kalmar as a code owner October 14, 2025 09:38
Copy link

pytorch-bot bot commented Oct 14, 2025

🔗 Helpful Links

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

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

❌ 7 New Failures, 2 Unrelated Failures

As of commit 33f971f with merge base 57a7903 (image):

NEW FAILURES - The following jobs have 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 Oct 14, 2025
@jirioc jirioc added module: nxp Issues related to NXP Neutron NPU delegation and code under backends/nxp/ release notes: nxp Changes to the NXP Neutron backend delegate labels Oct 14, 2025
@jirioc jirioc requested review from StrycekSimon and removed request for robert-kalmar October 14, 2025 09:38
@jirioc jirioc force-pushed the EIEX-485-the-padding-of-concat-is-not-needed-anymore-if-the-inputs-are-equal branch from 77518e6 to 9e00cf1 Compare October 14, 2025 10:02
@StrycekSimon
Copy link
Collaborator

I saw the Samsung and CUDA tests failing on other PRs. The rest seems new but not relevant.

Copy link
Collaborator

@StrycekSimon StrycekSimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add unit tests for the newly supported variants of cat operator. If this is a feature of some future release of NC, then let's make this PR a draft until the NC version is bumped.

@jirioc
Copy link
Collaborator Author

jirioc commented Oct 15, 2025

Please add unit tests for the newly supported variants of cat operator. If this is a feature of some future release of NC, then let's make this PR a draft until the NC version is bumped.

It is supported in NC 25.09.

@jirioc jirioc force-pushed the EIEX-485-the-padding-of-concat-is-not-needed-anymore-if-the-inputs-are-equal branch from 9e00cf1 to 143c530 Compare October 15, 2025 11:13
@jirioc
Copy link
Collaborator Author

jirioc commented Oct 15, 2025

Unit tests added.

@jirioc jirioc force-pushed the EIEX-485-the-padding-of-concat-is-not-needed-anymore-if-the-inputs-are-equal branch from 143c530 to 33f971f Compare October 15, 2025 11:18
Copy link
Collaborator

@MartinPavella MartinPavella left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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. module: nxp Issues related to NXP Neutron NPU delegation and code under backends/nxp/ release notes: nxp Changes to the NXP Neutron backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants