Delete THCStreamGuard in favor of CUDAGuard, also c10d code cleanup#12849
Closed
Delete THCStreamGuard in favor of CUDAGuard, also c10d code cleanup#12849
Conversation
Differential Revision: D10457671 Differential Version: 61080418
Differential Revision: D10457671 Differential Version: 61081812
Differential Revision: D10457671 Differential Version: 61083745
Differential Revision: D10457671 Differential Version: 61084321
Differential Revision: D10457671 Differential Version: 61085552
Differential Revision: D10457671 Differential Version: 61086551
Differential Revision: D10457671 Differential Version: 61087075
Contributor
|
@ezyang can you also run clang-format -i on all the c10d file touched? |
Contributor
|
And also, please run make test in c10d build folder |
Contributor
Author
Why isn't this covered by CI? |
Differential Revision: D10457671 Differential Version: 61112012
Contributor
Author
|
@pietern It retrieves streams from the pool |
Contributor
Author
|
laurentdupin
pushed a commit
to laurentdupin/pytorch
that referenced
this pull request
Apr 24, 2026
…ytorch#12849) Summary: I got annoyed at waiting for OSS to tell me my c10d builds were busted, so I also added support for building the test scripts in fbcode and fixed the warnings this uncovered. Pull Request resolved: pytorch#12849 Reviewed By: pietern Differential Revision: D10457671 fbshipit-source-id: 5b0e36c606e397323f313f09dfce64d2df88faed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack:
:black_circle: #12849 Delete THCStreamGuard in favor of CUDAGuard, also c10d code cleanup 💛
I got annoyed at waiting for OSS to tell me my c10d builds were busted, so
I also added support for building the test scripts in fbcode and fixed the
warnings this uncovered.
Differential Revision: D10457671