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

windows 10 install problem #1742

Closed
karaokenoway opened this issue Feb 26, 2024 · 6 comments
Closed

windows 10 install problem #1742

karaokenoway opened this issue Feb 26, 2024 · 6 comments

Comments

@karaokenoway
Copy link

hi, i use cuda 11.8 pytorch 2.0.1 and install pytorch3d from local clone in windows10.
It failed with this:
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 "F:/Github/AdaMPI/pytorch3d-0.7.4/pytorch3d-0.7.4/pytorch3d/csrc/pulsar/cuda/renderer.backward.gpu.cu".
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc.exe' failed with exit code 2

what should i do plz!

@bottler
Copy link
Contributor

bottler commented Feb 26, 2024

Please see #1567 and #1631.

@karaokenoway
Copy link
Author

Thanks @bottler , I have add the flag to the nvcc_args in setup.py. like #1567 but it still don't work.
i also change the cub for 1.17.2 but it comes the same error....

@bottler
Copy link
Contributor

bottler commented Feb 27, 2024

We're going to be able to help much. Are you on the latest version of Visual Studio?

@karaokenoway
Copy link
Author

I use vs2019

@bottler
Copy link
Contributor

bottler commented Feb 27, 2024

Recently people have been reporting successes with 2022. eg #1659

@karaokenoway
Copy link
Author

After using pytorch3d 0.7.5 and with cuda11.8, it's ok right now. i even don't why, but it works, thanks!

@bottler bottler closed this as completed Feb 28, 2024
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