Skip to content

[user-streams] Add support functions for stream codegen#165504

Closed
mlazos wants to merge 12 commits intogh/mlazos/43/basefrom
gh/mlazos/43/head
Closed

[user-streams] Add support functions for stream codegen#165504
mlazos wants to merge 12 commits intogh/mlazos/43/basefrom
gh/mlazos/43/head

Conversation

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 15, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 1 Unrelated Failure

As of commit 9c5b1c1 with merge base 63776ec (image):

NEW FAILURE - The following job has failed:

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

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

@github-actions
Copy link
Contributor

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the Stale label Dec 14, 2025
@github-actions github-actions bot closed this Jan 13, 2026
@mlazos mlazos reopened this Jan 13, 2026
mlazos added a commit that referenced this pull request Jan 20, 2026
mlazos added a commit that referenced this pull request Jan 21, 2026
@mlazos mlazos added ciflow/trunk Trigger trunk jobs on your pull request release notes: inductor and removed Stale labels Jan 21, 2026
mlazos added a commit that referenced this pull request Jan 21, 2026
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo chenyang78

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Jan 21, 2026
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo chenyang78

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Jan 22, 2026
suncapitalllc007-star pushed a commit to suncapitalllc007-star/pytorch that referenced this pull request Jan 25, 2026
mlazos added a commit that referenced this pull request Feb 3, 2026
mlazos added a commit that referenced this pull request Feb 3, 2026
cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo chenyang78

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Feb 18, 2026
mlazos added a commit that referenced this pull request Feb 18, 2026
mlazos added a commit that referenced this pull request Feb 18, 2026
This PR adds utility functions for managing streams and a stream pool. 




cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo chenyang78

[ghstack-poisoned]
Copy link
Contributor

@eellison eellison left a comment

Choose a reason for hiding this comment

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

i don't think we need a stream pool, since pytorch eager manages its own. is it necessary ?

mlazos added a commit that referenced this pull request Mar 2, 2026
This PR adds utility functions for managing streams and a stream pool. 




cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo chenyang78

[ghstack-poisoned]
mlazos added a commit that referenced this pull request Mar 3, 2026
mlazos added 4 commits March 3, 2026 11:55
This PR adds utility functions for managing streams and a stream pool. 




cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo chenyang78

[ghstack-poisoned]
This PR adds utility functions for managing streams and a stream pool. 




cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo chenyang78

[ghstack-poisoned]
This PR adds utility functions for managing streams and a stream pool. 




cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo chenyang78

[ghstack-poisoned]
This PR adds utility functions for managing streams and a stream pool. 




cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo chenyang78

[ghstack-poisoned]
@mlazos mlazos requested a review from eellison March 4, 2026 04:33
@pytorchmergebot
Copy link
Collaborator

Starting merge as part of PR stack under #165391

This PR adds utility functions for managing streams and a stream pool. 




cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo chenyang78

[ghstack-poisoned]
@pytorchmergebot
Copy link
Collaborator

Starting merge as part of PR stack under #165391

This PR adds utility functions for managing streams and a stream pool. 




cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy kadeng muchulee8 amjames chauhang aakhundov coconutruben jataylo chenyang78

[ghstack-poisoned]
@pytorchmergebot
Copy link
Collaborator

Starting merge as part of PR stack under #165391

1 similar comment
@pytorchmergebot
Copy link
Collaborator

Starting merge as part of PR stack under #165391

pytorchmergebot pushed a commit that referenced this pull request Mar 5, 2026
This PR implements stream codegen to the SubgraphWrapper Codegen. It supports codegen for enter/exiting stream contexts and calling record_stream on returned tensors.

Pull Request resolved: #165391
Approved by: https://github.com/eellison
ghstack dependencies: #165390, #165504
Vighaneshs pushed a commit to Vighaneshs/pytorch that referenced this pull request Mar 5, 2026
This PR adds utility functions for managing streams and a stream pool.

Pull Request resolved: pytorch#165504
Approved by: https://github.com/eellison
ghstack dependencies: pytorch#165390
Vighaneshs pushed a commit to Vighaneshs/pytorch that referenced this pull request Mar 5, 2026
…h#165391)

This PR implements stream codegen to the SubgraphWrapper Codegen. It supports codegen for enter/exiting stream contexts and calling record_stream on returned tensors.

Pull Request resolved: pytorch#165391
Approved by: https://github.com/eellison
ghstack dependencies: pytorch#165390, pytorch#165504
sandy-gags pushed a commit to sandy-gags/pytorch that referenced this pull request Mar 12, 2026
sandy-gags pushed a commit to sandy-gags/pytorch that referenced this pull request Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants