Why Cuda from numba package is unavailable? - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Data Science (https://python-forum.io/forum-44.html) +--- Thread: Why Cuda from numba package is unavailable? (/thread-30442.html) |
Why Cuda from numba package is unavailable? - AlekseyPython - Oct-21-2020 Python 3.8.5, numpy 1.19.2, numba 0.51.2, Kubuntu 20.04, Nvidia-driver 390.138 I have video- card Nvidia GTX 560 Ti and I can't use one in calculations: from numba import cuda is_available = cuda.is_available() print(str(is_available)) detect = cuda.detect() print(str(detect)) My GPU is supported, because has capability 2.1: supported devices. And I successfully installed cuda- toolkit with:$ conda install cudatoolkit Why? RE: Why Cuda from numba package is unavailable? - AlekseyPython - Oct-23-2020 It turned out, that it was necessary to run the python interpreter, which was installed together with the anaconda-package (in the home directory). In this interpreter, cuda is supported. RE: Why Cuda from numba package is unavailable? - AlekseyPython - Nov-10-2020 I install cuda- toolkit, and error disappear. |