小编Axe*_*lin的帖子

Theano-pyGpuArray找不到libnvrtc.so

我最近更改了配置,以便更快地训练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) …
Run Code Online (Sandbox Code Playgroud)

cuda theano gpuarray

5
推荐指数
0
解决办法
2302
查看次数

标签 统计

cuda ×1

gpuarray ×1

theano ×1