Skip to content

[executorch][nvidia][tensorrt][25/n] Share CUDA stream across TRT delegates#17936

Open
shoumikhin wants to merge 1 commit intogh/shoumikhin/50/basefrom
gh/shoumikhin/50/head
Open

[executorch][nvidia][tensorrt][25/n] Share CUDA stream across TRT delegates#17936
shoumikhin wants to merge 1 commit intogh/shoumikhin/50/basefrom
gh/shoumikhin/50/head

Conversation

@shoumikhin
Copy link
Contributor

@shoumikhin shoumikhin commented Mar 5, 2026

Stack from ghstack (oldest at bottom):

Share a single CUDA stream across all TensorRT delegate instances instead of creating a per-delegate stream. This improves performance for serialized execution (the common case) by eliminating synchronization overhead between subgraphs.

Internal:
Addresses feedback from D93275039.

Differential Revision: D93778115

…egates

Share a single CUDA stream across all TensorRT delegate instances instead of creating a per-delegate stream. This improves performance for serialized execution (the common case) by eliminating synchronization overhead between subgraphs.

Internal:
Addresses feedback from D93275039.

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

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Mar 5, 2026

🔗 Helpful Links

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

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

❌ 51 New Failures, 7 Unrelated Failures

As of commit 8938dec with merge base 01d21fa (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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.

This was referenced Mar 5, 2026
shoumikhin pushed a commit that referenced this pull request Mar 5, 2026
…egates

Share a single CUDA stream across all TensorRT delegate instances instead of creating a per-delegate stream. This improves performance for serialized execution (the common case) by eliminating synchronization overhead between subgraphs.

Internal:
Addresses feedback from D93275039.

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

ghstack-source-id: 348044020
Pull Request resolved: #17936
@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 Mar 5, 2026
@github-actions
Copy link

github-actions bot commented Mar 5, 2026

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

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. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant