Theano-pyGpuArray找不到libnvrtc.so

Axe*_*lin 5 cuda theano gpuarray

我最近更改了配置,以便更快地训练CNN。我有一个gtx1080。对于我现有的大多数神经网络,我都通过python3使用theano后端。

自从我读过Pascal架构没有在CUDA 7.5中完全使用以来,我已经安装了CUDA 8和相应的cudnn6.X。

我的问题是以下,pygpuarray似乎无法找到“ libnvrtc.so”:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/theano/gpuarray/__init__.py", line 179, in <module>
    use(config.device)
  File "/usr/local/lib/python3.5/dist-packages/theano/gpuarray/__init__.py", line 166, in use
    init_dev(device, preallocate=preallocate)
  File "/usr/local/lib/python3.5/dist-packages/theano/gpuarray/__init__.py", line 65, in init_dev
    sched=config.gpuarray.sched)
  File "pygpu/gpuarray.pyx", line 634, in pygpu.gpuarray.init (pygpu/gpuarray.c:9428)
  File "pygpu/gpuarray.pyx", line 584, in pygpu.gpuarray.pygpu_init (pygpu/gpuarray.c:9119)
  File "pygpu/gpuarray.pyx", line 1057, in pygpu.gpuarray.GpuContext.__cinit__ (pygpu/gpuarray.c:13421)
pygpu.gpuarray.GpuArrayException: b'Could not load "libnvrtc.so": libnvrtc.so: cannot open shared object file: No such file or directory'
Run Code Online (Sandbox Code Playgroud)

我很确定已经安装了cuda,这是nvcc --version输出:

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Tue_Jan_10_13:22:03_CST_2017
Cuda compilation tools, release 8.0, V8.0.61
Run Code Online (Sandbox Code Playgroud)

而且我在/usr/local/cuda-8.0/lib64中找到了该文件

奇怪的是,“ ldconfig -p | grep libnvcc”命令什么也不返回...

我希望这篇文章在其他任何地方都不会出现,为了防止这种情况,我进行了一些搜索,但您知道,互联网非常庞大。

问我是否需要更多信息。由于我没有设法解决此问题,因此我显然不知道解决该问题所需的信息,因此我制作了这张小履历表以等待您的提问(如果需要)。