RuntimeError: CUDA error: no kernel image is available for execution on the driver
生活随笔
收集整理的這篇文章主要介紹了
RuntimeError: CUDA error: no kernel image is available for execution on the driver
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
問題:RuntimeError: CUDA error: no kernel image is available for execution on the driver, when use pytorch 1.7 on linux with RTX 3090
解決方案:pip install torch1.7.1+cu110 torchvision0.8.2+cu110 torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
參考:https://github.com/pytorch/pytorch/issues/49161
總結
以上是生活随笔為你收集整理的RuntimeError: CUDA error: no kernel image is available for execution on the driver的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: log4j2内容详解
- 下一篇: python 初学者 笔记一