New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable TensorPipe CUDA fallback channel #50675
Conversation
[ghstack-poisoned]
@@ -86,6 +86,8 @@ constexpr int64_t kBasicChannelPriority = 0; | |||
#if TENSORPIPE_HAS_CUDA_IPC_CHANNEL && defined(USE_CUDA_NOT_ROCM) | |||
constexpr int64_t kCudaIpcChannelPriority = 300; | |||
constexpr int64_t kCudaXthChannelPriority = 400; | |||
constexpr int64_t kCudaBasicChannelPriority = 500; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, shouldn't be guarded by TENSORPIPE_HAS_CUDA_IPC_CHANNEL
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh and actually this should have a much lower priority, like 100. Otherwise we'll always prefer sending over TCP rather than doing IPC.
The final priority order should be: BASIC < GDR < IPC < XTH.
@@ -86,6 +86,8 @@ constexpr int64_t kBasicChannelPriority = 0; | |||
#if TENSORPIPE_HAS_CUDA_IPC_CHANNEL && defined(USE_CUDA_NOT_ROCM) | |||
constexpr int64_t kCudaIpcChannelPriority = 300; | |||
constexpr int64_t kCudaXthChannelPriority = 400; | |||
constexpr int64_t kCudaBasicChannelPriority = 500; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh and actually this should have a much lower priority, like 100. Otherwise we'll always prefer sending over TCP rather than doing IPC.
The final priority order should be: BASIC < GDR < IPC < XTH.
Differential Revision: [D25941963](https://our.internmc.facebook.com/intern/diff/D25941963) [ghstack-poisoned]
Differential Revision: [D25941963](https://our.internmc.facebook.com/intern/diff/D25941963) [ghstack-poisoned]
Stack from ghstack:
Differential Revision: D25941963