Skip to content

Conversation

@pytorchbot
Copy link
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #17159 by @SS-JIA
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/SS-JIA/403/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/SS-JIA/403/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/SS-JIA/402/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/SS-JIA/403/orig
Differential Revision: D92171360
@diff-train-skip-merge

The original code created pipelines for all descriptors but used a separate
index counter during cache insertion that only incremented for non-cached
entries. This caused incorrect pipeline handles to be associated with keys
when some descriptors were already cached, and leaked handles for duplicates.

Fix by filtering out already-cached descriptors upfront, ensuring 1:1
correspondence between the created pipelines array and cache insertions.

Authored with Claude.

Differential Revision: [D92171360](https://our.internmc.facebook.com/intern/diff/D92171360/)

ghstack-source-id: 337901649
Pull Request resolved: #17159
@pytorchbot pytorchbot requested a review from SS-JIA as a code owner February 4, 2026 01:02
@pytorch-bot
Copy link

pytorch-bot bot commented Feb 4, 2026

🔗 Helpful Links

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

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

❌ 5 New Failures

As of commit 08f1b08 with merge base 593775b (image):

NEW FAILURES - The following jobs have failed:

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 Feb 4, 2026
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants