Fix Multiple constraints for allocation for two cat inputs of same underlying tensor (#18830)#18830
Fix Multiple constraints for allocation for two cat inputs of same underlying tensor (#18830)#18830ethansfng wants to merge 1 commit intopytorch:mainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18830
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 2 New Failures, 2 Unrelated FailuresAs of commit 786d367 with merge base 411ede2 ( 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. |
|
@ethansfng has exported this pull request. If you are a Meta employee, you can view the originating Diff in D100494796. |
This PR needs a
|
…derlying tensor (pytorch#18830) Summary: Added a resolved-source duplicate check in is_removable_cat_op. After the existing node-identity duplicate check, it follows each input's alias chain to its ultimate source and checks for duplicates among the resolved sources. If two inputs resolve to the same tensor, the cat is not optimizable. Differential Revision: D100494796
9f480f8 to
cad017b
Compare
…derlying tensor (pytorch#18830) Summary: Added a resolved-source duplicate check in is_removable_cat_op. After the existing node-identity duplicate check, it follows each input's alias chain to its ultimate source and checks for duplicates among the resolved sources. If two inputs resolve to the same tensor, the cat is not optimizable. Differential Revision: D100494796
cad017b to
786d367
Compare
Summary:
Added a resolved-source duplicate check in is_removable_cat_op. After the existing node-identity duplicate check, it follows each input's alias chain to its ultimate source and checks for duplicates among the resolved sources. If two inputs resolve to the same tensor, the cat is not optimizable.
Differential Revision: D100494796