pytorch3d icon indicating copy to clipboard operation
pytorch3d copied to clipboard

Issue building with cuda 11.8, py3.12 in win11

Open EnricoBeltramo opened this issue 11 months ago • 2 comments

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?

EnricoBeltramo avatar Dec 08 '24 17:12 EnricoBeltramo

+1

SophusDavid avatar Dec 20 '24 14:12 SophusDavid

+2

revanj avatar May 24 '25 10:05 revanj