Skip to content

got Error when installing pytorch3d #1631

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
DeepAlien890 opened this issue Sep 8, 2023 · 2 comments
Closed

got Error when installing pytorch3d #1631

DeepAlien890 opened this issue Sep 8, 2023 · 2 comments

Comments

@DeepAlien890
Copy link

Hi! I was installing pytorch3d.
but i got errors like this...

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.7/include\cub/device/dispatch/dispatch_segmented_sort.cuh(338): error: invalid combination of type specifiers

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.7/include\cub/device/dispatch/dispatch_segmented_sort.cuh(338): error: expected an identifier

C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.7/include\cub/device/dispatch/dispatch_segmented_sort.cuh(379): error: expected a member name

3 errors detected in the compilation of "D:/Projects/pytorch3d/pytorch3d/csrc/pulsar/cuda/renderer.backward.gpu.cu".
error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.7\\bin\\nvcc.exe' failed with exit code 2

I newly installed VS 2022.
and My environment includes python=3.10, pytorch=1.13.1, cuda=11.7.
and i got i9-12th, RTX3090.
plz, help.

@bottler
Copy link
Contributor

bottler commented Sep 11, 2023

This is a known issue where the solution has been to copy cub version 11.7 over the top of the one in the cuda folder. See e.g. #1567

@DeepAlien890
Copy link
Author

It worked!
thanks a lot.

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

2 participants