gsplat/cuda/csrc/backward.cu(108): error: no suitable conversion function from "half" to "int" exists
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
@liruilong940607 I am also having this issue. Please help !
邮件已收到。
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
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
Could 12.2 Cuda version be a problem?
No CUDA 12.2 should work
what CUDA compute capability is your GPU? @liruilong940607 found that the environment variable
TORCH_CUDA_ARCH_LISTincorrectly had old compute capabilities that prevented compilation, you can tryunset TORCH_CUDA_ARCH_LISTto see if that fixes it您的 GPU 的 CUDA 计算能力如何? @liruilong940607发现环境变量TORCH_CUDA_ARCH_LIST错误地具有阻止编译的旧计算功能,您可以尝试unset TORCH_CUDA_ARCH_LIST看看是否可以修复它
It works for me!Thank you!
邮件已收到。