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

gsplat/cuda/csrc/backward.cu(108): error: no suitable conversion function from "half" to "int" exists #148

Open
xiaoqin422 opened this issue Mar 21, 2024 · 6 comments

Comments

@xiaoqin422
Copy link

When I try to install git+https://github.com/nerfstudio-project/gsplat.git with pip, CSRC building gets an error. The following error message is displayed:
gsplat/cuda/csrc/backward.cu(108): error: no suitable conversion function from "half" to "int" exists

gsplat/cuda/csrc/backward.cu(108): error: no suitable conversion function from "__half" to "int" exists

@phongnhhn92
Copy link

@liruilong940607 I am also having this issue. Please help !

@xiaoqin422
Copy link
Author

xiaoqin422 commented Apr 4, 2024 via email

@kerrj
Copy link
Collaborator

kerrj commented Apr 4, 2024

what CUDA compute capability is your GPU? @liruilong940607 found that the environment variable TORCH_CUDA_ARCH_LIST incorrectly had old compute capabilities that prevented compilation, you can try unset TORCH_CUDA_ARCH_LIST to see if that fixes it

@liruilong940607
Copy link
Collaborator

We only supports GPUs with CUDA compute capability >= 5.3. You can check your GPU's compute capability from here: https://developer.nvidia.com/cuda-gpus

@suvigy
Copy link

suvigy commented Apr 14, 2024

Could 12.2 Cuda version be a problem?

@liruilong940607
Copy link
Collaborator

No CUDA 12.2 should work

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

5 participants