Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDArray: CUDA back-end not available, using NumPy #65

Open
00fq00 opened this issue Sep 2, 2016 · 5 comments
Open

CUDArray: CUDA back-end not available, using NumPy #65

00fq00 opened this issue Sep 2, 2016 · 5 comments

Comments

@00fq00
Copy link

00fq00 commented Sep 2, 2016

I've installed cudarray, But Still says CUDArray: CUDA back-end not available, using NumPy,I'm sure my rLD_LIBRARY_PATH points to libcudarray.so ,but it doesn't work

PATH=/usr/local/cuda-7.5/bin:/usr/local/bin

Python 2.7.5 (default, Aug  9 2016, 05:27:46) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cudarray
CUDArray: CUDA back-end not available, using NumPy.
>>> 
@oscarriddle
Copy link

Hi, @00fq00
I think this is because incorrect cudarray installation.
Please include below to /etc/profile and clone a new cudarray repo and reinstall it.

export INSTALL_PREFIX=/usr/local export CUDA_PREFIX=/usr/local/cuda export CUDNN_ENABLED=1

Thanks,

@mxchinegod
Copy link

@oscarriddle Hello, I had this same issue and unfortunately changing the environment variables didn't fix it.

@endymion
Copy link

I have the same issue as lots of people have had. I thought that the problem might be that the CUDArray build assumes that the CUDA libraries are available in /usr/local/cuda/lib. On my setup there is no such folder. I symlinked /usr/local/cuda/lib64 to /usr/local/cuda/lib and rebuilt CUDArrary.

But that did not fix the problem. CUDArray is just proxying through to NymPy.

I'm setting INSTALL_PREFIX, CUDA_PREFIX, CUDNN_ENABLED, and even LD_LIBRARY_PATH. Doesn't work. No indication about why until you run it and it proxies through to NumPy.

@bradasteiner
Copy link

I am running into the same issue. Has anyone been able to resolve it?

@BaqarAbbas55
Copy link

Hi, I know this is a fairly old post but I am trying to implement the same work you did by installing CUDArray but unfortunately couldn't.
I am using pycharm to run my python projects on a windows based machine and after running in C:\user\anaconda3 -
python setup.py install
it runs totally fine. Then I install deeppy in C:\user\anaconda3 folder again, runs well. But when it comes to running celeba-aegan.py, I get the message.
CUDA-backend not available using numpy.

Now, my problems constitute,

  1. I don't know where to pass those prefix and make info.
  2. Do I have to copy everything both cudarray and deeppy in anaconda3 for the installation.

I have been stuck at this so long and before coming here I did a lot of research to avoid bothering you.

I hope you understand.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants