Skip to content
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

Closed
wants to merge 3 commits into from

Conversation

mrshenli
Copy link
Contributor

@mrshenli mrshenli commented Jan 18, 2021

Stack from ghstack:

Differential Revision: D25941963

@@ -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;
Copy link
Contributor

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.

Copy link
Contributor

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;
Copy link
Contributor

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.

@facebook-github-bot
Copy link
Contributor

@mrshenli merged this pull request in ce30dba.

@facebook-github-bot facebook-github-bot deleted the gh/mrshenli/285/head branch January 22, 2021 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed Merged oncall: distributed Add this issue/PR to distributed oncall triage queue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants