Okay, I just saw gh-6363.
On Sunday, September 3, 2017 at 5:52:11 PM UTC+8, Adam Becker wrote:
>
> Hi,
>
> I just updated Theano/gpuarray to bleeding edge git clone.
>
> I got this:
>
> khaotik@KKST:~/WKSP_DL/research$ python3
> Python 3.6.1 |Anaconda 4.4.0 (64-bit)| (default, May 11 2017, 13:09:58)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pygpu as pg
> >>> pg.gpuarray.api_version()
> (2, 0)
> >>> import theano as th
> ERROR (theano.gpuarray): Could not initialize pygpu, support disabled
> Traceback (most recent call last):
> File "/home/khaotik/WKSP_DL/dev/Theano/theano/gpuarray/__init__.py",
> line 179, in <module>
> use(config.device)
> File "/home/khaotik/WKSP_DL/dev/Theano/theano/gpuarray/__init__.py",
> line 166, in use
> init_dev(device, preallocate=preallocate)
> File "/home/khaotik/WKSP_DL/dev/Theano/theano/gpuarray/__init__.py",
> line 55, in init_dev
> "Your installed libgpuarray is not in sync, please make sure to have
> the appropriate version")
> ValueError: Your installed libgpuarray is not in sync, please make sure
> to have the appropriate version
>
> Here goes the responsible code:
>
> # theano/gpuarray/__init__.py [LINE 43]
>
> def init_dev(dev, name=None, preallocate=None):
> global pygpu_activated
> if not config.cxx:
> raise RuntimeError("The new gpu-backend need a c++ compiler.")
> if (pygpu.version.major, pygpu.version.minor, pygpu.version.patch) < (
> 0, 6, 1):
> raise ValueError(
> "Your installed version of pygpu is too old, please upgrade
> to 0.6.1 or later")
> # This is for the C headers API, we need to match the exact version.
> if pygpu.gpuarray.api_version()[0] != 1:
> raise ValueError(
> "Your installed libgpuarray is not in sync, please make sure
> to have the appropriate version")
> if dev not in init_dev.devmap:
>
> # <...>
>
>
> Am I missing something here, or shall I wait for a particular update?
>
> Thanks.
>
--
---
You received this message because you are subscribed to the Google Groups
"theano-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.