GeForce RTX 3090 with CUDA capability sm_86 is not compatible with the current PyTorch installation.

錯誤

The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_61 sm_70 sm_75 compute_37.
If you want to use the GeForce RTX 3090 GPU with PyTorch, please check the instructions at https://pytorch.org/get-started/locally/

環境

解決

改安裝預覽版本

pip uninstall -y torch torchvision
pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html

3090 + pytorch + docker

FROM pytorch/pytorch:0.4.1-cuda9-cudnn7-devel
RUN pip uninstall -y torch torchvision
RUN pip install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *