initialneil / SplattingAvatar

[CVPR2024] Official implementation of SplattingAvatar.
Other
336 stars 32 forks source link

Question about the version of pytorch3d #11

Closed zhoutianyang2002 closed 3 months ago

zhoutianyang2002 commented 3 months ago

great work! I am a beginner in graphics and I failed when trying to install pytorch3d through compilation. I have searched a lot of information online, but I have not found a usable solution. I think the possible reason is that pytorch3D has strict requirements for versions of pytorch, cuda, and cub. May I know the version of pytorch3d and CUB for this experiment? Sorry to bother you, I know this is a 'low' question. I have worked on deep learning before, but I didn't expect PyTorch3D to be so difficult to install. Thanks a lot!

jeb0813 commented 3 months ago

Can you attach the Terminal output. I successfully installed pytorch3D with some modifications of torch.

zhoutianyang2002 commented 3 months ago

Can you attach the Terminal output. I successfully installed pytorch3D with some modifications of torch. Thank you for your reply! here is some basic imformation of my test: windows11, RTX4060; python3.9,cuda11.7,pytorch 1.13.1(same with the tutorial) I had tried several times. this picture is the last error situation.

Screenshot 2024-03-17 230540

It also had many different errors before, e.g. 3 errors detected in the compilation of "C:/Projects/pytorch3d/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

Besides the official tutorials, I mainly referred to these blogs: https://www.bilibili.com/read/cv32282689/?jump_opus=1 https://blog.csdn.net/m0_66227501/article/details/136423537 https://blog.csdn.net/m0_70229101/article/details/127196699

jeb0813 commented 3 months ago

Can you attach the Terminal output. I successfully installed pytorch3D with some modifications of torch. Thank you for your reply! here is some basic imformation of my test: windows11, RTX4060; python3.9,cuda11.7,pytorch 1.13.1(same with the tutorial) I had tried several times. this picture is the last error situation.

Screenshot 2024-03-17 230540

It also had many different errors before, e.g. 3 errors detected in the compilation of "C:/Projects/pytorch3d/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

Besides the official tutorials, I mainly referred to these blogs: https://www.bilibili.com/read/cv32282689/?jump_opus=1 https://blog.csdn.net/m0_66227501/article/details/136423537 https://blog.csdn.net/m0_70229101/article/details/127196699

sry, installation done on linux, dont know how to fix it on windows :cry:

initialneil commented 3 months ago

Not sure why. One possible reason: 40xx cards might require cuda 12.x.