waityousea / xuniren

MIT License
551 stars 159 forks source link

pytorch 3d windows cuda11.8安装失败 #5

Open lucasjinreal opened 1 year ago

lucasjinreal commented 1 year ago

pytorch 3d windows cuda11.8安装失败

waityousea commented 1 year ago

pytorch 3d windows cuda11.8安装失败

nvidia-smi版本、nvcc版本与显卡必须适配,同时安装pytorch的gpu版本时,其版本要与nvcc -V的版本一致

magicnight commented 1 year ago

同样的问题。NVIDIA-SMI 535.98 CUDA Version: 12.2 Cuda compilation tools, release 12.1, V12.1.105 Build cuda_12.1.r12.1/compiler.32688072_0

是不是pytorch要装nightly版本?

pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu121
turndown commented 10 months ago

pytorch 3d windows cuda11.8安装失败

nvidia-smi版本、nvcc版本与显卡必须适配,同时安装pytorch的gpu版本时,其版本要与nvcc -V的版本一致

你好,ubuntu1804下也要保持一致吗? 我这边nvidia-smi上面的是12.0,nvcc -V是11.8,pytorchgpu版本没找到11.8的版本,只有cu11.7的版本,导致安装pytorch3d的时候一直报找不到nvccd的错误。 如果直接用environment.yml创建虚拟环境,也是报错与cuda不匹配,居然不能向下兼容,有什么办法解决吗: image

magicnight commented 10 months ago

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118


Regards, Kefeng Zhou @.***

turndown @.***> 于2023年8月16日周三 21:23写道:

pytorch 3d windows cuda11.8安装失败

nvidia-smi版本、nvcc版本与显卡必须适配,同时安装pytorch的gpu版本时,其版本要与nvcc -V的版本一致

你好,ubuntu1804下也要保持一致吗? 我这边nvidia-smi上面的是12.0,nvcc -V是11.8,pytorchgpu版本没找到11.8的版本,只有cu11.7的版本,导致安装pytorch3d的时候一直报找不到nvccd的错误。 如果直接用environment.yml创建虚拟环境,也是报错与cuda不匹配,居然不能向下兼容,有什么办法解决吗: [image: image] https://user-images.githubusercontent.com/57825084/261038571-77838b23-183f-41c1-a639-5e5efb5bd55f.png

— Reply to this email directly, view it on GitHub https://github.com/waityousea/xuniren/issues/5#issuecomment-1680716269, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHPF36ZZDEZKIJMDMWLDU3XVTJXXANCNFSM6AAAAAAX5ZGVD4 . You are receiving this because you commented.Message ID: @.***>