CUDA HOME in pytorch installation

前端 未结 1 614
醉酒成梦
醉酒成梦 2020-12-21 03:45

I installed pytorch via conda with cuda 7.5

conda install pytorch=0.3.0 cuda75 -c pytorch

>>> import torch
>>> torch.cuda.is_available()
T         


        
相关标签:
1条回答
  • 2020-12-21 04:05

    The CUDA package which is distributed via anaconda is not a complete CUDA toolkit installation. It only includes the necessary libraries and tools to support numba and pyculib and other GPU accelerated binary packages they distribute, like tensorflow and pytorch.

    If you need a fully functional CUDA toolkit (and it seems you do), you will need to install one yourself. Word to the wise -- install the same version that you have installed within anaconda. With a tiny bit of PATH modification, everything should just work.

    0 讨论(0)
提交回复
热议问题