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
Custom C++ and CUDA Extensions / multiple GPU issue #1133
Comments
See pytorch/pytorch#48891 and #1196 |
I'm sorry, but I don't see the resolution of this issue.
cheers, Adam |
Hi, I also got the same issue for my custom C++ and CUDA extensions. The I found the solution from https://discuss.pytorch.org/t/c-cuda-extension-with-multiple-gpus/91241/6 does not work for the extension that the cpu extension and cuda extension are wrapped up by a common wrapper. Since the compilation of cpu extension will encounter the error that requires CUDA. Does anyone have idea about this issue? |
Hi,
I followed the C++ extension tutorial (https://pytorch.org/tutorials/advanced/cpp_extension.html), but I had issues when using multiple GPUs.
The issue is solved: https://discuss.pytorch.org/t/c-cuda-extension-with-multiple-gpus/91241/6
I'd like to suggest adding the corresponding code lines to the tutorial, so that other people won't have the same problem.
Cheers, Adam
The text was updated successfully, but these errors were encountered: