[theano-users] Re: Implementing a GPU op

2017-07-26 Thread Pascal Lamblin
Indeed, there was an issue when using a later version of libgpuarray with the released version 0.9 of Theano. This should be fixed when libgpuarray 0.6.9 is available. See https://github.com/Theano/Theano/issues/6141 On Sunday, July 16, 2017 at 7:15:51 AM UTC-4, Christopher Bourez wrote: > >

[theano-users] Re: Implementing a GPU op

2017-07-19 Thread John Coolidge
Oh man, so glad I randomly clicked on your your message! I just wrote a post about the same problem, except I was getting the segmentation fault while simply trying to run some old code on the GPU with the new GPU backend. I also use anaconda and using the init_gpu_device flag instead of the

[theano-users] Re: Implementing a GPU op

2017-07-16 Thread Christopher Bourez
Moreover if you install Theano from scratch : conda install theano pygpu Fetching package metadata . Solving package specifications: . Package plan for installation in environment /root/miniconda2: The following NEW packages will be INSTALLED: libgpuarray: 0.6.8-0 pygpu:

[theano-users] Re: Implementing a GPU op

2017-07-16 Thread Christopher Bourez
I found another server on which the code works as on your computer : Using cuDNN version 5110 on context None Preallocating 9151/11439 Mb (0.80) on cuda0 Mapped name None to device cuda0: Tesla K80 (:83:00.0) GpuEye{dtype='float32', context_name=None} [id A] '' |x [id B] |y [id C]

[theano-users] Re: Implementing a GPU op

2017-07-16 Thread Christopher Bourez
On Sunday, July 16, 2017 at 1:43:41 AM UTC+2, Pascal Lamblin wrote: > > Your original example seems to work for me, though, so it may have to do > with your setup: > I got it work when I removed device and contexts flags from my theanorc config file and used the command

[theano-users] Re: Implementing a GPU op

2017-07-15 Thread Pascal Lamblin
On Wednesday, July 12, 2017 at 4:13:43 AM UTC-4, Christopher Bourez wrote: > > I don't know what you mean by "not modifying" the source for GpuEye: > - In this example, I'm importing a not modifyed GpuEye op from Theano > basic ops > - If I'm using theano.tensor.eye, then it does not use the

[theano-users] Re: Implementing a GPU op

2017-07-12 Thread Christopher Bourez
What surprises me is to get seg faults in the theano function, while I would have expected them to occur during evaluation on values... On Wednesday, July 12, 2017 at 10:05:30 AM UTC+2, Christopher Bourez wrote: > > A second thing that is not clear to me in the documentation of Theano is > how

[theano-users] Re: Implementing a GPU op

2017-07-12 Thread Christopher Bourez
A second thing that is not clear to me in the documentation of Theano is how you specify a C implementation and GPU implementation of the same own op. Thank you On Wednesday, July 12, 2017 at 9:58:34 AM UTC+2, Christopher Bourez wrote: > > I've also tried to create an example with

[theano-users] Re: Implementing a GPU op

2017-07-12 Thread Christopher Bourez
I don't know what you mean by "not modifying" the source for GpuEye: - In this example, I'm importing a not modifyed GpuEye op from Theano basic ops - If I'm using theano.tensor.eye, then it does not use the GpuEye Also, are you sure this test

[theano-users] Re: Implementing a GPU op

2017-07-11 Thread Pascal Lamblin
Does it work if you do not modify the source for GpuEye at all? If it does, then maybe sharing your new source would get you more help. On Tuesday, July 11, 2017 at 12:12:03 PM UTC-4, Christopher Bourez wrote: > > Hi, > > I'm trying to implement a simple GPU op but it always gives me a >