Skip to content

Failed to install on Windows Server 2019 with CUDA 11.7 & 11.8 #1900

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

Closed
LuHaofan opened this issue Oct 17, 2024 · 1 comment
Closed

Failed to install on Windows Server 2019 with CUDA 11.7 & 11.8 #1900

LuHaofan opened this issue Oct 17, 2024 · 1 comment

Comments

@LuHaofan
Copy link

If you do not know the root cause of the problem / bug, and wish someone to help you, please
post according to this template:

🐛 Bugs / Unexpected behaviors

Compilation error when trying to install from source:

 C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include\cub/device/dispatch/dispatch_segmented_sort.cuh(338): error: invalid combination of type specifiers
  
  C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include\cub/device/dispatch/dispatch_segmented_sort.cuh(338): error: expected an identifier
  
  C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include\cub/device/dispatch/dispatch_segmented_sort.cuh(379): error: expected a member name
  
  3 errors detected in the compilation of "C:/Users/Haofan Lu/AppData/Local/Temp/3/pip-req-build-ejxxne68/pytorch3d/csrc/pulsar/cuda/renderer.create_selector.gpu.cu".
  renderer.create_selector.gpu.cu
....
  C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include\cub/device/dispatch/dispatch_segmented_sort.cuh(338): error: invalid combination of type specifiers
  
  C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include\cub/device/dispatch/dispatch_segmented_sort.cuh(338): error: expected an identifier
  
  C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include\cub/device/dispatch/dispatch_segmented_sort.cuh(379): error: expected a member name
  
  3 errors detected in the compilation of "C:/Users/Haofan Lu/AppData/Local/Temp/3/pip-req-build-ejxxne68/pytorch3d/csrc/pulsar/cuda/renderer.backward_dbg.gpu.cu".
  renderer.backward_dbg.gpu.cu
...
  C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include\cub/device/dispatch/dispatch_segmented_sort.cuh(338): error: invalid combination of type specifiers
  
  C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include\cub/device/dispatch/dispatch_segmented_sort.cuh(338): error: expected an identifier
  
  C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include\cub/device/dispatch/dispatch_segmented_sort.cuh(379): error: expected a member name
  
  3 errors detected in the compilation of "C:/Users/Haofan Lu/AppData/Local/Temp/3/pip-req-build-ejxxne68/pytorch3d/csrc/pulsar/cuda/renderer.backward.gpu.cu".
  renderer.backward.gpu.cu

...
  C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include\cub/device/dispatch/dispatch_segmented_sort.cuh(338): error: invalid combination of type specifiers
  
  C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include\cub/device/dispatch/dispatch_segmented_sort.cuh(338): error: expected an identifier
  
  C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/include\cub/device/dispatch/dispatch_segmented_sort.cuh(379): error: expected a member name
  
  3 errors detected in the compilation of "C:/Users/Haofan Lu/AppData/Local/Temp/3/pip-req-build-ejxxne68/pytorch3d/csrc/pulsar/cuda/renderer.forward.gpu.cu".
  renderer.forward.gpu.cu

NOTE: Please look at the existing list of Issues tagged with the label 'bug`. Only open a new issue if this bug has not already been reported. If an issue already exists, please comment there instead..

Instructions To Reproduce the Issue:

OS: Windows Server 2019
NVCC: 11.7 & 11.8 (Both tested and found the same error)
C++ compiler: MSVC 2019 C++ Desktop Development
Python: 3.9.0
Pytorch: 1.13.1
Please include the following (depending on what the issue is):

  1. Any changes you made (git diff) or code you wrote
    None
  2. The exact command(s) you ran:
>pip install "git+https://github.com/facebookresearch/[email protected]" > install_log_cuda118.txt 2>&1
  1. What you observed (including the full logs):
    Full log is attached as file.
    install_log_cuda118.txt

Please also simplify the steps as much as possible so they do not require additional resources to
run, such as a private dataset.

@LuHaofan
Copy link
Author

Just found the solution:
#1227 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant