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

Issue building with cuda 11.8, py3.12 in win11 #1923

Open
EnricoBeltramo opened this issue Dec 8, 2024 · 1 comment
Open

Issue building with cuda 11.8, py3.12 in win11 #1923

EnricoBeltramo opened this issue Dec 8, 2024 · 1 comment

Comments

@EnricoBeltramo
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

I have an issue building with cuda 11.8 in win11

Instructions To Reproduce the Issue:

I'm using follow env to build:

  • pytorch3d. 0.7.8 (but I tried older with same result)
  • vs compiler: 2019
  • env: conda
  • torch 2.5.0
  • cuda 11.8
  • python: 3.12

and I run: "python setup.py bdist_wheel" to create a wheel.
During build I have in different files three similar errors:
F:/CUDA/11.8.0/include\cub/device/dispatch/dispatch_segmented_sort.cuh(338): error: invalid combination of type specifiers

F:/CUDA/11.8.0/include\cub/device/dispatch/dispatch_segmented_sort.cuh(338): error: expected an identifier

F:/CUDA/11.8.0/include\cub/device/dispatch/dispatch_segmented_sort.cuh(379): error: expected a member name

If I force to build with cuda 11.3, the build finish correctly, but I'm not sure to use the whl in an environment with a different version of CUDA.
There is a fix?

@SophusDavid
Copy link

+1

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